From e7cd631693b8adc12e74dd286a0f60d4d03e3c0e Mon Sep 17 00:00:00 2001 From: Tomas Guisasola Date: Fri, 10 Jun 2005 13:23:14 +0000 Subject: Removing rule to build static library. Cleaning unused libraries in library build. --- lualdap/Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'lualdap/Makefile') diff --git a/lualdap/Makefile b/lualdap/Makefile index e2e659c..0ff86a2 100755 --- a/lualdap/Makefile +++ b/lualdap/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.24 2005-06-07 17:06:30 tomas Exp $ +# $Id: Makefile,v 1.25 2005-06-10 13:23:14 tomas Exp $ T= lualdap V= 1.0 @@ -6,29 +6,19 @@ CONFIG= ./config include $(CONFIG) -AR= ar rcu -RANLIB= ranlib - OBJS= src/lualdap.o $(COMPAT_DIR)/compat-5.1.o -LIB= src/lib$T-$V.a -dynamic: src/$(LIBNAME) src/$(LIBNAME): $(OBJS) export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -lldap -lib: $(LIB) - $(LIB): $(OBJS) - $(AR) $@ $(OBJS) - $(RANLIB) $@ - $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c -install: dynamic src/$(LIBNAME) +install: src/$(LIBNAME) mkdir -p $(LUA_LIBDIR) cp src/$(LIBNAME) $(LUA_LIBDIR) ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so clean: - rm -f $(OBJS) $(LIB) src/$(LIBNAME) + rm -f $(OBJS) src/$(LIBNAME) -- cgit v1.2.3-59-g8ed1b