summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-11-13 21:42:07 +0000
committerRichard Sharpe <sharpe@samba.org>2003-11-13 21:42:07 +0000
commit716dd32809b1fe2e6a836700297145c170d103c0 (patch)
tree860e37e4c941d1541a8b46676ced0ce123f709ba /examples
parentd3d4c7446e43a484535ea05a6fb3234d78199e95 (diff)
downloadsamba-716dd32809b1fe2e6a836700297145c170d103c0.tar.gz
samba-716dd32809b1fe2e6a836700297145c170d103c0.tar.bz2
samba-716dd32809b1fe2e6a836700297145c170d103c0.zip
Update Makefile ...
(This used to be commit b92fd87b2461dff0e05ad4a7b0a475539c21d4c0)
Diffstat (limited to 'examples')
-rw-r--r--examples/libsmbclient/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 5fe9977c0a..c84cc3c977 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -2,12 +2,15 @@
CC = gcc
SAMBA_INCL = ../../source/include
+EXTLIB_INCL = -I/usr/include/gtk-1.2 \
+ -I/usr/include/glib-1.2 \
+ -I/usr/lib/glib/include
-CFLAGS = -I$(SAMBA_INCL)
+CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
LDFLAGS = -L/usr/lib
-all: testsmbc tree
+all: testsmbc tree testacl
testsmbc: testsmbc.o
@echo Linking testsmbc
@@ -21,5 +24,9 @@ tree: tree.o
@echo Linking tree
@$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $<
+testacl: testacl.o
+ @echo Linking testacl
+ @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient -lpopt $<
+
clean:
@rm -f *.o *~