Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 328 lines (269 sloc) 10.446 kb
14b68f7 @postwait fixes #72
postwait authored
1 .SUFFIXES: .re .c
2
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
3 CC=@CC@
4 CPPFLAGS=@CPPFLAGS@
5 CFLAGS=@CFLAGS@
c4546c7 @postwait I sure hope this doesn't break other platforms too badly. Solaris su…
postwait authored
6 PGCFLAGS=@PGCFLAGS@
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
7 LDFLAGS=@LDFLAGS@
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
8 DEPFLAGS=@DEPFLAGS@
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
9 AR=@AR@
10 RANLIB=@RANLIB@
11 LIBS=@LIBS@
12 INSTALL=@INSTALL@
db656f3 @postwait pull help and docs into the console, refs #21
postwait authored
13 XML2H=@top_srcdir@/buildtools/xml2h
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
14
15 prefix=@prefix@
16 exec_prefix=@exec_prefix@
17 bindir=@bindir@
18 sbindir=@sbindir@
19 libdir=@libdir@
20 includedir=${prefix}/include
21 libexecdir=@libexecdir@
2ad45ba @postwait patch from viq to use localstatedir instead of prefx/var
postwait authored
22 localstatedir=@localstatedir@
23 datarootdir=@datarootdir@
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
24 mandir=@mandir@
25 mansubdir=@mansubdir@
26 docdir=${prefix}/@docdir@
27 sysconfdir=@sysconfdir@
28 srcdir=@srcdir@
29 top_srcdir=@top_srcdir@
e1b3535 @postwait setup building of a correct sample config, refs #50
postwait authored
30 MODULES_DIR=@MODULES_DIR@
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
31
b0c153f @postwait refs #29
postwait authored
32 WHOLE_ARCHIVE=@WHOLE_ARCHIVE@
33 NOWHOLE_ARCHIVE=@NOWHOLE_ARCHIVE@
34
924cc36 @postwait make this link up on Solaris
postwait authored
35 DTRACEOBJ=@DTRACEOBJ@
36 NOITD_DTRACEOBJ=$(DTRACEOBJ:%dtrace_stub.o=noitd_%dtrace_stub.o)
37 STRATCOND_DTRACEOBJ=$(DTRACEOBJ:%dtrace_stub.o=stratcond_%dtrace_stub.o)
38
29fae1d @postwait Sooner or later, a corrupt jlog is going to make someone's life miser…
postwait authored
39 TARGETS=noitd stratcond noit.conf test-noit.conf stratcon.conf test-stratcon.conf \
40 jlog/jlogctl
4c7aa25 @postwait cleaner clean from Marti Raudsepp
postwait authored
41
4790fc8 @postwait Cleanup and make sure Solaris Sun Studio compilers get -mt and POSIX …
postwait authored
42 MODDIR=modules
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
43
b553f9a @postwait refs #340
postwait authored
44 HEADERS=noit_capabilities_listener.h noit_check.h noit_check_resolver.h \
45 noit_check_rest.h \
46 noit_check_tools_shared.h \
b20c46a @postwait an install target for headers
postwait authored
47 noit_check_tools.h noit_conf.h noit_conf_checks.h noit_conf_private.h \
520106c @postwait support versioning from git
postwait authored
48 noit_version.h \
b20c46a @postwait an install target for headers
postwait authored
49 noit_config.h noit_console.h noit_console_telnet.h noit_defines.h \
50 noit_filters.h noit_http.h noit_jlog_listener.h noit_listener.h \
51 noit_livestream_listener.h noit_module.h noit_rest.h noit_tokenizer.h \
52 noit_xml.h \
53 stratcon_datastore.h stratcon_iep.h stratcon_jlog_streamer.h \
54 stratcon_realtime_http.h \
55 eventer/OETS_asn1_helper.h eventer/eventer.h \
56 eventer/eventer_POSIX_fd_opset.h eventer/eventer_SSL_fd_opset.h \
57 eventer/eventer_jobq.h \
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
58 utils/noit_atomic.h utils/noit_b64.h utils/noit_hash.h \
59 utils/noit_log.h utils/noit_mkdir.h utils/noit_security.h \
60 utils/noit_sem.h utils/noit_skiplist.h utils/noit_str.h \
f51de7f @postwait install the lockfile header
postwait authored
61 utils/noit_watchdog.h utils/noit_lockfile.h \
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
62 noitedit/chared.h noitedit/common.h noitedit/compat.h noitedit/el.h \
63 noitedit/el_term.h noitedit/emacs.h noitedit/fcns.h noitedit/fgetln.h \
64 noitedit/help.h noitedit/hist.h noitedit/histedit.h noitedit/key.h \
65 noitedit/map.h noitedit/parse.h noitedit/prompt.h noitedit/refresh.h \
66 noitedit/search.h noitedit/sig.h noitedit/strlcpy.h noitedit/sys.h \
67 noitedit/tokenizer.h noitedit/tty.h noitedit/vi.h \
68 jlog/jlog.h jlog/jlog_config.h jlog/jlog_hash.h jlog/jlog_io.h
b20c46a @postwait an install target for headers
postwait authored
69
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
70 NOIT_OBJS=noitd.o noit_listener.o \
a7f575a @postwait start the framework for a console state machine
postwait authored
71 noit_console.o noit_console_state.o noit_console_telnet.o \
b553f9a @postwait refs #340
postwait authored
72 noit_console_complete.o noit_check_resolver.o \
37e31fd @postwait make the protobuf stuff consitent with the S/M record leaders.
postwait authored
73 noit_check_tools_shared.o noit_check_log_helpers.o \
ce72dc2 @postwait add an intperpolation tool, to helping SNMP checks -- when they get here
postwait authored
74 noit_check.o noit_check_log.o noit_check_tools.o \
06f58e6 @postwait prep for jlog transit over SSL
postwait authored
75 noit_module.o noit_conf.o noit_conf_checks.o noit_tokenizer.o \
ea6ba41 @postwait fixes #123
postwait authored
76 noit_capabilities_listener.o noit_xml.o \
7e47bd8 @postwait support HTTP POST... and use wicked black magic to supply an HTTPS in…
postwait authored
77 noit_jlog_listener.o noit_livestream_listener.o noit_filters.o \
17461d6 @postwait require libprotobuf-c
postwait authored
78 noit_http.o noit_rest.o noit_check_rest.o noit_filters_rest.o \
79 bundle.pb-c.o
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
80
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
81 NOIT_LIBS=libudns libnoitedit libeventer libjlog libnoit_utils libnoitjson
82 NOIT_LIB_FILES=udns/libudns.o noitedit/libnoitedit.a eventer/libeventer.a \
efa9375 @postwait refs #294 resmon no support arbitrary json objects
postwait authored
83 jlog/libjlog.a utils/libnoit_utils.a json-lib/libnoitjson.a
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
84
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
85 STRATCON_OBJS=stratcond.o noit_listener.o \
86 noit_console.o noit_console_state.o noit_console_telnet.o \
ea6ba41 @postwait fixes #123
postwait authored
87 noit_console_complete.o noit_xml.o \
3c56016 @postwait insert the new rest API as a shim between the http listener and the r…
postwait authored
88 noit_conf.o noit_http.o noit_rest.o noit_tokenizer.o \
4b55797 @postwait no functional change.
postwait authored
89 noit_capabilities_listener.o noit_module.o \
37e31fd @postwait make the protobuf stuff consitent with the S/M record leaders.
postwait authored
90 noit_check_tools_shared.o noit_check_log_helpers.o \
55168c7 @postwait scaffolding for HTTP server..., refs #64
postwait authored
91 stratcon_realtime_http.o \
a18c447 @postwait fix for test cert paths
postwait authored
92 stratcon_jlog_streamer.o stratcon_datastore.o \
17461d6 @postwait require libprotobuf-c
postwait authored
93 stratcon_iep.o \
94 bundle.pb-c.o
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
95
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
96 STRATCON_LIBS=libudns libnoitedit libeventer libjlog libnoit_utils libnoitjson
97 STRATCON_LIB_FILES=udns/libudns.o noitedit/libnoitedit.a eventer/libeventer.a \
efa9375 @postwait refs #294 resmon no support arbitrary json objects
postwait authored
98 jlog/libjlog.a utils/libnoit_utils.a json-lib/libnoitjson.a
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
99
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
100 all: $(NOIT_LIBS) $(STRATCON_LIBS) $(TARGETS) java-bits make-modules make-man
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
101
102 make-man:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
103 @(cd man && $(MAKE) -s)
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
104
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
105 lua/liblua.lo:
106 @echo "- building lua bits"
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
107 @(cd lua && $(MAKE) -s liblua.lo)
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
108
109 make-modules: lua/liblua.lo
4790fc8 @postwait Cleanup and make sure Solaris Sun Studio compilers get -mt and POSIX …
postwait authored
110 @for dir in $(MODDIR) ; do \
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
111 (cd $$dir && $(MAKE) -s) ; \
4790fc8 @postwait Cleanup and make sure Solaris Sun Studio compilers get -mt and POSIX …
postwait authored
112 done
113
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
114 java-bits:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
115 @-test -n "@JAVAPARTS@" && (cd java && $(MAKE) -s)
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
116
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
117 libjlog:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
118 @(cd jlog && $(MAKE) -s libjlog.a)
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
119
29fae1d @postwait Sooner or later, a corrupt jlog is going to make someone's life miser…
postwait authored
120 jlog/jlogctl:
121 @echo "- building jlogctl"
122 @(cd jlog && $(MAKE) -s jlogctl)
123
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
124 libudns:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
125 @(cd udns && $(MAKE) -s libudns.o)
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
126
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
127 libnoitedit:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
128 @(cd noitedit && $(MAKE) -s libnoitedit.a)
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
129
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
130 libeventer:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
131 @(cd eventer && $(MAKE) -s libeventer.a)
a504323 @postwait compiles on linux -- still no eventer, refs #12
postwait authored
132
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
133 libnoit_utils:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
134 @(cd utils && $(MAKE) -s libnoit_utils.a)
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
135
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
136 libnoitjson:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
137 @(cd json-lib && $(MAKE) -s libnoitjson.a)
efa9375 @postwait refs #294 resmon no support arbitrary json objects
postwait authored
138
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
139 jlog/libjlog.a: libjlog
140 udns/libudns.o: libudns
141 noitedit/libnoitedit.a: libnoitedit
142 eventer/libeventer.a: libeventer
143 utils/libnoit_utils.a: libnoit_utils
144 json-lib/libnoitjson.a: libnoitjson
145
520106c @postwait support versioning from git
postwait authored
146 .PHONY: noit_version.h
147
b406a89 @postwait always attempt a reassessment of version during before linking
postwait authored
148 reversion:
149 @$(top_srcdir)/buildtools/mkversion.sh noit_version.h
150
520106c @postwait support versioning from git
postwait authored
151 noit_version.h:
152 @$(top_srcdir)/buildtools/mkversion.sh noit_version.h
153
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
154 man/noitd.usage.h: make-man
155
156 man/stratcond.usage.h: make-man
157
3081176 Add autodetection of the libprotobuf-c library
Dan Di Spaltro authored
158
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
159 noitd.o: man/noitd.usage.h
160 stratcond.o: man/stratcond.usage.h
161
1ff1395 @postwait more dtrace stuff in the core for production debugging
postwait authored
162 stratcon_jlog_streamer.o: @DTRACEHDR@
da6e546 @postwait check fire
postwait authored
163 noit_check_tools.o: @DTRACEHDR@
3aa92a9 @postwait check status
postwait authored
164 noit_check.o: @DTRACEHDR@
1ff1395 @postwait more dtrace stuff in the core for production debugging
postwait authored
165
924cc36 @postwait make this link up on Solaris
postwait authored
166 stratcond_@DTRACEOBJ@: $(STRATCON_OBJS)
167 @-test -n "@DTRACE@" && \
168 @DTRACE@ @DTRACEFLAGS@ -Z -G -s dtrace_probes.d -o stratcond_@DTRACEOBJ@ $(STRATCON_OBJS)
169
170 noitd_@DTRACEOBJ@: $(STRATCON_OBJS)
1ff1395 @postwait more dtrace stuff in the core for production debugging
postwait authored
171 @-test -n "@DTRACE@" && \
924cc36 @postwait make this link up on Solaris
postwait authored
172 @DTRACE@ @DTRACEFLAGS@ -Z -G -s dtrace_probes.d -o noitd_@DTRACEOBJ@ $(NOIT_OBJS)
1ff1395 @postwait more dtrace stuff in the core for production debugging
postwait authored
173
174 @DTRACEHDR@: dtrace_probes.d
175 @-test -n "@DTRACE@" && @DTRACE@ -h -s dtrace_probes.d
176
b406a89 @postwait always attempt a reassessment of version during before linking
postwait authored
177 noitd: reversion $(NOIT_OBJS) $(NOIT_LIB_FILES) man/noitd.usage.h $(NOITD_DTRACEOBJ)
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
178 @echo "- linking $@"
ef59bc7 @postwait cleanup some makefiles and code -- make it easier to see warnings
postwait authored
179 @$(CC) -o $@ $(NOIT_OBJS) \
5a9b91b @postwait svn merge -r 327:330 https://labs.omniti.com/reconnoiter/branches/dev…
postwait authored
180 udns/libudns.o \
924cc36 @postwait make this link up on Solaris
postwait authored
181 $(NOITD_DTRACEOBJ) \
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
182 $(LDFLAGS) \
b0c153f @postwait refs #29
postwait authored
183 $(WHOLE_ARCHIVE) \
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
184 -Leventer -leventer \
725c93d @postwait first whack at dtrace probes. the fact we can't use archives is pain…
postwait authored
185 utils/*.o \
efa9375 @postwait refs #294 resmon no support arbitrary json objects
postwait authored
186 json-lib/*.o \
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
187 -Ljlog -ljlog \
188 -Lnoitedit -lnoitedit \
b0c153f @postwait refs #29
postwait authored
189 $(NOWHOLE_ARCHIVE) \
308a8d6 @postwait rename sample.conf to noit.conf and start on stratcond.
postwait authored
190 $(LIBS)
191
b406a89 @postwait always attempt a reassessment of version during before linking
postwait authored
192 stratcond: reversion $(STRATCON_OBJS) $(STRATCON_LIB_FILES) $(STRATCOND_DTRACEOBJ)
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
193 @echo "- linking $@"
ef59bc7 @postwait cleanup some makefiles and code -- make it easier to see warnings
postwait authored
194 @$(CC) -o $@ $(STRATCON_OBJS) \
5a9b91b @postwait svn merge -r 327:330 https://labs.omniti.com/reconnoiter/branches/dev…
postwait authored
195 udns/libudns.o \
924cc36 @postwait make this link up on Solaris
postwait authored
196 $(STRATCOND_DTRACEOBJ) \
919b09a @postwait umm.. that last commit was junk, I should work on one machine... Thi…
postwait authored
197 $(LDFLAGS) \
b0c153f @postwait refs #29
postwait authored
198 $(WHOLE_ARCHIVE) \
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
199 -Leventer -leventer \
725c93d @postwait first whack at dtrace probes. the fact we can't use archives is pain…
postwait authored
200 utils/*.o \
efa9375 @postwait refs #294 resmon no support arbitrary json objects
postwait authored
201 json-lib/*.o \
919b09a @postwait umm.. that last commit was junk, I should work on one machine... Thi…
postwait authored
202 -Ljlog -ljlog \
3070001 @postwait integrate a full-on telnet server... hey, why not?
postwait authored
203 -Lnoitedit -lnoitedit \
b0c153f @postwait refs #29
postwait authored
204 $(NOWHOLE_ARCHIVE) \
5f816fc @postwait fixes #358
postwait authored
205 $(LIBS)
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
206
3277121 @postwait cleanup solaris bits, refs #32
postwait authored
207 stratcon_datastore.o: stratcon_datastore.c
aaa42af @postwait add a rest call to get a noit's config back, fixes #227
postwait authored
208 @$(CC) $(CPPFLAGS) $(PGCFLAGS) $(CFLAGS) -c $<
c4546c7 @postwait I sure hope this doesn't break other platforms too badly. Solaris su…
postwait authored
209 @echo "- compiling $<"
210
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
211 .c.o:
ef59bc7 @postwait cleanup some makefiles and code -- make it easier to see warnings
postwait authored
212 @$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
213 @echo "- compiling $<"
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
214
db656f3 @postwait pull help and docs into the console, refs #21
postwait authored
215 noit_module.o: module-online.h
216
217 module-online.h: modules/module-online.xsl
b8e4ac4 @postwait more docs, fixups.. Better smtp options and docs. refs #21
postwait authored
218 @echo "- making module-online.h (StyleSheet include)"
db656f3 @postwait pull help and docs into the console, refs #21
postwait authored
219 @$(XML2H) helpStyleXML < modules/module-online.xsl > $@
220
ae3cdae @postwait remove the re2c auto build...
postwait authored
221 noit_tokenizer.c:
ef59bc7 @postwait cleanup some makefiles and code -- make it easier to see warnings
postwait authored
222 @re2c -o $@ noit_tokenizer.re
7427e50 @postwait Fixes: Using $< in a non-suffix rule context is a GNUmake idiom (line…
postwait authored
223 @echo "- re2c noit_tokenizer.re"
37cf7d8 @postwait A 'simple' tokenizer to help us with the console
postwait authored
224
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
225 test-noit.conf: noit.conf.in Makefile
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
226 @sed -e "s^%sysconfdir%^`pwd`^g;" \
dafb532 @postwait given our new chdir() we need a full path to the directories. Also, …
postwait authored
227 -e "s^%modulesdir%^`pwd`/modules^g;" \
228 -e "s^%modulesluadir%^`pwd`/modules-lua^g;" \
a18c447 @postwait fix for test cert paths
postwait authored
229 -e "s^%PKIPREFIX%^../test/test-^g;" < \
e1b3535 @postwait setup building of a correct sample config, refs #50
postwait authored
230 noit.conf.in > \
231 test-noit.conf
232
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
233 noit.conf: noit.conf.in Makefile
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
234 @sed -e "s^%sysconfdir%^$(sysconfdir)^g;" \
e1b3535 @postwait setup building of a correct sample config, refs #50
postwait authored
235 -e "s^%modulesdir%^$(MODULES_DIR)^g;" \
236 -e "s^%modulesluadir%^$(MODULES_DIR)^g;" \
237 -e "s^%PKIPREFIX%^$${PKIPREFIX}^g;" < \
238 noit.conf.in > \
239 noit.conf
240
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
241 test-stratcon.conf: stratcon.conf.in Makefile
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
242 @sed -e "s^%sysconfdir%^`pwd`^g;" \
a18c447 @postwait fix for test cert paths
postwait authored
243 -e "s^%modulesdir%^`pwd`/modules^g;" \
244 -e "s^%modulesluadir%^`pwd`/modules-lua^g;" \
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
245 -e "s^%iepbindir%^`pwd`/java^g;" \
246 -e "s^%iepdbdir%^`pwd`/java^g;" \
a18c447 @postwait fix for test cert paths
postwait authored
247 -e "s^%PKIPREFIX%^../test/test-^g;" < \
248 stratcon.conf.in > \
249 test-stratcon.conf
250
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
251 stratcon.conf: stratcon.conf.in Makefile
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
252 @sed -e "s^%sysconfdir%^$(sysconfdir)^g;" \
a18c447 @postwait fix for test cert paths
postwait authored
253 -e "s^%modulesdir%^$(MODULES_DIR)^g;" \
254 -e "s^%modulesluadir%^$(MODULES_DIR)^g;" \
a907717 @postwait refs #122, this stuff works well enough to pull dev back into trunk.
postwait authored
255 -e "s^%iepbindir%^$(bindir)^g;" \
2ad45ba @postwait patch from viq to use localstatedir instead of prefx/var
postwait authored
256 -e "s^%iepdbdir%^$(localstatedir)/db/noit-iep^g;" \
a18c447 @postwait fix for test cert paths
postwait authored
257 -e "s^%PKIPREFIX%^$${PKIPREFIX}^g;" < \
258 stratcon.conf.in > \
259 stratcon.conf
260
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
261 install-dirs:
9857d4b @postwait fixes #37
postwait authored
262 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(bindir)
0a06b2c @postwait refs #50
postwait authored
263 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(sbindir)
264 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(sysconfdir)
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
265
b20c46a @postwait an install target for headers
postwait authored
266 install-headers: $(HEADERS)
bd1849b @postwait add a helper for compiling external module
postwait authored
267 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(bindir)
b20c46a @postwait an install target for headers
postwait authored
268 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(includedir)
269 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(includedir)/eventer
270 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(includedir)/utils
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
271 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(includedir)/noitedit
272 $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(includedir)/jlog
5b61a6d @postwait stupid typo
postwait authored
273 $(INSTALL) -m 0755 scripts/noit-config $(DESTDIR)$(bindir)/noit-config
b20c46a @postwait an install target for headers
postwait authored
274 for file in $(HEADERS) ; do \
275 $(INSTALL) -m 0644 $$file $(DESTDIR)$(includedir)/$$file ; \
276 done
277
29fae1d @postwait Sooner or later, a corrupt jlog is going to make someone's life miser…
postwait authored
278 install-noitd: install-dirs noitd noit.conf java-bits jlog/jlogctl
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
279 $(INSTALL) -m 0755 scripts/noittrap $(DESTDIR)$(bindir)/noittrap
29fae1d @postwait Sooner or later, a corrupt jlog is going to make someone's life miser…
postwait authored
280 $(INSTALL) -m 0755 jlog/jlogctl $(DESTDIR)$(bindir)/noit_jlogctl
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
281 $(INSTALL) -m 0755 noitd $(DESTDIR)$(sbindir)/noitd
0a06b2c @postwait refs #50
postwait authored
282 $(INSTALL) -m 0644 noit.conf $(DESTDIR)$(sysconfdir)/noit.conf.sample
322ceb0 @postwait This allows for a
postwait authored
283 $(INSTALL) -m 0644 config_templates.conf $(DESTDIR)$(sysconfdir)/config_templates.conf
28b073c @postwait ship a default CA list for eventer consumers, refs #13
postwait authored
284 $(INSTALL) -m 0644 default-ca-chain.crt $(DESTDIR)$(sysconfdir)/default-ca-chain.crt
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
285 (cd modules && $(MAKE) install-modules DESTDIR=$(DESTDIR))
286 (cd modules-lua && $(MAKE) install DESTDIR=$(DESTDIR))
287 -test -n "@JAVAPARTS@" && (cd @JAVAPARTS@ && $(MAKE) install-jezebel DESTDIR=$(DESTDIR))
0a06b2c @postwait refs #50
postwait authored
288
69aafdd @postwait fix installer
postwait authored
289 install-stratcond: install-dirs stratcond stratcon.conf java-bits
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
290 $(INSTALL) -m 0755 stratcond $(DESTDIR)$(sbindir)/stratcond
291 $(INSTALL) -m 0644 stratcon.conf $(DESTDIR)$(sysconfdir)/stratcon.conf.sample
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
292 (cd modules && $(MAKE) install-smodules DESTDIR=$(DESTDIR))
293 -test -n "@JAVAPARTS@" && (cd @JAVAPARTS@ && $(MAKE) install-iep DESTDIR=$(DESTDIR))
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
294
295 install-docs:
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
296 (cd man && $(MAKE) install DESTDIR=$(DESTDIR))
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
297
b20c46a @postwait an install target for headers
postwait authored
298 install: install-dirs install-docs install-headers install-noitd install-stratcond
9be0170 @postwait more cleanly separated install targets -- and a clean that cleans
postwait authored
299
9679460 @postwait cleanup... make should not rebuild noitd and stratcond every time now
postwait authored
300 clean:
4c7aa25 @postwait cleaner clean from Marti Raudsepp
postwait authored
301 rm -f *.o $(TARGETS)
302 rm -f module-online.h
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
303 (cd jlog && $(MAKE) clean)
304 (cd eventer && $(MAKE) clean)
305 (cd udns && $(MAKE) clean)
306 (cd man && $(MAKE) clean)
307 (cd modules && $(MAKE) clean)
308 (cd noitedit && $(MAKE) clean)
309 (cd utils && $(MAKE) clean)
310 (cd json-lib && $(MAKE) clean)
311 (cd lua && $(MAKE) clean)
312 (cd java && $(MAKE) clean)
01751d3 @postwait still nothing working, but substantially more plumbing
postwait authored
313
e41d9af @postwait a bit of dependency help, not complete, but useful
postwait authored
314 Makefile.dep:
06601a4 @postwait cleanup makefile deps and targets. instead of not noticing subdeps, w…
postwait authored
315 $(CC) -I. $(CPPFLAGS) $(CFLAGS) $(DEPFLAGS) *.c > Makefile.dep
316 $(top_srcdir)/buildtools/culldeps.sh Makefile.dep
e41d9af @postwait a bit of dependency help, not complete, but useful
postwait authored
317
318 include Makefile.dep
319
5fbae1c @postwait distclean from Marti Raudsepp
postwait authored
320 distclean-subdirs:
321 for dir in jlog eventer udns man modules modules-lua noitedit utils json-lib lua java ; do \
2527e31 @postwait use $(MAKE) instead of make in Makefile
postwait authored
322 (cd $$dir && $(MAKE) distclean) ; \
5fbae1c @postwait distclean from Marti Raudsepp
postwait authored
323 done
324
325 distclean: clean distclean-subdirs
326 rm -f Makefile noit_config.h scripts/noit-config
327
Something went wrong with that request. Please try again.