forked from stefanocasazza/ULib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
104 lines (93 loc) · 3.98 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
## Makefile.am -- Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = no-dependencies ## dist-shar dist-zip
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = autoconf cdb configure.help TODO LICENSE* README* *.spec* \
ULib.m4 rpm.sh rpmpkgreq.lst rpmpkgreq.lst.suse openwrt \
doc/Doxyfile doc/benchmark doc/readme.txt shtool *.awk
MAINTAINERCLEANFILES = configure aclocal.m4 libtool Makefile.in Makefile INSTALL
SUBDIRS = include src/ulib
if PLUGIN
SUBDIRS += src/ulib/net/server/plugin
endif
SUBDIRS += examples contrib tests
DIST_SUBDIRS = include src/ulib src/ulib/net/server/plugin m4 doc contrib examples tests
## bin_SCRIPTS = ulib-config
aclocaldir = $(datadir)/aclocal
aclocal_DATA = ULib.m4
dist-hook:
@rm -rf \
$(distdir)/*.spec \
$(distdir)/cdb/*.o \
$(distdir)/cdb/*.a \
$(distdir)/cdb/rts* \
$(distdir)/cdb/softlimit \
$(distdir)/examples/*/*.spec \
$(distdir)/tests/ulib/tmp/* \
$(distdir)/tests/ulib/CApath/*.*0 \
$(distdir)/tests/ulib/ok/timer.ok \
$(distdir)/tests/ulib/ok/interrupt.ok \
$(distdir)/tests/ulib/ok/memory_pool.ok \
$(distdir)/tests/examples/csp.log \
$(distdir)/tests/examples/tsa.log \
$(distdir)/tests/examples/RSIGN/log \
$(distdir)/tests/examples/WAGSM/log \
$(distdir)/tests/examples/CApath/*.*0 \
$(distdir)/tests/examples/TSA/log \
$(distdir)/tests/examples/TSA/TSA/.rnd \
$(distdir)/tests/examples/TSA/response/* \
$(distdir)/tests/examples/www.sito1.com \
$(distdir)/tests/examples/CSP/DB_CA/CA* \
$(distdir)/tests/examples/CSP/DB_CA/log \
$(distdir)/tests/examples/CSP/DB_CA/.rnd \
$(distdir)/tests/examples/IR/db* \
$(distdir)/tests/examples/IR/WEB/doc \
$(distdir)/tests/examples/IR/WEB/servlet/*.so \
$(distdir)/tests/examples/IR/benchmark/out \
$(distdir)/tests/examples/IR/benchmark/log \
$(distdir)/tests/examples/IR/benchmark/err \
$(distdir)/tests/examples/IR/benchmark/index.cfg \
$(distdir)/src/ulib/net/server/plugin/*.o \
$(distdir)/src/ulib/net/server/plugin/*.l? \
$(distdir)/src/ulib/net/server/plugin/.deps \
$(distdir)/src/ulib/net/server/plugin/.libs \
$(distdir)/src/ulib/net/server/plugin/Makefile \
$(distdir)/src/ulib/net/server/plugin/*/*.o \
$(distdir)/src/ulib/net/server/plugin/*/*.l? \
$(distdir)/src/ulib/net/server/plugin/*/.deps \
$(distdir)/src/ulib/net/server/plugin/*/.libs \
$(distdir)/src/ulib/net/server/plugin/*/Makefile \
$(distdir)/src/ulib/net/server/plugin/usp/usp_translator \
$(distdir)/tests/examples/benchmark/docroot/servlet/*.so \
$(distdir)/tests/examples/benchmark/docroot/servlet/*.usp \
$(distdir)/tests/examples/benchmark/libraries/libcaptcha.o
README.html: README.md
@Markdown.pl README.md > README.html
##install-data-local:
## @if test -f /etc/ld.so.conf \
## -a `echo $(libdir) | grep ^/usr`XXX != "XXX" ; then \
## if ! grep -q "$(libdir)" /etc/ld.so.conf; then \
## echo "------------------------------------------------------------------------------" ;\
## echo "Hmm, looks like you forgot to add $(libdir) to /etc/ld.so.conf." ;\
## echo "I'll try to fix it for you (but pay attention to libtool's output" ;\
## echo "next time, ok?)" ;\
## echo "$(libdir)" >> /etc/ld.so.conf && \
## echo "Ok, all fixed." \
## || \
## (echo "" ;\
## echo "Well, that didn't work. Remember to add $(libdir) to" ;\
## echo "/etc/ld.so.conf if you want to use this library.") ;\
## echo "------------------------------------------------------------------------------" ;\
## ldconfig ;\
## fi ;\
## fi
##if PLUGIN
##install-exec-hook:
## @cd $(top_builddir)/src/ulib/net/server/plugin; \
## if [ ! -f .libs/mod_rpc.so ]; then \
## make .libs/mod_rpc.so >/dev/null 2>/dev/null; \
## make .libs/mod_tsa.so >/dev/null 2>/dev/null; \
## make .libs/mod_http.so >/dev/null 2>/dev/null; \
## make .libs/mod_soap.so >/dev/null 2>/dev/null; \
## make .libs/mod_proxy.so >/dev/null 2>/dev/null; \
## fi
##endif