libnxsrv and nxcore moved to VS2005 (nxcore cannot be linked because libnxsl not...
[public/netxms.git] / src / snmp / nxmibc / Makefile.am
1 # Copyright (C) 2004, 2005 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 INCLUDES=-I@top_srcdir@/include
12
13 bin_PROGRAMS = nxmibc
14 nxmibc_SOURCES = array.cpp lex.parser.cpp mibparse.cpp nxmibc.cpp parser.tab.cpp
15 nxmibc_LDADD = ../../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
16
17 EXTRA_DIST = nxmibc.vcproj nxmibc.dsw nxmibc.h mibparse.h parser.l parser.y parser.tab.hpp
18
19 lex.parser.cpp: parser.l parser.tab.cpp parser.tab.hpp
20 $(LEX) -Pmp -B -f -olex.parser.cpp parser.l
21
22 parser.tab.cpp: parser.y
23 $(YACC) -b parser -o parser.tab.cpp -d -p mp -t -v parser.y