summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/tests
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-17 18:05:35 +0200
committerGünther Deschner <gd@samba.org>2008-09-17 18:05:54 +0200
commitc91a9076881f36126e2524d48844a757d947d51d (patch)
tree762a0f1aec000cc251d43ccf6c0c44ad760f5953 /source3/lib/netapi/tests
parent747f4b358c306b3a5ff78966c97adf269b5b843e (diff)
downloadsamba-c91a9076881f36126e2524d48844a757d947d51d.tar.gz
samba-c91a9076881f36126e2524d48844a757d947d51d.tar.bz2
samba-c91a9076881f36126e2524d48844a757d947d51d.zip
build: fix cflag recursion in generated netapi makefiles.
Guenther
Diffstat (limited to 'source3/lib/netapi/tests')
-rw-r--r--source3/lib/netapi/tests/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/tests/Makefile.in b/source3/lib/netapi/tests/Makefile.in
index d3f0663908..0145753212 100644
--- a/source3/lib/netapi/tests/Makefile.in
+++ b/source3/lib/netapi/tests/Makefile.in
@@ -2,7 +2,7 @@ KRB5LIBS=@KRB5_LIBS@
LDAP_LIBS=@LDAP_LIBS@
LIBS=@LIBS@ -lnetapi -ltdb -ltalloc
DEVELOPER_CFLAGS=@DEVELOPER_CFLAGS@
-FLAGS=-I../ -L../../../bin @CFLAGS@ $(GTK_FLAGS)
+CCFLAGS=-I../ -L../../../bin @CFLAGS@ $(GTK_FLAGS)
CC=@CC@
PICFLAG=@PICFLAG@
LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@
@@ -11,7 +11,7 @@ NETAPI_LIBS=$(LIBS) $(KRB5LIBS) $(LDAP_LIBS)
CMDLINE_LIBS=$(NETAPI_LIBS) @POPTLIBS@
# Compile a source file.
-COMPILE_CC = $(CC) -I. $(FLAGS) $(PICFLAG) -c $< -o $@
+COMPILE_CC = $(CC) -I. $(CCFLAGS) $(PICFLAG) -c $< -o $@
COMPILE = $(COMPILE_CC)
PROGS = bin/netapitest@EXEEXT@
@@ -48,7 +48,7 @@ NETAPITEST_OBJ = netapitest.o netlocalgroup.o netuser.o netgroup.o netdisplay.o
bin/netapitest@EXEEXT@: $(BINARY_PREREQS) $(NETAPITEST_OBJ)
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(NETAPITEST_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
+ @$(CC) $(CCFLAGS) -o $@ $(NETAPITEST_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
clean:
-rm -f $(PROGS)