From: ellson Date: Tue, 18 Oct 2005 18:39:02 +0000 (+0000) Subject: fix Makefile.old so that it builds. X-Git-Tag: LAST_LIBGRAPH~32^2~7295 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=832e85cd24340ee2ee45dc381b0620cbd7ab7b9c;p=graphviz fix Makefile.old so that it builds. --- diff --git a/Config.mk b/Config.mk index f9624b6c9..b7ba5c226 100644 --- a/Config.mk +++ b/Config.mk @@ -51,4 +51,4 @@ TK_LIBDIR=$(TKDIR)/lib # location of tk.h TK_INCDIR=$(TKDIR)/include -VERSION=2.3 +VERSION=2.5 diff --git a/cmd/dot/Makefile.old b/cmd/dot/Makefile.old index 8e3b3028d..38db3e50f 100644 --- a/cmd/dot/Makefile.old +++ b/cmd/dot/Makefile.old @@ -12,13 +12,13 @@ INCS = -I$(LOC_LIB)/gvc -I$(LOC_LIB)/common -I$(ROOT) -I$(LOC_LIB)/cdt \ ALLINCS = -I$(LOC_LIB)/dotgen -I$(LOC_LIB)/neatogen -I$(LOC_LIB)/twopigen \ -I$(LOC_LIB)/circogen -I$(LOC_LIB)/fdpgen $(INCS) -DEFINES = -DHAVE_CONFIG_H +DEFINES = -DHAVE_CONFIG_H -DBUILTINS XLIBS = -L$(LOC_LIB)/pathplan -lpathplan \ -L$(LOC_LIB)/graph -lgraph \ -L$(LOC_LIB)/cdt -lcdt \ -L$(LOC_LIB)/gd -lgd \ - $(EXTLIB_LIB) $(EXPAT_LIB) -lm + $(EXTLIB_LIB) $(EXPAT_LIB) -lltdl -lm PLUGS = -L$(LOC_PLUG) -lgvplugin_layout @@ -39,7 +39,7 @@ DOTLIBS = $(LOC_LIB)/common/libcommon.a $(LOC_LIB)/dotgen/libdotgen.a \ $(LOC_LIB)/plugin/libgvplugin_layout.a $(LOC_LIB)/gvc/libgvc.a \ $(LOC_LIB)/twopigen/libtwopigen.a $(LOC_LIB)/circogen/libcircogen.a -OBJS = dot.o +OBJS = dot.o dot_builtins.o all : dot @@ -50,6 +50,9 @@ dot : $(OBJS) $(DOTLIBS) dot.o : dot.c $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) dot.c +dot_builtins.o : dot_builtins.c + $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) dot_builtins.c + install: all $(MKPATH) $(BINDIR) $(INSTALL) dot $(BINDIR)