-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
86 lines (66 loc) · 1.56 KB
/
Makefile.am
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
76
77
78
79
80
81
82
83
84
85
86
# declare vars
AM_CFLAGS = -std=gnu99 -fstack-protector -Wall -pedantic \
-Wstrict-prototypes -Wundef -fno-common \
-Werror-implicit-function-declaration \
-Wformat -Wformat-security -Werror=format-security \
-Wconversion
AM_CPPFLAGS = \
-I $(top_srcdir)/src/include
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
include_HEADERS = \
src/include/iportal.h
EXTRA_DIST = \
src/core/org.example.Portal.Manager.xml
lib_LTLIBRARIES = \
libiportal.la
install-exec-hook:
chown root:root $(DESTDIR)$(bindir)/isandbox
chmod ug+s $(DESTDIR)$(bindir)/isandbox
portal-glue.h: src/core/org.example.Portal.Manager.xml
gdbus-codegen --generate-c-code portal-glue \
--c-namespace Portal \
--c-generate-object-manager \
--interface-prefix org.example.Portal \
$<
BUILT_SOURCES = \
portal-glue.h
bin_PROGRAMS = \
isandbox \
idemoapp \
iportald
libiportal_la_SOURCES = \
src/include/iportal.h \
src/core/iportal.c
libiportal_la_CFLAGS = \
$(GLIB_CFLAGS) \
$(GIO_UNIX_CFLAGS) \
$(AM_CFLAGS)
libiportal_la_LIBADD = \
$(GLIB_LIBS) \
$(GIO_UNIX_LIBS)
isandbox_SOURCES = \
src/sandbox/sandbox.c
isandbox_CFLAGS = \
$(AM_CFLAGS)
idemoapp_SOURCES = \
src/demo/idemo-app.c \
src/demo/idemo-app.h \
src/demo/idemo-app-main.c \
portal-glue.c
idemoapp_CFLAGS = \
$(GTK3_CFLAGS) \
$(AM_CFLAGS)
idemoapp_LDADD = \
$(GTK3_LIBS) \
$(GIO_UNIX_LIBS)
iportald_SOURCES = \
portal-glue.h \
portal-glue.c \
src/core/iportald.c
iportald_CFLAGS = \
$(GIO_UNIX_CFLAGS) \
$(GTK3_CFLAGS) \
$(AM_CFLAGS)
iportald_LDADD = \
$(GIO_UNIX_LIBS) \
$(GTK3_LIBS)