summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: a7e0778fa7e5794e29e698ba461260984b6ff31d (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
AM_CFLAGS =			\
	$(GLOBAL_CFLAGS)	\
	$(libimobiledevice_CFLAGS)	\
	$(libglib2_CFLAGS)	\
	$(libgthread2_CFLAGS)	\
	$(libplist_CFLAGS)	\
	$(libclutter_CFLAGS)	\
	$(libcluttergtk_CFLAGS)	\
	$(libgtk_CFLAGS)	\
	$(libgdkpixbuf_CFLAGS)	\
	-DSBMGR_DATA=\"$(pkgdatadir)\"

AM_LDFLAGS =			\
	$(libimobiledevice_LIBS)	\
	$(libglib2_LIBS)	\
	$(libgthread2_LIBS)	\
	$(libplist_LIBS)	\
	$(libclutter_LIBS)	\
	$(libcluttergtk_LIBS)	\
	$(libgtk_LIBS)		\
	$(libgdkpixbuf_LIBS)

bin_PROGRAMS = sbmanager

noinst_LTLIBRARIES = libsbmanager.la
libsbmanager_la_SOURCES = device.c device.h \
			utility.c utility.h \
			gui.c gui.h \
			sbitem.c sbitem.h \
			sbmgr.c sbmgr.h
libsbmanager_la_CFLAGS = $(AM_CFLAGS)
libsbmanager_la_LIBADD = $(AM_LDFLAGS)

sbmanager_SOURCES = main.c
sbmanager_CFLAGS = $(AM_CFLAGS)
sbmanager_LDFLAGS = $(AM_LDFLAGS)
sbmanager_LDADD = libsbmanager.la