-INCLUDES=-I@top_srcdir@/include
SOURCES = appagent.cpp client.cpp message.cpp
lib_LTLIBRARIES = libappagent.la
libappagent_la_SOURCES = $(SOURCES)
+libappagent_la_CPPFLAGS=-I@top_srcdir@/include
libappagent_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libappagent_la_LIBADD = @top_srcdir@/src/libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
+AM_CPPFLAGS=-I@top_srcdir@/include
bin_PROGRAMS = nxagentd
nxagentd_SOURCES = messages.c actions.cpp comm.cpp config.cpp epp.cpp exec.cpp \
extagent.cpp getparam.cpp master.cpp nxagentd.cpp \
nxagentd_LDFLAGS = -static
endif
endif
-AM_CPPFLAGS = $(all_includes)
CLEANFILES = messages.c messages.h static_subagents.cpp
messages.c: messages.h
-INCLUDES=-I@top_srcdir@/include
SOURCES = main.cpp attr.cpp
lib_LTLIBRARIES = libnxsd.la
libnxsd_la_SOURCES = $(SOURCES)
+libnxsd_la_CPPFLAGS=-I@top_srcdir@/include
libnxsd_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
EXTRA_DIST = libnxsd.h libnxsd.vcproj
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = aix
pkglib_LTLIBRARIES = aix.la
aix_la_SOURCES = cpu.cpp disk.cpp iostat.cpp main.cpp net.cpp proc.cpp system.cpp
+aix_la_CPPFLAGS=-I@top_srcdir@/include
aix_la_LDFLAGS = -module -avoid-version
aix_la_LIBADD = -lperfstat ../../../libnetxms/libnetxms.la
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT=darwin
pkglib_LTLIBRARIES=darwin.la
darwin_la_SOURCES=darwin.cpp net.cpp system.cpp disk.cpp cpu.cpp
+darwin_la_CPPFLAGS=-I@top_srcdir@/include
darwin_la_LDFLAGS=-module -avoid-version
darwin_la_LIBADD=../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = ecs
pkglib_LTLIBRARIES = ecs.la
ecs_la_SOURCES = ecs.cpp
+ecs_la_CPPFLAGS=-I@top_srcdir@/include
ecs_la_LDFLAGS = -module -avoid-version
ecs_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = freebsd
pkglib_LTLIBRARIES = freebsd.la
freebsd_la_SOURCES = disk.cpp freebsd.cpp net.cpp proc.cpp system.cpp
+freebsd_la_CPPFLAGS=-I@top_srcdir@/include
freebsd_la_LDFLAGS = -module -avoid-version -lkvm
freebsd_la_LIBADD = ../../../libnetxms/libnetxms.la
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = hpux
pkglib_LTLIBRARIES = hpux.la
hpux_la_SOURCES = disk.cpp iostat.cpp main.cpp net.cpp proc.cpp system.cpp
-hpux_la_CPPFLAGS = -D_PSTAT64
+hpux_la_CPPFLAGS = -I@top_srcdir@/include -D_PSTAT64
hpux_la_LIBADD = ../../../libnetxms/libnetxms.la -lnm
hpux_la_LDFLAGS = -module -avoid-version -lnm
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = informix
pkglib_LTLIBRARIES = informix.la
informix_la_SOURCES = main.cpp
+informix_la_CPPFLAGS=-I@top_srcdir@/include
informix_la_LDFLAGS = -module -avoid-version
informix_la_LIBADD = ../../../libnetxms/libnetxms.la ../../../db/libnxdb/libnxdb.la
-INCLUDES=-I@top_srcdir@/include
-
lib_LTLIBRARIES = libnsm_ipso.la
libnsm_ipso_la_SOURCES = disk.cpp ipso.cpp net.cpp system.cpp
+libnsm_ipso_CPPFLAGS=-I@top_srcdir@/include
libnsm_ipso_la_LDFLAGS = -lkvm
EXTRA_DIST = ipso.h
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = linux
pkglib_LTLIBRARIES = linux.la
linux_la_SOURCES = cpu.cpp disk.cpp drbd.cpp hddinfo.cpp iostat.cpp linux.cpp net.cpp proc.cpp system.cpp
+linux_la_CPPFLAGS=-I@top_srcdir@/include
linux_la_LDFLAGS = -module -avoid-version
linux_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = lmsensors
pkglib_LTLIBRARIES = lmsensors.la
lmsensors_la_SOURCES = main.cpp
+lmsensors_la_CPPFLAGS=-I@top_srcdir@/include
lmsensors_la_LDFLAGS = -module -avoid-version
lmsensors_la_LIBADD = ../../../libnetxms/libnetxms.la -lsensors
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = logwatch
pkglib_LTLIBRARIES = logwatch.la
logwatch_la_SOURCES = main.cpp
+logwatch_la_CPPFLAGS=-I@top_srcdir@/include
logwatch_la_LDFLAGS = -module -avoid-version
logwatch_la_LIBADD = @top_srcdir@/src/libnetxms/libnetxms.la @top_srcdir@/src/libnxlp/libnxlp.la
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
AM_CXXFLAGS=-fpermissive
SUBAGENT = netbsd
pkglib_LTLIBRARIES = netbsd.la
netbsd_la_SOURCES = netbsd.cpp system.cpp disk.cpp net.cpp proc.cpp proc2.cpp
+netbsd_la_CPPFLAGS=-I@top_srcdir@/include
netbsd_la_LDFLAGS = -module -avoid-version -lkvm
netbsd_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = odbcquery
pkglib_LTLIBRARIES = odbcquery.la
odbcquery_la_SOURCES = odbcquery.cpp odbcsapi.cpp
+odbcquery_la_CPPFLAGS=-I@top_srcdir@/include
odbcquery_la_LDFLAGS = -module -avoid-version
odbcquery_la_LIBADD = ../../../libnetxms/libnetxms.la @ODBC_LIBS@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
AM_CXXFLAGS=-fpermissive
SUBAGENT = openbsd
pkglib_LTLIBRARIES = openbsd.la
openbsd_la_SOURCES = openbsd.cpp system.cpp disk.cpp net.cpp
+openbsd_la_CPPFLAGS=-I@top_srcdir@/include
openbsd_la_LDFLAGS = -module -avoid-version -lkvm
openbsd_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = oracle
pkglib_LTLIBRARIES = oracle.la
oracle_la_SOURCES = main.cpp
+oracle_la_CPPFLAGS=-I@top_srcdir@/include
oracle_la_LDFLAGS = -module -avoid-version
oracle_la_LIBADD = ../../../libnetxms/libnetxms.la ../../../db/libnxdb/libnxdb.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = ping
pkglib_LTLIBRARIES = ping.la
ping_la_SOURCES = ping.cpp
+ping_la_CPPFLAGS=-I@top_srcdir@/include
ping_la_LDFLAGS = -module -avoid-version
ping_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = portcheck
pkglib_LTLIBRARIES = portcheck.la
portcheck_la_SOURCES = custom.cpp http.cpp main.cpp net.cpp pop3.cpp smtp.cpp ssh.cpp telnet.cpp
+portcheck_la_CPPFLAGS=-I@top_srcdir@/include
portcheck_la_LDFLAGS = -module -avoid-version
portcheck_la_LIBADD = ../../../libnetxms/libnetxms.la
if USE_INTERNAL_LIBTRE
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = sms
pkglib_LTLIBRARIES = sms.la
sms_la_SOURCES = main.cpp sender.cpp
+sms_la_CPPFLAGS=-I@top_srcdir@/include
sms_la_LDFLAGS = -module -avoid-version
sms_la_LIBADD = ../../../libnetxms/libnetxms.la
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = sunos
pkglib_LTLIBRARIES = sunos.la
sunos_la_SOURCES = cpu.cpp disk.cpp iostat.cpp mac_dlpi.cpp main.cpp net.cpp process.cpp system.cpp
+sunos_la_CPPFLAGS=-I@top_srcdir@/include
sunos_la_LDFLAGS = -module -avoid-version
sunos_la_LIBADD = ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SUBAGENT = ups
pkglib_LTLIBRARIES = ups.la
ups_la_SOURCES = apc.cpp bcmxcp.cpp main.cpp microdowell.cpp serial.cpp ups.cpp
+ups_la_CPPFLAGS=-I@top_srcdir@/include
ups_la_LDFLAGS = -module -avoid-version
ups_la_LIBADD= ../../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxappget
nxappget_SOURCES = nxappget.cpp
+nxappget_CPPFLAGS=-I@top_srcdir@/include
nxappget_LDADD = @top_srcdir@/src/libnetxms/libnetxms.la @top_srcdir@/src/agent/appagent/libappagent.la
if STATIC_BUILD
if ALL_STATIC
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxapush
nxapush_SOURCES = nxapush.cpp
+nxapush_CPPFLAGS=-I@top_srcdir@/include
nxapush_LDADD = @top_srcdir@/src/libnetxms/libnetxms.la
if STATIC_BUILD
if ALL_STATIC
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxalarm
nxalarm_SOURCES = nxalarm.cpp
+nxalarm_CPPFLAGS=-I@top_srcdir@/include
nxalarm_LDADD = ../../libnetxms/libnetxms.la ../../libnxmap/libnxmap.la ../../libnxcl/libnxcl.la
EXTRA_DIST = nxalarm.vcproj nxalarm.h
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxevent
nxevent_SOURCES = nxevent.cpp
+nxevent_CPPFLAGS=-I@top_srcdir@/include
nxevent_LDADD = ../../libnetxms/libnetxms.la ../../libnxmap/libnxmap.la ../../libnxcl/libnxcl.la
EXTRA_DIST = nxevent.vcproj nxevent.h
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxpush
nxpush_SOURCES = nxpush.cpp
+nxpush_CPPFLAGS=-I@top_srcdir@/include
nxpush_LDADD = ../../libnetxms/libnetxms.la ../../libnxmap/libnxmap.la ../../libnxcl/libnxcl.la
EXTRA_DIST = nxpush.vcproj
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxsms
nxsms_SOURCES = nxsms.cpp
+nxsms_CPPFLAGS=-I@top_srcdir@/include
nxsms_LDADD = ../../libnetxms/libnetxms.la ../../libnxmap/libnxmap.la ../../libnxcl/libnxcl.la
EXTRA_DIST = nxsms.vcproj nxsms.h
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = db2
pkglib_LTLIBRARIES = db2.la
db2_la_SOURCES = db2.cpp
+db2_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
db2_la_LDFLAGS = -module -avoid-version
db2_la_LIBADD = ../../../libnetxms/libnetxms.la @DB2_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = informix
pkglib_LTLIBRARIES = informix.la
informix_la_SOURCES = informix.cpp
+informix_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
informix_la_LDFLAGS = -module -avoid-version
informix_la_LIBADD = ../../../libnetxms/libnetxms.la @INFORMIX_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = mysql
pkglib_LTLIBRARIES = mysql.la
mysql_la_SOURCES = mysql.cpp
+mysql_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
mysql_la_LDFLAGS = -module -avoid-version
mysql_la_LIBADD = ../../../libnetxms/libnetxms.la @MYSQL_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = odbc
pkglib_LTLIBRARIES = odbc.la
odbc_la_SOURCES = odbc.cpp
+odbc_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
odbc_la_LDFLAGS = -module -avoid-version
odbc_la_LIBADD = ../../../libnetxms/libnetxms.la @ODBC_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = oracle
pkglib_LTLIBRARIES = oracle.la
oracle_la_SOURCES = oracle.cpp
+oracle_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
oracle_la_LDFLAGS = -module -avoid-version
oracle_la_LIBADD = ../../../libnetxms/libnetxms.la @ORACLE_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = pgsql
pkglib_LTLIBRARIES = pgsql.la
pgsql_la_SOURCES = pgsql.cpp
+pgsql_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
pgsql_la_LDFLAGS = -module -avoid-version
pgsql_la_LIBADD = ../../../libnetxms/libnetxms.la @PGSQL_LIBS@
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include -I@top_srcdir@/src/sqlite
-
DRIVER = sqlite
pkglib_LTLIBRARIES = sqlite.la
sqlite_la_SOURCES = sqlite.cpp
+sqlite_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include -I@top_srcdir@/src/sqlite
sqlite_la_LDFLAGS = -module -avoid-version
sqlite_la_LIBADD = ../../../libnetxms/libnetxms.la ../../../sqlite/libnxsqlite.la
-INCLUDES=-I@top_srcdir@/include
-
lib_LTLIBRARIES = libnxdb.la
libnxdb_la_SOURCES = dbcp.cpp drivers.cpp main.cpp session.cpp
+libnxdb_la_CPPFLAGS=-I@top_srcdir@/include
libnxdb_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxdb_la_LIBADD = ../../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
SOURCES = xmlparse.c xmlrole.c xmltok.c xmltok_impl.c xmltok_ns.c
lib_LTLIBRARIES = libnxexpat.la
libnxexpat_la_SOURCES = $(SOURCES)
-libnxexpat_la_CPPFLAGS = -DHAVE_EXPAT_CONFIG_H -I..
+libnxexpat_la_CPPFLAGS = -I@top_srcdir@/include -DHAVE_EXPAT_CONFIG_H -I..
libnxexpat_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include
-if USE_INTERNAL_EXPAT
-INCLUDES += -I@top_srcdir@/src/libexpat/libexpat
-endif
SOURCES = agent.cpp array.cpp base64.cpp config.cpp crypto.cpp dirw_unix.c \
gen_uuid.c geolocation.cpp getopt.c dload.cpp hash.cpp ice.c \
icmp.cpp log.cpp main.cpp md5.cpp message.cpp msgwq.cpp net.cpp \
lib_LTLIBRARIES = libnetxms.la
libnetxms_la_SOURCES = $(SOURCES)
+libnetxms_la_CPPFLAGS=-I@top_srcdir@/include
+if USE_INTERNAL_EXPAT
+libnetxms_la_CPPFLAGS+=-I@top_srcdir@/src/libexpat/libexpat
+endif
libnetxms_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnetxms_la_LIBADD =
if USE_INTERNAL_EXPAT
-INCLUDES=-I@top_srcdir@/include
-
SOURCES = actions.cpp agentcfg.cpp alarms.cpp cert.cpp comm.cpp \
datacoll.cpp epp.cpp eventdb.cpp events.cpp graph.cpp \
layer2.cpp main.cpp mib.cpp \
lib_LTLIBRARIES = libnxcl.la
libnxcl_la_SOURCES = $(SOURCES)
+libnxcl_la_CPPFLAGS=-I@top_srcdir@/include
libnxcl_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxcl_la_LIBADD = ../libnetxms/libnetxms.la ../libnxmap/libnxmap.la
-INCLUDES=-I@top_srcdir@/include
-if USE_INTERNAL_EXPAT
-INCLUDES += -I@top_srcdir@/src/libexpat/libexpat
-endif
-
SOURCES = file.cpp main.cpp parser.cpp rule.cpp
lib_LTLIBRARIES = libnxlp.la
libnxlp_la_SOURCES = $(SOURCES)
+libnxlp_la_CPPFLAGS=-I@top_srcdir@/include
libnxlp_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxlp_la_LIBADD = @top_srcdir@/src/libnetxms/libnetxms.la
+
if USE_INTERNAL_EXPAT
+libnxlp_la_CPPFLAGS+=-I@top_srcdir@/src/libexpat/libexpat
libnxlp_la_LIBADD += @top_srcdir@/src/libexpat/libexpat/libnxexpat.la
endif
+
if USE_INTERNAL_LIBTRE
libnxlp_la_LIBADD += @top_srcdir@/src/libtre/libnxtre.la
endif
-INCLUDES=-I@top_srcdir@/include
-
SOURCES = element.cpp link.cpp main.cpp objlist.cpp
lib_LTLIBRARIES = libnxmap.la
libnxmap_la_SOURCES = $(SOURCES)
+libnxmap_la_CPPFLAGS=-I@top_srcdir@/include
libnxmap_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxmap_la_LIBADD = ../libnetxms/libnetxms.la
-INCLUDES=-I@top_srcdir@/include
-
lib_LTLIBRARIES = libnxsl.la
libnxsl_la_SOURCES = lex.parser.cpp parser.tab.cpp \
array.cpp class.cpp compiler.cpp env.cpp functions.cpp \
instruction.cpp iterator.cpp lexer.cpp \
library.cpp main.cpp program.cpp stack.cpp value.cpp \
variable.cpp
+libnxsl_la_CPPFLAGS=-I@top_srcdir@/include
libnxsl_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsl_la_LIBADD = ../libnetxms/libnetxms.la
if USE_INTERNAL_LIBTRE
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxscript
nxscript_SOURCES = class.cpp nxscript.cpp
+nxscript_CPPFLAGS=-I@top_srcdir@/include
nxscript_LDADD = ../libnetxms/libnetxms.la ../libnxsl/libnxsl.la
if USE_INTERNAL_LIBTRE
# vim:ts=3:sw=3
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libnxcore.la
libnxcore_la_SOURCES = acl.cpp agent.cpp agent_policy.cpp actions.cpp \
admin.cpp alarm.cpp audit.cpp ap_config.cpp \
tools.cpp tracert.cpp uniroot.cpp upload_job.cpp \
uptimecalc.cpp userdb.cpp userdb_objects.cpp \
vpnconn.cpp vrrp.cpp watchdog.cpp zone.cpp
+libnxcore_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libnxcore_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxcore_la_LIBADD = ../../libnetxms/libnetxms.la \
../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = baystack
pkglib_LTLIBRARIES = baystack.la
baystack_la_SOURCES = baystack.cpp
+baystack_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
baystack_la_LDFLAGS = -module -avoid-version
baystack_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../lib/avaya-ers/libavaya-ers.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = cat2900xl
pkglib_LTLIBRARIES = cat2900xl.la
cat2900xl_la_SOURCES = cat2900xl.cpp
+cat2900xl_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
cat2900xl_la_LDFLAGS = -module -avoid-version
cat2900xl_la_LIBADD = ../../../libnetxms/libnetxms.la \
../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = catalyst
pkglib_LTLIBRARIES = catalyst.la
catalyst_la_SOURCES = catalyst.cpp
+catalyst_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
catalyst_la_LDFLAGS = -module -avoid-version
catalyst_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../lib/cisco/libcisco.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = cisco-esw
pkglib_LTLIBRARIES = cisco-esw.la
cisco_esw_la_SOURCES = cisco-esw.cpp
+cisco_esw_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
cisco_esw_la_LDFLAGS = -module -avoid-version
cisco_esw_la_LIBADD = ../../../libnetxms/libnetxms.la \
../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = dell-pwc
pkglib_LTLIBRARIES = dell-pwc.la
dell_pwc_la_SOURCES = dell-pwc.cpp
+dell_pwc_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
dell_pwc_la_LDFLAGS = -module -avoid-version
dell_pwc_la_LIBADD = ../../../libnetxms/libnetxms.la \
../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = ers8000
pkglib_LTLIBRARIES = ers8000.la
ers8000_la_SOURCES = ers8000.cpp
+ers8000_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
ers8000_la_LDFLAGS = -module -avoid-version
ers8000_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../lib/avaya-ers/libavaya-ers.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libavaya-ers.la
libavaya_ers_la_SOURCES = avaya-ers.cpp vlan-if.cpp
+libavaya_ers_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libavaya_ers_la_LDFLAGS = -avoid-version
libavaya_ers_la_LIBADD = ../../../../libnetxms/libnetxms.la \
../../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libcisco.la
libcisco_la_SOURCES = cisco.cpp
+libcisco_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libcisco_la_LDFLAGS = -avoid-version
libcisco_la_LIBADD = ../../../../libnetxms/libnetxms.la \
../../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = netscreen
pkglib_LTLIBRARIES = netscreen.la
netscreen_la_SOURCES = netscreen.cpp
+netscreen_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
netscreen_la_LDFLAGS = -module -avoid-version
netscreen_la_LIBADD = ../../../libnetxms/libnetxms.la \
../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
DRIVER = procurve
pkglib_LTLIBRARIES = procurve.la
procurve_la_SOURCES = procurve.cpp
+procurve_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
procurve_la_LDFLAGS = -module -avoid-version
procurve_la_LIBADD = ../../../libnetxms/libnetxms.la \
../../../snmp/libnxsnmp/libnxsnmp.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libnxsrv.la
libnxsrv_la_SOURCES = messages.c agent.cpp apinfo.cpp iflist.cpp isc.cpp \
main.cpp ndd.cpp snmp.cpp snmpproxy.cpp vlan.cpp
+libnxsrv_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libnxsrv_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsrv_la_LIBADD = ../../libnetxms/libnetxms.la ../../snmp/libnxsnmp/libnxsnmp.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = netxmsd
netxmsd_SOURCES = netxmsd.cpp
+netxmsd_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
netxmsd_LDADD = ../../libnetxms/libnetxms.la \
../../snmp/libnxsnmp/libnxsnmp.la \
../../libnxsl/libnxsl.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libnxsms_dummy.la
libnxsms_dummy_la_SOURCES = main.cpp
+libnxsms_dummy_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libnxsms_dummy_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsms_dummy_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libnxsms_generic.la
libnxsms_generic_la_SOURCES = main.cpp pdumode.cpp
+libnxsms_generic_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libnxsms_generic_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsms_generic_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
lib_LTLIBRARIES = libnxsms_nxagent.la
libnxsms_nxagent_la_SOURCES = main.cpp
+libnxsms_nxagent_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
libnxsms_nxagent_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsms_nxagent_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include\r
-\r
lib_LTLIBRARIES = libnxsms_portech.la\r
libnxsms_portech_la_SOURCES = main.cpp pdumode.cpp\r
+libnxsms_portech_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include\r
libnxsms_portech_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)\r
libnxsms_portech_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la\r
\r
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxaction
nxaction_SOURCES = nxaction.cpp
+nxaction_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxaction_LDADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../../../snmp/libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxadm
nxadm_SOURCES = comm.cpp nxadm.cpp
+nxadm_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxadm_LDADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../../../snmp/libnxsnmp/libnxsnmp.la @SERVER_LIBS@
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxap
nxap_SOURCES = nxap.cpp
+nxap_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxap_LDADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../../../snmp/libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include -I@top_srcdir@/src/sqlite
-
bin_PROGRAMS = nxdbmgr
nxdbmgr_SOURCES = nxdbmgr.cpp check.cpp clear.cpp export.cpp import.cpp \
init.cpp mm.cpp reindex.cpp tables.cpp unlock.cpp upgrade.cpp
+nxdbmgr_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include -I@top_srcdir@/src/sqlite
nxdbmgr_LDADD = ../../../libnetxms/libnetxms.la \
../../../db/libnxdb/libnxdb.la \
../../../libnxmap/libnxmap.la \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxencpasswd
nxencpasswd_SOURCES = nxencpasswd.cpp
+nxencpasswd_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxencpasswd_LDADD = ../../../libnetxms/libnetxms.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxget
nxget_SOURCES = nxget.cpp
+nxget_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxget_LDADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../../../snmp/libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxupload
nxupload_SOURCES = nxupload.cpp
+nxupload_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxupload_LDADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la ../../../snmp/libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include
-
SOURCES = ber.cpp engine.cpp main.cpp mib.cpp oid.cpp pdu.cpp \
security.cpp transport.cpp variable.cpp zfile.cpp
lib_LTLIBRARIES = libnxsnmp.la
libnxsnmp_la_SOURCES = $(SOURCES)
-libnxsnmp_la_CPPFLAGS =
+libnxsnmp_la_CPPFLAGS = -I@top_srcdir@/include
libnxsnmp_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
libnxsnmp_la_LIBADD = ../../libnetxms/libnetxms.la
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxmibc
nxmibc_SOURCES = array.cpp lex.parser.cpp mibparse.cpp nxmibc.cpp parser.tab.cpp
+nxmibc_CPPFLAGS=-I@top_srcdir@/include
nxmibc_LDADD = ../../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
EXTRA_DIST = nxmibc.vcproj nxmibc.h mibparse.h parser.l parser.y parser.tab.hpp
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxsnmpget
nxsnmpget_SOURCES = nxsnmpget.cpp
+nxsnmpget_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxsnmpget_LDADD = ../../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxsnmpset
nxsnmpset_SOURCES = nxsnmpset.cpp
+nxsnmpset_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxsnmpset_LDADD = ../../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
-
bin_PROGRAMS = nxsnmpwalk
nxsnmpwalk_SOURCES = nxsnmpwalk.cpp
+nxsnmpwalk_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
nxsnmpwalk_LDADD = ../../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
EXTRA_DIST = \
-INCLUDES=-I@top_srcdir@/include
SOURCES = sqlite3.c
lib_LTLIBRARIES = libnxsqlite.la
libnxsqlite_la_SOURCES = $(SOURCES)
+libnxsqlite_la_CPPFLAGS=-I@top_srcdir@/include
libnxsqlite_la_LDFLAGS = -version-info $(NETXMS_LIBRARY_VERSION)
EXTRA_DIST = sqlite3.h sqlite3ext.h dllmain.c nxsqlite.vcproj
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-INCLUDES=-I@top_srcdir@/include
-
bin_PROGRAMS = nxdevcfg
nxdevcfg_SOURCES = nxdevcfg.cpp
+nxdevcfg_CPPFLAGS=-I@top_srcdir@/include
nxdevcfg_LDADD = ../../libnetxms/libnetxms.la
if USE_INTERNAL_LIBTRE