Rollback from r3608 to r3606
[public/netxms.git] / src / nxmibc / Makefile.am
CommitLineData
5039dede
AK
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
11INCLUDES=-I@top_srcdir@/include
12
13bin_PROGRAMS = nxmibc
14nxmibc_SOURCES = array.cpp lex.mp.c mibparse.cpp nxmibc.cpp parser.tab.c
15nxmibc_LDADD = ../libnetxms/libnetxms.la ../libnxsnmp/libnxsnmp.la
16
17EXTRA_DIST = nxmibc.dsp nxmibc.dsw nxmibc.h mibparse.h parser.l parser.y parser.tab.h
18
19lex.mp.c: parser.l parser.tab.c parser.tab.h
20 $(LEX) -Pmp parser.l
21
22parser.tab.c: parser.y
23 $(YACC) -b parser -d -p mp -t -v parser.y