f637f641b3a71823ff1c68d0d8b200f7a5ab26b8
[public/netxms.git] / src / libnetxms / Makefile.am
1 SOURCES = array.cpp base64.cpp bytestream.cpp cc_mb.cpp cc_ucs2.cpp \
2 cc_ucs4.cpp cc_utf8.cpp cch.cpp config.cpp crypto.cpp \
3 dirw_unix.c geolocation.cpp getopt.c dload.cpp hash.cpp \
4 hashmapbase.cpp ice.c icmp.cpp icmp6.cpp iconv.cpp \
5 inet_pton.c inetaddr.cpp log.cpp lz4.c main.cpp md5.cpp message.cpp \
6 msgrecv.cpp msgwq.cpp net.cpp nxcp.cpp pa.cpp parisc_atomic.cpp \
7 qsort.c queue.cpp rwlock.cpp scandir.c serial.cpp sha1.cpp sha2.cpp \
8 solaris9_atomic.c spoll.cpp streamcomp.cpp string.cpp \
9 stringlist.cpp strmap.cpp strmapbase.cpp strptime.c strset.cpp \
10 strtoll.c strtoull.c table.cpp threads.cpp timegm.c tools.cpp \
11 tp.cpp unicode.cpp uuid.cpp wcstoll.c wcstoull.c xml.cpp \
12 wcscasecmp.cpp wcsncasecmp.cpp
13
14 lib_LTLIBRARIES = libnetxms.la
15
16 if HPUX_HPPA
17 libnetxms_la_SOURCES = ldcw.s $(SOURCES)
18 else
19 libnetxms_la_SOURCES = $(SOURCES)
20 endif
21 libnetxms_la_CPPFLAGS=-I@top_srcdir@/include
22 if USE_INTERNAL_EXPAT
23 libnetxms_la_CPPFLAGS+=-I@top_srcdir@/src/libexpat/libexpat
24 endif
25 libnetxms_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
26 libnetxms_la_LIBADD =
27 if USE_INTERNAL_EXPAT
28 libnetxms_la_LIBADD += ../libexpat/libexpat/libnxexpat.la
29 endif
30 if USE_INTERNAL_LIBTRE
31 libnetxms_la_LIBADD += ../libtre/libnxtre.la
32 endif
33 if USE_INTERNAL_ZLIB
34 libnetxms_la_CPPFLAGS += -I../zlib
35 libnetxms_la_LIBADD += ../zlib/libnxzlib.la
36 endif
37
38 EXTRA_DIST = \
39 libnetxms.vcproj \
40 libnetxms.h ice.h lz4.h md5.h sha1.h sha2.h strmap-internal.h unicode_cc.h \
41 dir.cpp dirw.cpp \
42 seh.cpp StackWalker.cpp StackWalker.h \
43 ldcw.s