From: erg Date: Thu, 14 Jul 2005 02:58:15 +0000 (+0000) Subject: Update old makefiles to handle current linking order X-Git-Tag: LAST_LIBGRAPH~32^2~7457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd866eb0b797a5c34ef49f5b3bd9b04090b5f75d;p=graphviz Update old makefiles to handle current linking order --- diff --git a/cmd/dot/Makefile.old b/cmd/dot/Makefile.old index 8641a99a1..d6c2f0fa4 100644 --- a/cmd/dot/Makefile.old +++ b/cmd/dot/Makefile.old @@ -20,7 +20,7 @@ XLIBS = -L$(LOC_LIB)/pathplan -lpathplan \ -L$(LOC_LIB)/gd -lgd \ $(EXTLIB_LIB) $(EXPAT_LIB) -lm -PLUGS = -L$(LOC_PLUG) -lplugins -L$(LOC_PLUG)/cairo -lgvplugin_cairo -L$(LOC_PLUG)/layout -lgvplugin_layout -L$(LOC_PLUG)/gd -lgvplugin_gd -L$(LOC_PLUG)/text -lgvplugin_text +PLUGS = -L$(LOC_PLUG) -lplugins -L$(LOC_PLUG)/layout -lgvplugin_layout LIBS = -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \ -L$(LOC_LIB)/common -lcommon \ @@ -46,7 +46,8 @@ SHLIBS = twopigen/libtwopi.a dotgen/libdot.a neatogen/libneato.a pack/libpack.a all : dot $(LIBDOTNEATO) dot : $(OBJS) $(DOTLIBS) - $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o dot + $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o /tmp/dot + mv /tmp/dot dot dot.o : dot.c $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) dot.c diff --git a/cmd/tools/Makefile.old b/cmd/tools/Makefile.old index 4f7ebf753..a19a51cbd 100644 --- a/cmd/tools/Makefile.old +++ b/cmd/tools/Makefile.old @@ -22,16 +22,20 @@ DNINCS = -I$(LOC_LIB)/pack -I$(LOC_LIB)/neatogen \ -I$(LOC_LIB)/common -I$(LOC_LIB) LIBS = -L$(LOC_LIB)/graph -lgraph -L$(LOC_LIB)/cdt -lcdt -PLUGLIBS = -L$(LOC_PLUG)/cairo -lgvplugin_cairo \ - -L$(LOC_PLUG)/layout -lgvplugin_layout \ - -L$(LOC_PLUG)/gd -lgvplugin_gd -L$(LOC_PLUG)/text -lgvplugin_text -DNLIBS = -L$(LOC_LIB)/neatogen -lneatogen \ - -L$(LOC_LIB)/pack -lpack \ - -L$(LOC_LIB)/common -lcommon \ - -L$(LOC_LIB)/gvc -lgvc \ - -L$(LOC_LIB)/pathplan -lpathplan \ - -L$(LOC_LIB)/gd -lgd \ - $(PLUGLIBS) \ +PLUGS = -L$(LOC_PLUG) -lplugins -L$(LOC_PLUG)/layout -lgvplugin_layout + +DNLIBS = -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \ + -L$(LOC_LIB)/common -lcommon \ + -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \ + -L$(LOC_LIB)/neatogen -lneatogen \ + -L$(LOC_LIB)/dotgen -ldotgen \ + -L$(LOC_LIB)/circogen -lcircogen \ + -L$(LOC_LIB)/fdpgen -lfdpgen \ + -L$(LOC_LIB)/twopigen -ltwopigen \ + -L$(LOC_LIB)/pack -lpack \ + -L$(LOC_LIB)/common -lcommon \ + -L$(LOC_LIB)/pathplan -lpathplan \ + -L$(LOC_LIB)/gd -lgd \ $(LIBS) \ $(EXTLIB_LIB) $(EXPAT_LIB) -lm INGLIB = -L$(LOC_LIB)/ingraphs -lingraphs