From: erg Date: Thu, 13 Jan 2005 23:43:55 +0000 (+0000) Subject: Update Makefile.old files to reflect new files and directory structure X-Git-Tag: LAST_LIBGRAPH~32^2~8093 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb010fca9ae446ff92c4cf7e3faffb3559cdc5ab;p=graphviz Update Makefile.old files to reflect new files and directory structure --- diff --git a/lib/expr/Makefile.old b/lib/expr/Makefile.old index 553d6114a..b171b35ea 100644 --- a/lib/expr/Makefile.old +++ b/lib/expr/Makefile.old @@ -1,13 +1,13 @@ # libexpr.a (short version) make file # Written by Emden R. Gansner (1 Mar 2001) - -include ../../Config.mk -include ../../makearch/$(ARCH) +ROOT=../.. +include $(ROOT)/Config.mk +include $(ROOT)/makearch/$(ARCH) LOC_INCDIR=../include LOC_LIBDIR=../lib -INCS = -I. -I$(LOC_INCDIR) -I../.. -I../../cdt +INCS = -I. -I$(LOC_INCDIR) -I$(ROOT) -I../cdt DEFINES = -DHAVE_CONFIG_H @@ -44,7 +44,8 @@ exparse.c exparse.h : exparse.y exop.h : exparse.h echo "static const char* exop[] = {" > exop.h - $(SED) -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h + echo " \"MINTOKEN\"," >> exop.h + $(SED) -e '1,/MINTOKEN/d' -e '/^[ ]*#[ ]*define[ ][ ]*[A-Z]/!d' -e 's/^[ ]*#[ ]*define[ ]*\([A-Z0-9_]*\).*/ "\1",/' < exparse.h >> exop.h echo "};" >> exop.h clean :