Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 327401
Collapse All | Expand All

(-)Makefile.am (-6 / +6 lines)
Lines 7-13 Link Here
7
7
8
libmodrev_la_SOURCES = mod_rev.c
8
libmodrev_la_SOURCES = mod_rev.c
9
9
10
libmodrev_la_LDFLAGS = -module -avoid-version
10
libmodrev_la_LDFLAGS = $(LDFLAGS) -module -avoid-version
11
11
12
INCLUDES = -I@apache_inc@ @nspr_inc@ @nss_inc@ @apr_inc@ -Imozilla/security/nss/lib/base @ldapsdk_inc@ -Imozilla/security/nss/lib/ckfw
12
INCLUDES = -I@apache_inc@ @nspr_inc@ @nss_inc@ @apr_inc@ -Imozilla/security/nss/lib/base @ldapsdk_inc@ -Imozilla/security/nss/lib/ckfw
13
LIBS = @ldapsdk_lib@ @nspr_lib@ @nss_lib@ @ldapsdk_libs_ssl@ -lssl3 -lsmime3 -lnss3 -lnssb @ldapsdk_libs@ -lplc4 -lplds4 -lnspr4 -lpthread -ldl
13
LIBS = @ldapsdk_lib@ @nspr_lib@ @nss_lib@ @ldapsdk_libs_ssl@ -lssl3 -lsmime3 -lnss3 -lnssb @ldapsdk_libs@ -lplc4 -lplds4 -lnspr4 -lpthread -ldl
Lines 38-45 Link Here
38
	-rpath $(libdir) $(librevocation_la_OBJECTS) $(librevocation_la_LIBADD) $(LIBS) libnssckfw2.a -lnssb
38
	-rpath $(libdir) $(librevocation_la_OBJECTS) $(librevocation_la_LIBADD) $(LIBS) libnssckfw2.a -lnssb
39
39
40
install-exec-local: all-local
40
install-exec-local: all-local
41
	install -m 755 ldapget $(bindir)
41
	install -D -m 755 ldapget $(DESTDIR)/$(bindir)
42
	install -m 755 crlhelper $(bindir)
42
	install -D -m 755 crlhelper $(DESTDIR)/$(bindir)
43
43
44
clean-local:
44
clean-local:
45
	-rm -f libnssckfw2.a ldapget crlhelper
45
	-rm -f libnssckfw2.a ldapget crlhelper
Lines 49-60 Link Here
49
# This uses the local .libs directory to link against, assuming that the
49
# This uses the local .libs directory to link against, assuming that the
50
# revocation library been installed globally yet.
50
# revocation library been installed globally yet.
51
ldaptest:
51
ldaptest:
52
	$(CXX) $(CXXFLAGS) ldaptest.cpp client.o ldap-client.o unescape.o -o ldaptest $(INCLUDES) $(LIBS) -L .libs/ -lrevocation
52
	$(CXX) $(CXXFLAGS) $(LDFLAGS) ldaptest.cpp client.o ldap-client.o unescape.o -o ldaptest $(INCLUDES) $(LIBS) -L .libs/ -lrevocation
53
53
54
# This program is used to retrieve data from an LDAP URL and return the
54
# This program is used to retrieve data from an LDAP URL and return the
55
# attribute data over stdout. It is used in conjunction with an exec:// URL
55
# attribute data over stdout. It is used in conjunction with an exec:// URL
56
ldapget: ldapget.cpp relink
56
ldapget: ldapget.cpp relink
57
	$(CXX) $(CXXFLAGS) ldapget.cpp client.o ldap-client.o http-client.o unescape.o -o ldapget $(INCLUDES) $(LIBS) libnssckfw2.a -L .libs/ -lrevocation
57
	$(CXX) $(CXXFLAGS) $(LDFLAGS)  ldapget.cpp client.o ldap-client.o http-client.o unescape.o -o ldapget $(INCLUDES) $(LIBS) libnssckfw2.a -L .libs/ -lrevocation
58
58
59
crlhelper: crlhelper.cpp relink
59
crlhelper: crlhelper.cpp relink
60
	$(CXX) $(CXXFLAGS) crlhelper.cpp client.o ldap-client.o http-client.o unescape.o -o crlhelper $(INCLUDES) $(LIBS) libnssckfw2.a -L .libs/ -lrevocation
60
	$(CXX) $(CXXFLAGS) $(LDFLAGS) crlhelper.cpp client.o ldap-client.o http-client.o unescape.o -o crlhelper $(INCLUDES) $(LIBS) libnssckfw2.a -L .libs/ -lrevocation

Return to bug 327401