fixed make dist
[public/netxms.git] / src / server / drivers / dlink / Makefile.am
1 DRIVER = dlink
2
3 pkglib_LTLIBRARIES = dlink.la
4 dlink_la_SOURCES = dlink.cpp
5 dlink_la_CPPFLAGS=-I@top_srcdir@/include -I@top_srcdir@/src/server/include
6 dlink_la_LDFLAGS = -module -avoid-version
7 dlink_la_LIBADD = ../../../libnetxms/libnetxms.la \
8 ../../../snmp/libnxsnmp/libnxsnmp.la \
9 ../../libnxsrv/libnxsrv.la
10
11 EXTRA_DIST = \
12 dlink.vcxproj dlink.vcxproj.filters \
13 dlink.h \
14 Makefile.w32
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)@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