Commit d16c45d1 authored by Jong Hyuk Choi's avatar Jong Hyuk Choi
Browse files

Misc cleanup

parent bc23f5d1
...@@ -17,10 +17,10 @@ ...@@ -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) ...@@ -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 ...@@ -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\
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment