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