more Windows makefiles added
authorVictor Kirhenshtein <victor@netxms.org>
Sun, 19 Feb 2017 21:15:03 +0000 (23:15 +0200)
committerVictor Kirhenshtein <victor@netxms.org>
Sun, 19 Feb 2017 21:15:03 +0000 (23:15 +0200)
33 files changed:
Makefile.inc.w32
src/server/Makefile.am
src/server/Makefile.w32
src/server/core/Makefile.w32 [new file with mode: 0644]
src/server/drivers/Makefile.am
src/server/drivers/Makefile.w32 [new file with mode: 0644]
src/server/drivers/airespace/Makefile.w32 [new file with mode: 0644]
src/server/drivers/at/Makefile.am
src/server/drivers/at/Makefile.w32 [new file with mode: 0644]
src/server/drivers/baystack/Makefile.am
src/server/drivers/baystack/Makefile.w32 [new file with mode: 0644]
src/server/drivers/cat2900xl/Makefile.am
src/server/drivers/cat2900xl/Makefile.w32 [new file with mode: 0644]
src/server/drivers/catalyst/Makefile.am
src/server/drivers/catalyst/Makefile.w32 [new file with mode: 0644]
src/server/drivers/cisco-esw/Makefile.am
src/server/drivers/cisco-esw/Makefile.w32 [new file with mode: 0644]
src/server/drivers/cisco-sb/Makefile.am
src/server/drivers/cisco-sb/Makefile.w32 [new file with mode: 0644]
src/server/drivers/dell-pwc/Makefile.am
src/server/drivers/dell-pwc/Makefile.w32 [new file with mode: 0644]
src/server/drivers/dlink/Makefile.am
src/server/drivers/dlink/Makefile.w32 [new file with mode: 0644]
src/server/drivers/ers8000/Makefile.am
src/server/drivers/ers8000/Makefile.w32 [new file with mode: 0644]
src/server/drivers/h3c/Makefile.am
src/server/drivers/h3c/Makefile.w32 [new file with mode: 0644]
src/server/drivers/lib/Makefile.am
src/server/drivers/lib/Makefile.w32 [new file with mode: 0644]
src/server/drivers/lib/avaya-ers/Makefile.am
src/server/drivers/lib/avaya-ers/Makefile.w32 [new file with mode: 0644]
src/server/drivers/lib/cisco/Makefile.am
src/server/drivers/lib/cisco/Makefile.w32 [new file with mode: 0644]

index 9ebbb1a..3c973fd 100644 (file)
@@ -48,26 +48,15 @@ JDK_BASE = C:\Program Files\Java\jdk1.8.0_121
 !endif
 
 # Binaries directory
-BINDIR = $(NETXMS_BASE)\bin\$(OBJDIR)
-
-# Output files
-!ifdef TARGET
-BINFILE = $(BINDIR)\$(TARGET)
-!endif
-
-# Common C/C++ compiler flags
-CPPFLAGS = $(CPPFLAGS) /O2 /Gd /EHs- /GR- \
-       /I "$(NETXMS_BASE)\include" \
-       /I "$(NETXMS_BASE)\build" \
-       /I "$(CURL_BASE)\$(ARCH)\include" \
-       /I "$(OPENSSL_BASE)\$(ARCH)\include" \
-       /D_MT /DUNICODE
+NETXMS_LIBDIR = $(NETXMS_BASE)\bin\$(OBJDIR)
+BINDIR = $(NETXMS_LIBDIR)
 
+# Component specific settings
 !if "$(COMPONENT)" == "server"
 CPPFLAGS = $(CPPFLAGS) /I "$(NETXMS_BASE)\src\server\include"
 !endif
        
-# Common linker flags
+# Target specific settings
 !if "$(TYPE)" == "dll"
 CPPFLAGS = $(CPPFLAGS) /D_USRDLL
 IMPLIB = $(BINFILE:.dll=.lib)
@@ -77,13 +66,28 @@ LDFLAGS = $(LDFLAGS) /DLL /IMPLIB:$(IMPLIB)
 CPPFLAGS = $(CPPFLAGS) /D_USRDLL
 LDFLAGS = $(LDFLAGS) /DLL
 !endif
+!if "$(TYPE)" == "ndd"
+BINDIR = $(BINDIR)\ndd
+CPPFLAGS = $(CPPFLAGS) /D_USRDLL
+LDFLAGS = $(LDFLAGS) /DLL
+!endif
 !if "$(TYPE)" == "nsm"
 CPPFLAGS = $(CPPFLAGS) /D_USRDLL
 LDFLAGS = $(LDFLAGS) /DLL
 !endif
+
+# Common C/C++ compiler flags
+CPPFLAGS = $(CPPFLAGS) /O2 /Gd /EHs- /GR- \
+       /I "$(NETXMS_BASE)\include" \
+       /I "$(NETXMS_BASE)\build" \
+       /I "$(CURL_BASE)\$(ARCH)\include" \
+       /I "$(OPENSSL_BASE)\$(ARCH)\include" \
+       /D_MT /DUNICODE
+
+# Common linker flags
 MANIFEST = $(TARGET).intermediate.manifest
 LDFLAGS = $(LDFLAGS) /SUBSYSTEM:CONSOLE /MACHINE:$(ARCH) /MANIFESTFILE:$(MANIFEST) \
-       /LIBPATH:"$(BINDIR)" \
+       /LIBPATH:"$(NETXMS_LIBDIR)" \
        /LIBPATH:"$(CURL_BASE)\$(ARCH)\lib" \
        /LIBPATH:"$(OPENSSL_BASE)\$(ARCH)\lib" \
        /LIBPATH:"$(WINDDK_BASE)\lib\wnet\$(WINDDK_ARCH)"
@@ -98,6 +102,11 @@ OBJ = $(__sources:.c=.obj)
 # Source directory
 SRCDIR = $(MAKEDIR)
 
+# Output files
+!ifdef TARGET
+BINFILE = $(BINDIR)\$(TARGET)
+!endif
+
 all: Makefile.w32 subdirs $(GENERATED) $(BINFILE)
 
 # Build target
@@ -115,7 +124,7 @@ $(BINFILE): pom.xml
 $(BINFILE): objdir $(OBJ)
    @if not exist $(BINDIR) mkdir $(BINDIR)
    @echo "    LD " $(TARGET)
-   @$(LD) /NOLOGO $(LDFLAGS) /out:$(BINFILE) $(OBJ) $(LIBS)
+   $(LD) /NOLOGO $(LDFLAGS) /out:$(BINFILE) $(OBJ) $(LIBS)
        @rm -f $(MANIFEST)
 
 .PHONY: objdir
index 16b8a39..8f981e3 100644 (file)
@@ -9,3 +9,5 @@
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 SUBDIRS = @SERVER_INCLUDE@ libnxsrv core netxmsd tools drivers hdlink pdsdrv
+
+EXTRA_DIST = Makefile.w32
index 30ac69c..1200f43 100644 (file)
@@ -1,3 +1,3 @@
-SUBDIRS = libnxsrv
+SUBDIRS = libnxsrv core drivers
 
 include ..\..\Makefile.inc.w32
diff --git a/src/server/core/Makefile.w32 b/src/server/core/Makefile.w32
new file mode 100644 (file)
index 0000000..1bab65b
--- /dev/null
@@ -0,0 +1,41 @@
+TARGET = nxcore.dll
+TYPE = dll
+COMPONENT = server
+SOURCES =  accesspoint.cpp acl.cpp actions.cpp addrlist.cpp \
+       admin.cpp agent.cpp agent_policy.cpp alarm.cpp alarm_category.cpp audit.cpp \
+       ap_config.cpp ap_jobs.cpp ap_logparser.cpp beacon.cpp bizservice.cpp \
+       bizsvcroot.cpp bridge.cpp cas_validator.cpp ccy.cpp cdp.cpp \
+       cert.cpp chassis.cpp client.cpp cluster.cpp columnfilter.cpp \
+       components.cpp condition.cpp config.cpp console.cpp \
+       container.cpp correlate.cpp dashboard.cpp datacoll.cpp dbwrite.cpp \
+       dc_nxsl.cpp dcitem.cpp dcithreshold.cpp dcivalue.cpp \
+       dcobject.cpp dcst.cpp dctable.cpp dctarget.cpp \
+       dctcolumn.cpp dctthreshold.cpp debug.cpp dfile_info.cpp \
+       download_job.cpp ef.cpp email.cpp entirenet.cpp \
+       epp.cpp events.cpp evproc.cpp fdb.cpp \
+       filemonitoring.cpp graph.cpp hdlink.cpp hk.cpp id.cpp \
+       import.cpp inaddr_index.cpp index.cpp interface.cpp \
+       isc.cpp job.cpp jobmgr.cpp jobqueue.cpp layer2.cpp \
+       ldap.cpp lln.cpp lldp.cpp locks.cpp logfilter.cpp \
+       loghandle.cpp logs.cpp macdb.cpp main.cpp maint.cpp \
+       market.cpp mdconn.cpp mdsession.cpp mobile.cpp \
+       modules.cpp mt.cpp ndd.cpp ndp.cpp \
+       netinfo.cpp netmap.cpp netobj.cpp netsrv.cpp \
+       node.cpp nodelink.cpp np.cpp npe.cpp nxsl_classes.cpp \
+       nxslext.cpp objects.cpp objtools.cpp package.cpp \
+       pds.cpp poll.cpp ps.cpp rack.cpp radius.cpp \
+       reporting.cpp rootobj.cpp schedule.cpp script.cpp \
+       session.cpp slmcheck.cpp smclp.cpp \
+       sms.cpp snmp.cpp snmptrap.cpp stp.cpp subnet.cpp summary_email.cpp \
+       svccontainer.cpp swpkg.cpp syncer.cpp syslogd.cpp \
+       template.cpp tools.cpp tracert.cpp \
+       uniroot.cpp upload_job.cpp uptimecalc.cpp userdb.cpp \
+       userdb_objects.cpp vpnconn.cpp vrrp.cpp watchdog.cpp \
+       winperf.cpp xmpp.cpp zeromq.cpp zone.cpp
+
+CPPFLAGS = /DNXCORE_EXPORTS
+LIBS = libnxsrv.lib libnxsnmp.lib libnxlp.lib libnxsl.lib libnxmap.lib \
+   libnxdb.lib libnxagent.lib libnetxms.lib libstrophe.lib libtre.lib \
+   ws2_32.lib iphlpapi.lib psapi.lib wldap32.lib
+         
+include ..\..\..\Makefile.inc.w32
index da61c2f..73fd92c 100644 (file)
@@ -11,3 +11,5 @@
 SUBDIRS = lib airespace at baystack cat2900xl catalyst cisco-esw cisco-sb \
          dell-pwc dlink ers8000 h3c hpsw mikrotik netscreen ntws ping3 procurve \
          qtech-olt symbol-ws tb ubnt
+
+EXTRA_DIST = Makefile.w32
diff --git a/src/server/drivers/Makefile.w32 b/src/server/drivers/Makefile.w32
new file mode 100644 (file)
index 0000000..f06d33c
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS = lib airespace at baystack cat2900xl catalyst cisco-esw cisco-sb \
+       dell-pwc dlink ers8000 h3c
+
+include ..\..\..\Makefile.inc.w32
diff --git a/src/server/drivers/airespace/Makefile.w32 b/src/server/drivers/airespace/Makefile.w32
new file mode 100644 (file)
index 0000000..bc58075
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = airespace.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = airespace.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index e9be962..64c56ec 100644 (file)
@@ -10,7 +10,8 @@ at_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        at.vcproj \
-       at.h
+       at.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/at/Makefile.w32 b/src/server/drivers/at/Makefile.w32
new file mode 100644 (file)
index 0000000..14259fa
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = at.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = at.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index d7491c2..fc8aa82 100644 (file)
@@ -9,7 +9,8 @@ baystack_la_LIBADD = ../lib/avaya-ers/libavaya-ers.la ../../libnxsrv/libnxsrv.la
 
 EXTRA_DIST = \
        baystack.vcproj \
-       baystack.h
+       baystack.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/baystack/Makefile.w32 b/src/server/drivers/baystack/Makefile.w32
new file mode 100644 (file)
index 0000000..5f9838e
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = baystack.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = baystack.cpp
+
+LIBS = avaya-ers.lib libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 4760400..23da187 100644 (file)
@@ -11,7 +11,8 @@ cat2900xl_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        cat2900xl.vcproj \
-       cat2900xl.h
+       cat2900xl.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/cat2900xl/Makefile.w32 b/src/server/drivers/cat2900xl/Makefile.w32
new file mode 100644 (file)
index 0000000..f546dce
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = cat2900xl.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = cat2900xl.cpp
+
+LIBS = cisco.lib libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 93653f7..02ebd42 100644 (file)
@@ -8,7 +8,8 @@ catalyst_la_LIBADD = ../lib/cisco/libcisco.la ../../libnxsrv/libnxsrv.la ../../.
 
 EXTRA_DIST = \
        catalyst.vcproj \
-       catalyst.h
+       catalyst.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/catalyst/Makefile.w32 b/src/server/drivers/catalyst/Makefile.w32
new file mode 100644 (file)
index 0000000..45399f7
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = catalyst.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = catalyst.cpp
+
+LIBS = cisco.lib libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index edfec40..a5d42f3 100644 (file)
@@ -10,7 +10,8 @@ cisco_esw_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        cisco-esw.vcproj \
-       cisco-esw.h
+       cisco-esw.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/cisco-esw/Makefile.w32 b/src/server/drivers/cisco-esw/Makefile.w32
new file mode 100644 (file)
index 0000000..dc54907
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = cisco-esw.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = cisco-esw.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 1b4edd5..e07f7b3 100644 (file)
@@ -10,7 +10,8 @@ cisco_sb_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        cisco-sb.vcproj \
-       cisco-sb.h
+       cisco-sb.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/cisco-sb/Makefile.w32 b/src/server/drivers/cisco-sb/Makefile.w32
new file mode 100644 (file)
index 0000000..2ba88c3
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = cisco-sb.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = cisco-sb.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 8d6c16e..2cc440c 100644 (file)
@@ -10,7 +10,8 @@ dell_pwc_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        dell-pwc.vcproj \
-       dell-pwc.h
+       dell-pwc.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/dell-pwc/Makefile.w32 b/src/server/drivers/dell-pwc/Makefile.w32
new file mode 100644 (file)
index 0000000..0e3912a
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = dell-pwc.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = dell-pwc.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index b5bcc2f..cce44a9 100644 (file)
@@ -10,7 +10,8 @@ dlink_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        dlink.vcproj \
-       dlink.h
+       dlink.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/dlink/Makefile.w32 b/src/server/drivers/dlink/Makefile.w32
new file mode 100644 (file)
index 0000000..7ad4e89
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = dlink.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = dlink.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 534f4fa..3a9198a 100644 (file)
@@ -8,7 +8,8 @@ ers8000_la_LIBADD = ../../../libnetxms/libnetxms.la ../../libnxsrv/libnxsrv.la .
 
 EXTRA_DIST = \
        ers8000.vcproj \
-       ers8000.h
+       ers8000.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/ers8000/Makefile.w32 b/src/server/drivers/ers8000/Makefile.w32
new file mode 100644 (file)
index 0000000..d36ba1c
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = ers8000.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = ers8000.cpp
+
+LIBS = avaya-ers.lib libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 35e1efe..0562aba 100644 (file)
@@ -10,7 +10,8 @@ h3c_la_LIBADD = ../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        h3c.vcproj \
-       h3c.h
+       h3c.h \
+       Makefile.w32
 
 install-exec-hook:
        if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
diff --git a/src/server/drivers/h3c/Makefile.w32 b/src/server/drivers/h3c/Makefile.w32
new file mode 100644 (file)
index 0000000..cac8585
--- /dev/null
@@ -0,0 +1,8 @@
+TARGET = h3c.ndd
+TYPE = ndd
+COMPONENT = server
+SOURCES = h3c.cpp
+
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib ws2_32.lib
+         
+include ..\..\..\..\Makefile.inc.w32
index 0b74d2b..05e2826 100644 (file)
@@ -9,3 +9,5 @@
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 SUBDIRS = avaya-ers cisco
+
+EXTRA_DIST = Makefile.w32
diff --git a/src/server/drivers/lib/Makefile.w32 b/src/server/drivers/lib/Makefile.w32
new file mode 100644 (file)
index 0000000..3f38682
--- /dev/null
@@ -0,0 +1,3 @@
+SUBDIRS = avaya-ers cisco
+
+include ..\..\..\..\Makefile.inc.w32
index fd7e75a..e4a3fe5 100644 (file)
@@ -8,4 +8,5 @@ libavaya_ers_la_LIBADD = ../../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        avaya-ers.vcproj \
-       avaya-ers.h
+       avaya-ers.h \
+       Makefile.w32
diff --git a/src/server/drivers/lib/avaya-ers/Makefile.w32 b/src/server/drivers/lib/avaya-ers/Makefile.w32
new file mode 100644 (file)
index 0000000..f020f6a
--- /dev/null
@@ -0,0 +1,9 @@
+TARGET = avaya-ers.dll
+TYPE = dll
+COMPONENT = server
+SOURCES = avaya-ers.cpp vlan-if.cpp
+
+CPPFLAGS = /DAVAYAERS_EXPORTS
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib
+         
+include ..\..\..\..\..\Makefile.inc.w32
index 9b17856..4355416 100644 (file)
@@ -8,4 +8,6 @@ libcisco_la_LIBADD = ../../../../libnetxms/libnetxms.la \
 
 EXTRA_DIST = \
        cisco.vcproj \
-       cisco.h
+       cisco.h \
+       Makefile.w32
+
diff --git a/src/server/drivers/lib/cisco/Makefile.w32 b/src/server/drivers/lib/cisco/Makefile.w32
new file mode 100644 (file)
index 0000000..8aa570a
--- /dev/null
@@ -0,0 +1,9 @@
+TARGET = cisco.dll
+TYPE = dll
+COMPONENT = server
+SOURCES = cisco.cpp
+
+CPPFLAGS = /DCISCO_EXPORTS
+LIBS = libnxsrv.lib libnxsnmp.lib libnetxms.lib
+         
+include ..\..\..\..\..\Makefile.inc.w32