libnxsrv and nxcore moved to VS2005 (nxcore cannot be linked because libnxsl not...
[public/netxms.git] / src / server / core / Makefile.am
CommitLineData
5039dede
AK
1# vim:ts=3:sw=3
2
3INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
4
5lib_LTLIBRARIES = libnxcore.la
6libnxcore_la_SOURCES = acl.cpp agent.cpp actions.cpp admin.cpp alarm.cpp \
7 audit.cpp beacon.cpp cert.cpp client.cpp \
8 cluster.cpp condition.cpp config.cpp \
9 container.cpp correlate.cpp datacoll.cpp \
10 dbwrite.cpp dcitem.cpp dcithreshold.cpp dcivalue.cpp \
11 debug.cpp ef.cpp email.cpp entirenet.cpp epp.cpp \
12 events.cpp evproc.cpp hk.cpp id.cpp image.cpp \
13 interface.cpp isc.cpp layer2.cpp locks.cpp lpp.cpp \
14 main.cpp map.cpp modules.cpp netinfo.cpp netobj.cpp \
15 netsrv.cpp node.cpp nortel.cpp np.cpp nxmp_data.cpp \
944016d6 16 lex.nxmp_parser.cpp nxmp_lexer.cpp \
5039dede
AK
17 nxmp_parser.cpp nxmp_parser.tab.cpp \
18 nxsl_classes.cpp nxslext.cpp objects.cpp \
19 objtools.cpp package.cpp poll.cpp radius.cpp \
20 rootobj.cpp script.cpp session.cpp situation.cpp \
21 sms.cpp snmp.cpp snmptrap.cpp subnet.cpp syncer.cpp \
22 syslogd.cpp template.cpp tools.cpp tracert.cpp \
23 uniroot.cpp users.cpp vpnconn.cpp watchdog.cpp \
24 webmaps.cpp zone.cpp
25libnxcore_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
26libnxcore_la_LIBADD = ../../libnetxms/libnetxms.la \
27 ../../libnxsnmp/libnxsnmp.la \
28 ../../libnxmap/libnxmap.la \
29 ../../libnxlp/libnxlp.la \
30 ../libnxsrv/libnxsrv.la ../../libnxsl/libnxsl.la
31
32EXTRA_DIST = \
944016d6 33 nxcore.vcproj \
5039dede
AK
34 nxcore.h radius.h \
35 nxmp_parser.l nxmp_parser.y nxmp_parser.h nxmp_parser.tab.hpp
36
37nxmp_data.cpp: nxmp_parser.tab.cpp
38
944016d6
VK
39lex.nxmp_parser.cpp: nxmp_parser.l nxmp_parser.tab.cpp nxmp_parser.tab.hpp
40 $(LEX) -B -f -8 -olex.nxmp_parser.cpp nxmp_parser.l
5039dede
AK
41
42nxmp_parser.tab.cpp: nxmp_parser.y
43 $(YACC) -b nxmp_parser -o nxmp_parser.tab.cpp -d -t -v nxmp_parser.y
44 mv nxmp_parser.tab.cpp nxmp_parser.tab.xx
45 sed -e "s/__attribute__ ((__unused__))//" nxmp_parser.tab.xx > nxmp_parser.tab.cpp
46 rm nxmp_parser.tab.xx