summaryrefslogtreecommitdiffstats
path: root/worker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'worker/Makefile')
-rw-r--r--worker/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker/Makefile b/worker/Makefile
index 94d2978..2393054 100644
--- a/worker/Makefile
+++ b/worker/Makefile
@@ -1,4 +1,5 @@
SSSD_PATH=../../freeipa/sssd/server
+SSSD_INCLUDE=-I$(SSSD_PATH) -I$(SSSD_PATH)/../replace
UTIL_OBJ = \
$(SSSD_PATH)/util/debug.o \
$(SSSD_PATH)/util/signal.o \
@@ -11,7 +12,7 @@ UTIL_OBJ = \
$(SSSD_PATH)/sbus/sssd_dbus_connection.o \
$(SSSD_PATH)/sbus/sssd_dbus_server.o
-CFLAGS=-I/tmp/foo/include -Wall -Werror `xml2-config --cflags` `xslt-config --cflags` `curl-config --cflags` `pkg-config --cflags dbus-1` -g
+CFLAGS=$(SSSD_INCLUDE) -I/tmp/foo/include -Wall -Werror `xml2-config --cflags` `xslt-config --cflags` `curl-config --cflags` `pkg-config --cflags dbus-1` -g
LDFLAGS=-L/tmp/foo/lib `xml2-config --libs` `xslt-config --libs` `curl-config --libs` `pkg-config --libs dbus-1`-lpopt -g $(UTIL_OBJ) -ltalloc -lldb -levents
INDENTFLAGS=-kr -nut -l80