fixed make dist
[public/netxms.git] / src / server / drivers / netonix / Makefile.am
CommitLineData
f17f7ebf
VK
1DRIVER = netonix
2
3pkglib_LTLIBRARIES = netonix.la
4netonix_la_SOURCES = netonix.cpp
5netonix_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
6netonix_la_LDFLAGS = -module -avoid-version
7netonix_la_LIBADD = ../../../libnetxms/libnetxms.la \
8 ../../../snmp/libnxsnmp/libnxsnmp.la \
9 ../../libnxsrv/libnxsrv.la
10
11EXTRA_DIST = \
4b3f1548 12 netonix.vcxproj netonix.vcxproj.filters \
f17f7ebf
VK
13 netonix.h \
14 Makefile.w32
15
16install-exec-hook:
17 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
18 mkdir -p $(DESTDIR)$(pkglibdir)/ndd
19 mv -f $(DESTDIR)$(pkglibdir)/$(DRIVER)@SHLIB_SUFFIX@ $(DESTDIR)$(pkglibdir)/ndd/$(DRIVER).ndd
20 rm -f $(DESTDIR)$(pkglibdir)/$(DRIVER).la