summaryrefslogtreecommitdiff
path: root/src/daemon/Makefile.am
blob: 9d4562264e52f3bf556aaf8aaaa46e0f12bc1f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
SUBDIRS = db dbus plugins
NULL=

bin_PROGRAMS = gsignond

BUILT_SOURCES = \
    gsignond-identity-enum-types.h \
    gsignond-identity-enum-types.c \
    $(NULL)

gsignond-identity-enum-types.h: $(top_srcdir)/src/common/gsignond-enum.h.template gsignond-identity.h
	$(GLIB_MKENUMS) --template $(top_srcdir)/src/common/gsignond-enum.h.template \
                    --fhead "#ifndef GSIGNOND_IDENTITY_ENUM_TYPES_H_\n#define GSIGNOND_IDENTITY_ENUM_TYPES_H_\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS" \
                    --identifier-prefix gsignond \
                    --ftail "\nG_END_DECLS\n\n#endif\n" \
                    gsignond-identity.h > $@

gsignond-identity-enum-types.c: $(top_srcdir)/src/common/gsignond-enum.c.template gsignond-identity.h
	$(GLIB_MKENUMS) --template $(top_srcdir)/src/common/gsignond-enum.c.template \
                    --fhead "#include \"gsignond-identity-enum-types.h\"\n" \
                    --identifier-prefix gsignond \
                    gsignond-identity.h > $@

gsignond_includedir = $(includedir)/gsignond
gsignond_pubhdr = ../../include/gsignond
gsignond_include_HEADERS = \
	$(gsignond_pubhdr)/gsignond-access-control-manager.h \
	$(gsignond_pubhdr)/gsignond-config-db.h \
	$(gsignond_pubhdr)/gsignond-config-dbus.h \
	$(gsignond_pubhdr)/gsignond-config-general.h \
	$(gsignond_pubhdr)/gsignond-config.h \
	$(gsignond_pubhdr)/gsignond-credentials.h \
	$(gsignond_pubhdr)/gsignond-dictionary.h \
	$(gsignond_pubhdr)/gsignond-error.h \
	$(gsignond_pubhdr)/gsignond-extension-interface.h \
	$(gsignond_pubhdr)/gsignond-identity-info.h \
	$(gsignond_pubhdr)/gsignond-log.h \
	$(gsignond_pubhdr)/gsignond-plugin-interface.h \
	$(gsignond_pubhdr)/gsignond-secret-storage.h \
	$(gsignond_pubhdr)/gsignond-security-context.h \
	$(gsignond_pubhdr)/gsignond-session-data.h \
	$(gsignond_pubhdr)/gsignond-signonui-data.h \
	$(gsignond_pubhdr)/gsignond-signonui.h \
	$(gsignond_pubhdr)/gsignond-storage-manager.h \
	$(gsignond_pubhdr)/gsignond-utils.h

gsignond_SOURCES = \
    main.c \
    gsignond-auth-session.c \
    gsignond-auth-session.h \
    gsignond-daemon.c \
    gsignond-daemon.h \
    gsignond-identity.c \
    gsignond-identity.h \
    gsignond-signonui-proxy.c \
    gsignond-signonui-proxy.h \
    gsignond-types.h \
    $(BUILT_SOURCES) \
    $(NULL)

gsignond_CFLAGS = \
    -I$(top_builddir) \
    -I$(top_srcdir)/include/ \
    -I$(top_srcdir)/src/ \
    $(GSIGNOND_CFLAGS) \
    $(NULL)

gsignond_LDADD = \
    $(top_builddir)/src/common/libgsignond-common.la \
    $(top_builddir)/src/daemon/db/libgsignond-db.la \
    $(top_builddir)/src/daemon/dbus/libgsignond-dbus.la \
    $(top_builddir)/src/daemon/plugins/libgsignond-plugins.la \
    $(GSIGNOND_LIBS) \
    $(NULL)