summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/smbwrapper/Makefile
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-03-30 02:39:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:23 -0500
commit7387dab585dadf710dbb72ddd211db1a1ba725c7 (patch)
tree11abe1c08d0fecc7c9b7e666889c75df2e9e7829 /examples/libsmbclient/smbwrapper/Makefile
parent1635d50a20fb03b402465731494826471efc8f88 (diff)
downloadsamba-7387dab585dadf710dbb72ddd211db1a1ba725c7.tar.gz
samba-7387dab585dadf710dbb72ddd211db1a1ba725c7.tar.bz2
samba-7387dab585dadf710dbb72ddd211db1a1ba725c7.zip
r6126: added utility for testing smbc_stat()
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)
Diffstat (limited to 'examples/libsmbclient/smbwrapper/Makefile')
-rw-r--r--examples/libsmbclient/smbwrapper/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/libsmbclient/smbwrapper/Makefile b/examples/libsmbclient/smbwrapper/Makefile
index 099c204986..8e7070cb59 100644
--- a/examples/libsmbclient/smbwrapper/Makefile
+++ b/examples/libsmbclient/smbwrapper/Makefile
@@ -3,7 +3,7 @@ DEFS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
-LDFLAGS = -L/usr/lib
+LDFLAGS = -L/usr/local/samba/lib
SMBINCLUDE = -I../../../source/include
CFLAGS= -fpic -g -O0 $(DEFS) $(SMBINCLUDE)
@@ -22,11 +22,12 @@ $(BIN)/smbwrapper.so: $(SMBWRAPPER_OBJS)
--export-all-symbols \
-o $(BIN)/smbwrapper.so \
$(SMBWRAPPER_OBJS) \
+ $(LDFLAGS) \
$(LIBS) \
-Wl,-soname=`basename $@`
$(BIN)/smbsh: $(SMBSH_OBJS)
- $(CC) -g -o $(BIN)/smbsh $(SMBSH_OBJS) $(LIBS)
+ $(CC) -g -o $(BIN)/smbsh $(SMBSH_OBJS) $(LIBS) $(LDFLAGS)
opendir_smbsh: opendir_smbsh.o
$(CC) -g -o opendir_smbsh opendir_smbsh.o $(LIBS) $(DMALLOC)