Misc cleanup

This commit is contained in:
Jong Hyuk Choi 2004-10-27 22:39:54 +00:00
parent bc23f5d1dc
commit d16c45d147

View File

@ -17,10 +17,10 @@
topbuilddir = ../../../../build topbuilddir = ../../../../build
topsrcdir = ../../.. topsrcdir = ../../..
snaccdir = /home/slim/snacc snaccdir = /usr/local/snacc
LIBTOOL=$(topbuilddir)/libtool LIBTOOL=$(topbuilddir)/libtool
OPT=-g -finstrument-functions -DLDAP_COMPONENT OPT=-g -O2 -DLDAP_COMPONENT
CC=gcc CC=gcc
SNACC_INC=-I$(snaccdir) -I$(snaccdir)/c-lib/inc SNACC_INC=-I$(snaccdir) -I$(snaccdir)/c-lib/inc
@ -31,7 +31,7 @@ INCS=$(LDAP_INC) $(SNACC_INC)
SNACC_LIB=$(snaccdir)/c-lib/libcasn1.a SNACC_LIB=$(snaccdir)/c-lib/libcasn1.a
SSL_LIB=-lcrypto SSL_LIB=-lcrypto
LDAP_LIB=-lldap_r -llber LDAP_LIB=-lldap_r -llber
LIBS=$(LDAP_LIB) $(SNACC_LIB) $(SSL_LIB) /home/slim/local/lib/libfnccheck.a LIBS=$(LDAP_LIB) $(SNACC_LIB) $(SSL_LIB)
all: compmatch.la all: compmatch.la
@ -50,7 +50,7 @@ init.lo: init.c
compmatch.la: componentlib.lo init.lo certificate.lo asn_to_syn_mr.lo compmatch.la: componentlib.lo init.lo certificate.lo asn_to_syn_mr.lo
$(LIBTOOL) --mode=link $(CC) $(OPT) $(LIBS) -version-info 0:0:0 \ $(LIBTOOL) --mode=link $(CC) $(OPT) $(LIBS) -version-info 0:0:0 \
-rpath /home/slim/ldap/local/libexec/openldap -module -o $@ $? $(LIBS) -rpath /usr/local/libexec/openldap -module -o $@ $? $(LIBS)
clean: clean:
\rm compmatch.la componentlib.lo certificate.lo asn_to_syn_mr.lo\ \rm compmatch.la componentlib.lo certificate.lo asn_to_syn_mr.lo\