summaryrefslogtreecommitdiffstats
path: root/examples/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-25 14:08:30 +0000
committerGerald Carter <jerry@samba.org>2005-02-25 14:08:30 +0000
commit70cd25be8b07743816b9376f9d219453f0f906fc (patch)
tree073f3d33dac8c96b0d4c7b809b3dc86b91023214 /examples/auth
parent1d58e0d7811acc335f09128ae757f5f76a51644d (diff)
downloadsamba-70cd25be8b07743816b9376f9d219453f0f906fc.tar.gz
samba-70cd25be8b07743816b9376f9d219453f0f906fc.tar.xz
samba-70cd25be8b07743816b9376f9d219453f0f906fc.zip
r5555: current with 3.0 tree as of r5548; getting ready for 3.0.12pre1
Diffstat (limited to 'examples/auth')
-rw-r--r--examples/auth/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/auth/Makefile b/examples/auth/Makefile
index 21d18de0758..d6dbc28f40e 100644
--- a/examples/auth/Makefile
+++ b/examples/auth/Makefile
@@ -9,7 +9,7 @@ SAMBA_INCL = ../../source/include
UBIQX_SRC = ../../source/ubiqx
SMBWR_SRC = ../../source/smbwrapper
CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -Wall -g
-AUTH_OBJS = auth_skel.so
+AUTH_OBJS = auth_skel.la
# Default target
@@ -17,8 +17,8 @@ default: $(AUTH_OBJS)
# Pattern rules
-%.so: %.lo
- $(LIBTOOL) --mode=link $(CC) -shared -o $@ $< $(LDFLAGS)
+%.la: %.lo
+ $(LIBTOOL) --mode=link $(CC) -module -o $@ $< $(LDFLAGS)
%.lo: %.c
$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
@@ -28,4 +28,4 @@ default: $(AUTH_OBJS)
clean:
rm -rf .libs
rm -f core *~ *% *.bak \
- $(AUTH_OBJS) $(AUTH_OBJS:.so=.o) $(AUTH_OBJS:.so=.lo)
+ $(AUTH_OBJS) $(AUTH_OBJS:.la=.o) $(AUTH_OBJS:.la=.lo)