summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-07 09:51:59 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-07 09:51:59 +0000
commitab0ca0f0b2f58cd1e37a3ec12113bb83e211ef71 (patch)
treef7ed98ff0aa0b6fd891061d9b828740b4279f4fb /source3/Makefile.in
parent7a0af712b0752c2cc14da98843d03683c4d7e216 (diff)
downloadsamba-ab0ca0f0b2f58cd1e37a3ec12113bb83e211ef71.tar.gz
samba-ab0ca0f0b2f58cd1e37a3ec12113bb83e211ef71.tar.bz2
samba-ab0ca0f0b2f58cd1e37a3ec12113bb83e211ef71.zip
Patch from Steve Langasek <vorlon@netexpress.net> to split up our -l
dependencies. This benifits packagers (like debian) becouse then our client code won't have references to 'server only' libraries. (In particular, it removes the client dependency on CUPS, which was raised in a debian bug report). Andrew Bartlett (This used to be commit d5f2e33b34fe0e67153894b6bf582b7eaca40e7f)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b7178e1907..aeb4ac1ce3 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -22,6 +22,10 @@ DYNEXP=@DYNEXP@
TERMLDFLAGS=@TERMLDFLAGS@
TERMLIBS=@TERMLIBS@
+PRINTLIBS=@PRINTLIBS@
+
+SMBDLIBS=$(PRINTLIBS) @SMBDLIBS@
+
LINK=$(CC) $(FLAGS) $(LDFLAGS)
INSTALLCMD=@INSTALL@
@@ -609,7 +613,7 @@ bin/.dummy:
bin/smbd: $(SMBD_OBJ) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
+ @$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(SMBDLIBS) $(LIBS)
bin/nmbd: $(NMBD_OBJ) bin/.dummy
@echo Linking $@
@@ -621,7 +625,7 @@ bin/wrepld: $(WREPL_OBJ) bin/.dummy
bin/swat: $(SWAT_OBJ) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
+ @$(CC) $(FLAGS) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINTLIBS) $(LIBS)
bin/rpcclient: $(RPCCLIENT_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@
@@ -661,7 +665,7 @@ bin/testparm: $(TESTPARM_OBJ) bin/.dummy
bin/testprns: $(TESTPRNS_OBJ) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(TESTPRNS_OBJ) $(LDFLAGS) $(LIBS)
+ @$(CC) $(FLAGS) -o $@ $(TESTPRNS_OBJ) $(LDFLAGS) $(PRINTLIBS) $(LIBS)
bin/smbstatus: $(STATUS_OBJ) @BUILD_POPT@ bin/.dummy
@echo Linking $@