outdated object image stuff removed
[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
a6d66d3a
VK
6libnxcore_la_SOURCES = acl.cpp agent.cpp agent_policy.cpp actions.cpp \
7 admin.cpp alarm.cpp \
5039dede
AK
8 audit.cpp beacon.cpp cert.cpp client.cpp \
9 cluster.cpp condition.cpp config.cpp \
10 container.cpp correlate.cpp datacoll.cpp \
11 dbwrite.cpp dcitem.cpp dcithreshold.cpp dcivalue.cpp \
12 debug.cpp ef.cpp email.cpp entirenet.cpp epp.cpp \
6e53f004 13 events.cpp evproc.cpp hk.cpp id.cpp \
ab621f39
VK
14 interface.cpp isc.cpp job.cpp jobmgr.cpp jobqueue.cpp \
15 layer2.cpp locks.cpp \
5039dede
AK
16 main.cpp map.cpp modules.cpp netinfo.cpp netobj.cpp \
17 netsrv.cpp node.cpp nortel.cpp np.cpp nxmp_data.cpp \
944016d6 18 lex.nxmp_parser.cpp nxmp_lexer.cpp \
5039dede
AK
19 nxmp_parser.cpp nxmp_parser.tab.cpp \
20 nxsl_classes.cpp nxslext.cpp objects.cpp \
21 objtools.cpp package.cpp poll.cpp radius.cpp \
22 rootobj.cpp script.cpp session.cpp situation.cpp \
23 sms.cpp snmp.cpp snmptrap.cpp subnet.cpp syncer.cpp \
24 syslogd.cpp template.cpp tools.cpp tracert.cpp \
c9ff3e59
VK
25 uniroot.cpp userdb.cpp userdb_objects.cpp vpnconn.cpp \
26 watchdog.cpp webmaps.cpp zone.cpp
5039dede
AK
27libnxcore_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
28libnxcore_la_LIBADD = ../../libnetxms/libnetxms.la \
376e15e8 29 ../../snmp/libnxsnmp/libnxsnmp.la \
5039dede
AK
30 ../../libnxmap/libnxmap.la \
31 ../../libnxlp/libnxlp.la \
32 ../libnxsrv/libnxsrv.la ../../libnxsl/libnxsl.la
33
34EXTRA_DIST = \
944016d6 35 nxcore.vcproj \
5039dede
AK
36 nxcore.h radius.h \
37 nxmp_parser.l nxmp_parser.y nxmp_parser.h nxmp_parser.tab.hpp
38
39nxmp_data.cpp: nxmp_parser.tab.cpp
40
944016d6
VK
41lex.nxmp_parser.cpp: nxmp_parser.l nxmp_parser.tab.cpp nxmp_parser.tab.hpp
42 $(LEX) -B -f -8 -olex.nxmp_parser.cpp nxmp_parser.l
5039dede 43
3fb1cac6
VK
44nxmp_parser.tab.hpp: nxmp_parser.tab.cpp
45
5039dede
AK
46nxmp_parser.tab.cpp: nxmp_parser.y
47 $(YACC) -b nxmp_parser -o nxmp_parser.tab.cpp -d -t -v nxmp_parser.y
48 mv nxmp_parser.tab.cpp nxmp_parser.tab.xx
49 sed -e "s/__attribute__ ((__unused__))//" nxmp_parser.tab.xx > nxmp_parser.tab.cpp
50 rm nxmp_parser.tab.xx