diff options
author | Tomas Guisasola <tomas@luaforge.net> | 2005-06-10 13:23:14 +0000 |
---|---|---|
committer | Tomas Guisasola <tomas@luaforge.net> | 2005-06-10 13:23:14 +0000 |
commit | e7cd631693b8adc12e74dd286a0f60d4d03e3c0e (patch) | |
tree | 5829c537342212583953732e38ac50a55bac43e9 /lualdap | |
parent | Enhancing error message when there is no connection. (diff) | |
download | lualdap-e7cd631693b8adc12e74dd286a0f60d4d03e3c0e.tar.xz lualdap-e7cd631693b8adc12e74dd286a0f60d4d03e3c0e.zip |
Removing rule to build static library.
Cleaning unused libraries in library build.
Diffstat (limited to 'lualdap')
-rwxr-xr-x | lualdap/Makefile | 16 | ||||
-rwxr-xr-x | lualdap/config | 6 |
2 files changed, 4 insertions, 18 deletions
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) diff --git a/lualdap/config b/lualdap/config index 820ff2a..fac8ca1 100755 --- a/lualdap/config +++ b/lualdap/config @@ -14,13 +14,9 @@ LIBNAME= lib$T-$V.so COMPAT_DIR= ../compat/src # Compilation parameters -# On FreeBSD systems, the following line should be commented -DLLIB= -ldl -#LUA_LIBS= -L/usr/lib -llua50 -lm WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -ansi INCS= -I$(LUA_INC) -I$(OPENLDAP_INC) -I$(COMPAT_DIR) -LIBS= $(LUA_LIBS) $(DLLIB) CFLAGS= $(WARN) $(INCS) CC= gcc -# $Id: config,v 1.1 2005-06-05 00:38:22 tomas Exp $ +# $Id: config,v 1.2 2005-06-10 13:23:14 tomas Exp $ |