]> granicus.if.org Git - graphviz/commitdiff
fix Makefile.old so that it builds.
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:39:02 +0000 (18:39 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:39:02 +0000 (18:39 +0000)
Config.mk
cmd/dot/Makefile.old

index f9624b6c91fcd67561895d92f2e44dfd8117fdb3..b7ba5c226231a985f69a3fb385cea17ffb23c795 100644 (file)
--- 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
index 8e3b3028dddaf05ad2726b5968f49cf6bb8a7df4..38db3e50fa2f311b2c00a9b1a25e71ab177a825d 100644 (file)
@@ -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)