d74c2466372a47a83ae43b4418feb127c5d2d55d
[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 debug_tag_tree.cpp diff.cpp \
3 dirw_unix.c geolocation.cpp getopt.c dload.cpp hash.cpp \
4 hashmapbase.cpp ice.c icmp.cpp icmp6.cpp iconv.cpp inet_pton.c \
5 inetaddr.cpp log.cpp lz4.c main.cpp macaddr.cpp md5.cpp message.cpp \
6 msgrecv.cpp msgwq.cpp net.cpp nxcp.cpp nxproc.cpp nxproc_unix.cpp \
7 pa.cpp parisc_atomic.cpp \
8 qsort.c queue.cpp rbuffer.cpp rwlock.cpp scandir.c serial.cpp \
9 sha1.cpp sha2.cpp solaris9_atomic.c spoll.cpp streamcomp.cpp \
10 string.cpp stringlist.cpp strlcat.c strlcpy.c strmap.cpp \
11 strmapbase.cpp strptime.c \
12 strset.cpp strtoll.c strtoull.c table.cpp threads.cpp timegm.c \
13 tools.cpp tp.cpp unicode.cpp uuid.cpp wcstoll.c wcstoull.c xml.cpp \
14 wcscasecmp.cpp wcslcat.c wcslcpy.c wcsncasecmp.cpp
15
16 lib_LTLIBRARIES = libnetxms.la
17
18 if HPUX_HPPA
19 libnetxms_la_SOURCES = ldcw.s $(SOURCES)
20 else
21 libnetxms_la_SOURCES = $(SOURCES)
22 endif
23
24 libnetxms_la_CPPFLAGS=-I@top_srcdir@/include
25 if USE_INTERNAL_EXPAT
26 libnetxms_la_CPPFLAGS+=-I@top_srcdir@/src/libexpat/libexpat
27 endif
28 if USE_INTERNAL_ZLIB
29 libnetxms_la_CPPFLAGS += -I../zlib
30 endif
31
32 libnetxms_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
33
34 libnetxms_la_LIBADD =
35 if USE_INTERNAL_EXPAT
36 libnetxms_la_LIBADD += ../libexpat/libexpat/libnxexpat.la
37 endif
38 if USE_INTERNAL_LIBTRE
39 libnetxms_la_LIBADD += ../libtre/libnxtre.la
40 endif
41 if USE_INTERNAL_ZLIB
42 libnetxms_la_LIBADD += ../zlib/libnxzlib.la
43 endif
44 if USE_INTERNAL_JANSSON
45 libnetxms_la_LIBADD += @top_srcdir@/src/jansson/libnxjansson.la
46 else
47 libnetxms_la_LIBADD += -ljansson
48 endif
49
50
51 EXTRA_DIST = \
52 libnetxms.vcproj \
53 libnetxms.h diff.h ice.h lz4.h md5.h sha1.h sha2.h strmap-internal.h unicode_cc.h \
54 dir.cpp dirw.cpp \
55 nxproc_win32.cpp \
56 seh.cpp StackWalker.cpp StackWalker.h \
57 ldcw.s