added driver for Cisco ESW switches
[public/netxms.git] / src / server / drivers / cisco-esw / Makefile.am
1 INCLUDES=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
2
3 DRIVER = procurve
4
5 pkglib_LTLIBRARIES = cisco-esw.la
6 cisco_esw_la_SOURCES = cisco-esw.cpp
7 cisco_esw_la_LDFLAGS = -module -avoid-version
8 cisco_esw_la_LIBADD = ../../../libnetxms/libnetxms.la \
9 ../../../snmp/libnxsnmp/libnxsnmp.la \
10 ../../libnxsrv/libnxsrv.la
11
12 EXTRA_DIST = \
13 cisco-esw.vcproj \
14 cisco-esw.h
15
16 install-exec-hook:
17 if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE=@OBJECT_MODE@ $(AR) x $(DESTDIR)$(pkglibdir)/$(DRIVER).a $(DESTDIR)$(pkglibdir)/$(DRIVER).so ; rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).a ; fi
18 mkdir -p $(DESTDIR)$(pkglibdir)/ndd
19 mv $(DESTDIR)$(pkglibdir)/$(DRIVER).so $(DESTDIR)$(pkglibdir)/ndd/$(DRIVER).ndd
20 rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).la