+ conditions should work
[public/netxms.git] / src / libnetxms / Makefile
1 # Makefile.in generated by automake 1.7.9 from Makefile.am.
2 # src/libnetxms/Makefile. Generated from Makefile.in by configure.
3
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15
16
17 srcdir = .
18 top_srcdir = ../..
19
20 pkgdatadir = $(datadir)/netxms
21 pkglibdir = $(libdir)/netxms
22 pkgincludedir = $(includedir)/netxms
23 top_builddir = ../..
24
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 INSTALL = /bin/install -c
27 install_sh_DATA = $(install_sh) -c -m 644
28 install_sh_PROGRAM = $(install_sh) -c
29 install_sh_SCRIPT = $(install_sh) -c
30 INSTALL_HEADER = $(INSTALL_DATA)
31 transform = $(program_transform_name)
32 NORMAL_INSTALL = :
33 PRE_INSTALL = :
34 POST_INSTALL = :
35 NORMAL_UNINSTALL = :
36 PRE_UNINSTALL = :
37 POST_UNINSTALL = :
38 host_triplet = i686-pc-linux-gnu
39 ACLOCAL = ${SHELL} /home/alk/work/nms/config/missing --run aclocal-1.7
40 AMDEP_FALSE = #
41 AMDEP_TRUE =
42 AMTAR = ${SHELL} /home/alk/work/nms/config/missing --run tar
43 AR = ar
44 AUTOCONF = ${SHELL} /home/alk/work/nms/config/missing --run autoconf
45 AUTOHEADER = ${SHELL} /home/alk/work/nms/config/missing --run autoheader
46 AUTOMAKE = ${SHELL} /home/alk/work/nms/config/missing --run automake-1.7
47 AWK = gawk
48 CC = gcc
49 CCDEPMODE = depmode=gcc3
50 CFLAGS = -I/usr/local/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql
51 CPP = gcc -E
52 CPPFLAGS =
53 CXX = g++
54 CXXCPP = g++ -E
55 CXXDEPMODE = depmode=gcc3
56 CXXFLAGS = -g -O2
57 CYGPATH_W = echo
58 DEFS = -DHAVE_CONFIG_H
59 DEPDIR = .deps
60 ECHO = echo
61 ECHO_C =
62 ECHO_N = -n
63 ECHO_T =
64 EGREP = grep -E
65 EXEEXT =
66 F77 =
67 FFLAGS =
68 INSTALL_DATA = ${INSTALL} -m 644
69 INSTALL_PROGRAM = ${INSTALL}
70 INSTALL_SCRIPT = ${INSTALL}
71 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
72 LDFLAGS = -L/usr/local/lib -L/usr/local/mysql/lib -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql
73 LIBNETXMS_LIBRARY_VERSION = 0:1:0
74 LIBOBJS =
75 LIBS = -lssl -lcrypto -lmysqlclient -lz -lm
76 LIBTOOL = $(SHELL) $(top_builddir)/libtool
77 LN_S = ln -s
78 LTLIBOBJS =
79 MAKEINFO = ${SHELL} /home/alk/work/nms/config/missing --run makeinfo
80 OBJEXT = o
81 PACKAGE = netxms
82 PACKAGE_BUGREPORT = NetXMS Team <bugs@netxms.org>
83 PACKAGE_NAME = NetXMS
84 PACKAGE_STRING = NetXMS 0.1.0
85 PACKAGE_TARNAME = netxms
86 PACKAGE_VERSION = 0.1.0
87 PATH_SEPARATOR = :
88 PERL = /usr/bin/perl
89 POW_LIB =
90 PTHREAD_LIBS = -lpthread
91 RANLIB = ranlib
92 SET_MAKE =
93 SHELL = /bin/sh
94 STRIP = strip
95 VERSION = 0.1.0
96 ac_ct_AR = ar
97 ac_ct_CC = gcc
98 ac_ct_CXX =
99 ac_ct_F77 =
100 ac_ct_RANLIB = ranlib
101 ac_ct_STRIP = strip
102 am__fastdepCC_FALSE = #
103 am__fastdepCC_TRUE =
104 am__fastdepCXX_FALSE = #
105 am__fastdepCXX_TRUE =
106 am__include = include
107 am__leading_dot = .
108 am__quote =
109 bindir = ${exec_prefix}/bin
110 build = i686-pc-linux-gnu
111 build_alias =
112 build_cpu = i686
113 build_os = linux-gnu
114 build_vendor = pc
115 datadir = ${prefix}/share
116 exec_prefix = ${prefix}
117 host = i686-pc-linux-gnu
118 host_alias =
119 host_cpu = i686
120 host_os = linux-gnu
121 host_vendor = pc
122 includedir = ${prefix}/include
123 infodir = ${prefix}/info
124 install_sh = /home/alk/work/nms/config/install-sh
125 libdir = ${exec_prefix}/lib
126 libexecdir = ${exec_prefix}/libexec
127 localstatedir = ${prefix}/var
128 mandir = ${prefix}/man
129 oldincludedir = /usr/include
130 prefix = /home/alk/blah
131 program_transform_name = s,x,x,
132 sbindir = ${exec_prefix}/sbin
133 sharedstatedir = ${prefix}/com
134 sysconfdir = ${prefix}/etc
135 target_alias =
136 INCLUDES = -I../../include
137
138 lib_LTLIBRARIES = libnetxms.la
139 libnetxms_la_SOURCES = cscp.cpp hash.cpp icmp.cpp inline.cpp main.cpp queue.cpp shvar.cpp tools.cpp
140 libnetxms_la_LDFLAGS = -version-info $(LIBNETXMS_LIBRARY_VERSION)
141 subdir = src/libnetxms
142 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
143 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
144 CONFIG_HEADER = $(top_builddir)/config.h
145 CONFIG_CLEAN_FILES =
146 LTLIBRARIES = $(lib_LTLIBRARIES)
147
148 libnetxms_la_LIBADD =
149 am_libnetxms_la_OBJECTS = cscp.lo hash.lo icmp.lo inline.lo main.lo \
150 queue.lo shvar.lo tools.lo
151 libnetxms_la_OBJECTS = $(am_libnetxms_la_OBJECTS)
152
153 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
154 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
155 am__depfiles_maybe = depfiles
156 DEP_FILES = ./$(DEPDIR)/cscp.Plo ./$(DEPDIR)/hash.Plo \
157 ./$(DEPDIR)/icmp.Plo ./$(DEPDIR)/inline.Plo \
158 ./$(DEPDIR)/main.Plo ./$(DEPDIR)/queue.Plo \
159 ./$(DEPDIR)/shvar.Plo ./$(DEPDIR)/tools.Plo
160 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
161 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
162 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
163 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
164 $(AM_CXXFLAGS) $(CXXFLAGS)
165 CXXLD = $(CXX)
166 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
167 $(AM_LDFLAGS) $(LDFLAGS) -o $@
168 DIST_SOURCES = $(libnetxms_la_SOURCES)
169 DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
170 SOURCES = $(libnetxms_la_SOURCES)
171
172 all: all-am
173
174 .SUFFIXES:
175 .SUFFIXES: .cpp .lo .o .obj
176 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
177 cd $(top_srcdir) && \
178 $(AUTOMAKE) --gnu src/libnetxms/Makefile
179 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
180 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
181 libLTLIBRARIES_INSTALL = $(INSTALL)
182 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
183 @$(NORMAL_INSTALL)
184 $(mkinstalldirs) $(DESTDIR)$(libdir)
185 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
186 if test -f $$p; then \
187 f="`echo $$p | sed -e 's|^.*/||'`"; \
188 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
189 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
190 else :; fi; \
191 done
192
193 uninstall-libLTLIBRARIES:
194 @$(NORMAL_UNINSTALL)
195 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
196 p="`echo $$p | sed -e 's|^.*/||'`"; \
197 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
198 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
199 done
200
201 clean-libLTLIBRARIES:
202 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
203 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
204 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
205 test "$$dir" = "$$p" && dir=.; \
206 echo "rm -f \"$${dir}/so_locations\""; \
207 rm -f "$${dir}/so_locations"; \
208 done
209 libnetxms.la: $(libnetxms_la_OBJECTS) $(libnetxms_la_DEPENDENCIES)
210 $(CXXLINK) -rpath $(libdir) $(libnetxms_la_LDFLAGS) $(libnetxms_la_OBJECTS) $(libnetxms_la_LIBADD) $(LIBS)
211
212 mostlyclean-compile:
213 -rm -f *.$(OBJEXT) core *.core
214
215 distclean-compile:
216 -rm -f *.tab.c
217
218 include ./$(DEPDIR)/cscp.Plo
219 include ./$(DEPDIR)/hash.Plo
220 include ./$(DEPDIR)/icmp.Plo
221 include ./$(DEPDIR)/inline.Plo
222 include ./$(DEPDIR)/main.Plo
223 include ./$(DEPDIR)/queue.Plo
224 include ./$(DEPDIR)/shvar.Plo
225 include ./$(DEPDIR)/tools.Plo
226
227 .cpp.o:
228 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
229 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
230 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
231 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
232 fi
233 # source='$<' object='$@' libtool=no \
234 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
235 # $(CXXDEPMODE) $(depcomp) \
236 # $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
237
238 .cpp.obj:
239 if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
240 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
241 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
242 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
243 fi
244 # source='$<' object='$@' libtool=no \
245 # depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
246 # $(CXXDEPMODE) $(depcomp) \
247 # $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
248
249 .cpp.lo:
250 if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
251 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
252 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
253 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
254 fi
255 # source='$<' object='$@' libtool=yes \
256 # depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
257 # $(CXXDEPMODE) $(depcomp) \
258 # $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
259
260 mostlyclean-libtool:
261 -rm -f *.lo
262
263 clean-libtool:
264 -rm -rf .libs _libs
265
266 distclean-libtool:
267 -rm -f libtool
268 uninstall-info-am:
269
270 ETAGS = etags
271 ETAGSFLAGS =
272
273 CTAGS = ctags
274 CTAGSFLAGS =
275
276 tags: TAGS
277
278 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
279 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
280 unique=`for i in $$list; do \
281 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
282 done | \
283 $(AWK) ' { files[$$0] = 1; } \
284 END { for (i in files) print i; }'`; \
285 mkid -fID $$unique
286
287 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
288 $(TAGS_FILES) $(LISP)
289 tags=; \
290 here=`pwd`; \
291 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
292 unique=`for i in $$list; do \
293 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
294 done | \
295 $(AWK) ' { files[$$0] = 1; } \
296 END { for (i in files) print i; }'`; \
297 test -z "$(ETAGS_ARGS)$$tags$$unique" \
298 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
299 $$tags $$unique
300
301 ctags: CTAGS
302 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
303 $(TAGS_FILES) $(LISP)
304 tags=; \
305 here=`pwd`; \
306 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
307 unique=`for i in $$list; do \
308 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
309 done | \
310 $(AWK) ' { files[$$0] = 1; } \
311 END { for (i in files) print i; }'`; \
312 test -z "$(CTAGS_ARGS)$$tags$$unique" \
313 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
314 $$tags $$unique
315
316 GTAGS:
317 here=`$(am__cd) $(top_builddir) && pwd` \
318 && cd $(top_srcdir) \
319 && gtags -i $(GTAGS_ARGS) $$here
320
321 distclean-tags:
322 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
323 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
324
325 top_distdir = ../..
326 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
327
328 distdir: $(DISTFILES)
329 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
330 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
331 list='$(DISTFILES)'; for file in $$list; do \
332 case $$file in \
333 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
334 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
335 esac; \
336 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
337 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
338 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
339 dir="/$$dir"; \
340 $(mkinstalldirs) "$(distdir)$$dir"; \
341 else \
342 dir=''; \
343 fi; \
344 if test -d $$d/$$file; then \
345 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
346 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
347 fi; \
348 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
349 else \
350 test -f $(distdir)/$$file \
351 || cp -p $$d/$$file $(distdir)/$$file \
352 || exit 1; \
353 fi; \
354 done
355 check-am: all-am
356 check: check-am
357 all-am: Makefile $(LTLIBRARIES)
358
359 installdirs:
360 $(mkinstalldirs) $(DESTDIR)$(libdir)
361 install: install-am
362 install-exec: install-exec-am
363 install-data: install-data-am
364 uninstall: uninstall-am
365
366 install-am: all-am
367 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
368
369 installcheck: installcheck-am
370 install-strip:
371 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
372 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
373 `test -z '$(STRIP)' || \
374 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
375 mostlyclean-generic:
376
377 clean-generic:
378
379 distclean-generic:
380 -rm -f $(CONFIG_CLEAN_FILES)
381
382 maintainer-clean-generic:
383 @echo "This command is intended for maintainers to use"
384 @echo "it deletes files that may require special tools to rebuild."
385 clean: clean-am
386
387 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
388 mostlyclean-am
389
390 distclean: distclean-am
391 -rm -rf ./$(DEPDIR)
392 -rm -f Makefile
393 distclean-am: clean-am distclean-compile distclean-generic \
394 distclean-libtool distclean-tags
395
396 dvi: dvi-am
397
398 dvi-am:
399
400 info: info-am
401
402 info-am:
403
404 install-data-am:
405
406 install-exec-am: install-libLTLIBRARIES
407
408 install-info: install-info-am
409
410 install-man:
411
412 installcheck-am:
413
414 maintainer-clean: maintainer-clean-am
415 -rm -rf ./$(DEPDIR)
416 -rm -f Makefile
417 maintainer-clean-am: distclean-am maintainer-clean-generic
418
419 mostlyclean: mostlyclean-am
420
421 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
422 mostlyclean-libtool
423
424 pdf: pdf-am
425
426 pdf-am:
427
428 ps: ps-am
429
430 ps-am:
431
432 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
433
434 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
435 clean-libLTLIBRARIES clean-libtool ctags distclean \
436 distclean-compile distclean-generic distclean-libtool \
437 distclean-tags distdir dvi dvi-am info info-am install \
438 install-am install-data install-data-am install-exec \
439 install-exec-am install-info install-info-am \
440 install-libLTLIBRARIES install-man install-strip installcheck \
441 installcheck-am installdirs maintainer-clean \
442 maintainer-clean-generic mostlyclean mostlyclean-compile \
443 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
444 tags uninstall uninstall-am uninstall-info-am \
445 uninstall-libLTLIBRARIES
446
447 # Tell versions [3.59,3.63) of GNU make to not export all variables.
448 # Otherwise a system limit (for SysV at least) may be exceeded.
449 .NOEXPORT: