b745e7fec3f6be412c7356edcda94f3267ec757e
[public/netxms.git] / src / agent / core / Makefile.am
1 EXTRA_DIST = \
2 Makefile.nw nxagentd.def \
3 nxagentd.dsw nxagentd.dsp \
4 messages.mc \
5 nxagentd.rc \
6 win32.cpp resource.h \
7 nxagentd.h \
8 hddinfo.cpp
9
10 INCLUDES=-I@top_srcdir@/include
11
12 bin_PROGRAMS = nxagentd
13 nxagentd_SOURCES = messages.c actions.cpp comm.cpp config.cpp exec.cpp getparam.cpp log.cpp lpp.cpp nxagentd.cpp session.cpp static_subagents.cpp subagent.cpp sysinfo.cpp tools.cpp trap.cpp upgrade.cpp
14 nxagentd_LDADD = @PTHREAD_LIBS@ ../../libnetxms/libnetxms.la ../../libnxcscp/libnxcscp.la @SUBAGENT_LIBS@
15 AM_CPPFLAGS = $(all_includes) -DPREFIX=\"@prefix@\"
16 CLEANFILES = messages.c messages.h static_subagents.cpp
17
18 messages.c: messages.h
19
20 messages.h: messages.mc
21 $(PERL) @top_builddir@/tools/mc.pl messages.mc
22
23 static_subagents.cpp: @top_srcdir@/config.h
24 @top_builddir@/tools/create_ssa_list.sh "@STATIC_SUBAGENT_LIST@" > static_subagents.cpp