From 9840c962ac62539eace7b0f5c6d0deb5ad655e87 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 24 Jul 2008 11:56:20 -0700 Subject: Use sys_getgrnam not getgrnam. Pointed out by Herb. Jeremy. (cherry picked from commit 2518197d7f3833b5d85fe42b05b51d89fa69eb75) --- examples/libsmbclient/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/libsmbclient') diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile index a50e80a9189..50a690c68eb 100644 --- a/examples/libsmbclient/Makefile +++ b/examples/libsmbclient/Makefile @@ -5,7 +5,7 @@ SAMBA_INCL = -I/usr/local/samba/include EXTLIB_INCL = -I/usr/include/gtk-1.2 \ -I/usr/include/glib-1.2 \ -I/usr/lib/glib/include -EXTLIB_INCL = `gtk-config --cflags` +#EXTLIB_INCL = `gtk-config --cflags` DEFS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE CFLAGS = -O0 -g $(SAMBA_INCL) $(EXTLIB_INCL) $(DEFS) @@ -28,7 +28,8 @@ TESTS= testsmbc \ testchmod \ testutime \ testread \ - testwrite + testwrite \ + libsmbclient.c # tree \ @@ -94,6 +95,10 @@ testwrite: testwrite.o @echo Linking testwrite $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt +libsmbclient: libsmbclient.o + @echo Linking libsmbclient + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt + smbsh: make -C smbwrapper -- cgit v1.2.1