summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-14 03:47:44 +0200
committerGravatar Martin Szulecki2014-10-14 03:47:44 +0200
commit4d5e3134069a3223609efd78c6b2d47216151e42 (patch)
tree6c5fbb146d47e44f71ad91f3b74b666f5e8258d1
parenta8fdff1b46f520da9b4f8926436706f4ef914fe0 (diff)
downloadusbmuxd-4d5e3134069a3223609efd78c6b2d47216151e42.tar.gz
usbmuxd-4d5e3134069a3223609efd78c6b2d47216151e42.tar.bz2
Slightly clean up CFLAGS in Makefile.am
-rw-r--r--src/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 38858c4..fb342cc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,8 +1,12 @@
-AM_CFLAGS = $(GLOBAL_CFLAGS) -I$(top_srcdir)/src $(libplist_CFLAGS) $(libusb_CFLAGS) $(libimobildevice_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+
+AM_CFLAGS = $(GLOBAL_CFLAGS) $(libplist_CFLAGS) $(libusb_CFLAGS) $(libimobildevice_CFLAGS)
AM_LDFLAGS = $(libplist_LIBS) $(libusb_LIBS) $(libimobiledevice_LIBS) $(libpthread_LIBS)
sbin_PROGRAMS = usbmuxd
+usbmuxd_CFLAGS = $(AM_CFLAGS)
+usbmuxd_LDFLAGS = $(AM_LDFLAGS) -no-undefined
usbmuxd_SOURCES = client.c client.h \
device.c device.h \
preflight.c preflight.h \
@@ -11,6 +15,3 @@ usbmuxd_SOURCES = client.c client.h \
utils.c utils.h \
conf.c conf.h \
main.c
-usbmuxd_CFLAGS = $(AM_CFLAGS)
-usbmuxd_LDFLAGS = $(AM_LDFLAGS)
-