From 4d5e3134069a3223609efd78c6b2d47216151e42 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 14 Oct 2014 03:47:44 +0200 Subject: Slightly clean up CFLAGS in Makefile.am --- src/Makefile.am | 9 +++++---- 1 file 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) - -- cgit v1.1-32-gdbae