diff options
author | cvs2svn Import User <samba-bugs@samba.org> | 2001-06-30 11:08:07 +0000 |
---|---|---|
committer | cvs2svn Import User <samba-bugs@samba.org> | 2001-06-30 11:08:07 +0000 |
commit | 6432c5be82d81a123b284224f4503e0ed49a7f58 (patch) | |
tree | 240b6e07cb5679914e7d5396019d38649ec89ac3 /examples | |
parent | ff1df203f5a3154c90343d893e48b38a227eb001 (diff) | |
parent | 93c45024cdbbf51322106e2a5961db8c09618833 (diff) | |
download | samba-6432c5be82d81a123b284224f4503e0ed49a7f58.tar.gz samba-6432c5be82d81a123b284224f4503e0ed49a7f58.tar.xz samba-6432c5be82d81a123b284224f4503e0ed49a7f58.zip |
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libsmbclient/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile new file mode 100644 index 00000000000..8c1def8a162 --- /dev/null +++ b/examples/libsmbclient/Makefile @@ -0,0 +1,25 @@ +# +CC = gcc + +SAMBA_INCL = ../../source/include + +CFLAGS = -I$(SAMBA_INCL) + +LDFLAGS = -L/usr/lib + +all: testsmbc tree + +testsmbc: testsmbc.o + @echo Linking testsmbc + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient + +testsmbc-static: testsmbc.o + @echo Linking testsmbc + @$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $< -lsmbclient -ldl -lnsl + +tree: tree.o + @echo Linking tree + @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $< + +clean: + @rm -f *.o *~ |