added configure option --with-sdk
[public/netxms.git] / Makefile.am
1 # Copyright (C) 2004 NetXMS Team <bugs@netxms.org>
2 #
3 # This file is free software; as a special exception the author gives
4 # unlimited permission to copy and/or distribute it, with or without
5 # modifications, as long as this notice is preserved.
6 #
7 # This program is distributed in the hope that it will be useful, but
8 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
11 ACLOCAL_AMFLAGS = -I m4
12 EXTRA_DIST = reconf configure netxms.sln README.HPUX
13 SUBDIRS = m4 contrib src doc tools
14 SUBDIRS += @TOP_LEVEL_MODULES@
15
16 install-exec-hook:
17 if test "x@BUILD_SERVER@" = "xyes"; then LD_LIBRARY_PATH="$(DESTDIR)$(libdir)" $(DESTDIR)$(bindir)/nxmibc -d $(DESTDIR)$(pkgdatadir)/mibs -o $(DESTDIR)$(pkgdatadir)/mibs/netxms.mib; fi