# # This file is part of DisOrder. # Copyright (C) 2004 Richard Kettlewell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA # bin_PROGRAMS=cparse cprototypes lib_LTLIBRARIES=libcparse.la libcparse_la_SOURCES=c-lex.l \ c-parse.y \ mem.c \ log.c \ globals.c \ dict.c \ dump.c \ constraints.c \ parse.c \ number.c \ type.c \ expr.c \ scope.c \ gcc.c \ constraints.h \ cparse.h \ platform.h libcparse_la_LIBADD=$(LIBGC) cparse_SOURCES=cparse.c cparse_LDADD=libcparse.la cprototypes_SOURCES=cprototypes.c cprototypes_LDADD=libcparse.la $(libcparse_la_OBJECTS): c-parse.h c-parse.h: c-parse.c test: all ./tests.bash test-x: all bash -x ./tests.bash EXTRA_DIST=c-parse.h tests.bash SUBDIRS=tests ALL_CFLAGS=$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) export ALL_CFLAGS CC