From: Erwin Janssen Date: Fri, 9 Sep 2016 22:19:37 +0000 (+0200) Subject: Remove all .old files X-Git-Tag: untagged-026b538d0dba6682fde7^2^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e87b18be338d6cc89fd6b5e4d734894cffe540;p=graphviz Remove all .old files These files are no longer used in the build. Some Makefiles included an .old file in the `dist` step. These references are removed. --- diff --git a/Config.mk.old b/Config.mk.old deleted file mode 100644 index 03154e39d..000000000 --- a/Config.mk.old +++ /dev/null @@ -1,57 +0,0 @@ -# configuration for good old make. -# select an architecture from makearch/* -# ...one of: sgi.mips3 sgi.mips2 sol.sun4 sol6.sun4 sun4 linux.i386 -ARCH=linux.x86_64 - -# specify root directory for installation -INSTALLROOT=/usr/local/graphviz - -# specify where to find tcl >= 8.0 -TCLDIR=/usr/common/tcl8.3.3 - -# specify where to find tk >= 8.0 -TKDIR=/usr/common/tcl8.3.3 - -# specify where to find expat.h -EXPAT_INC = - -# specify how to load expat library -EXPAT_LIB = -lexpat - -# specify where to find bitmap packages (See INSTALL file.) -EXTLIB_INC=-I/usr/include/freetype2 -EXTLIB_LIB=-ljpeg -lpng -lfontconfig -lfreetype -lz - -# library for libtool dynamic loading -# to enable, uncomment this, and comment out "DISABLE_LTDL" in config.h.old -#LTDL_LIB=-lltdl - -################################################### -# Typically, nothing below should be changed. # -################################################### - -BINDIR=$(INSTALLROOT)/bin -LIBDIR=$(INSTALLROOT)/lib -INCDIR=$(INSTALLROOT)/include -XPLDIR=$(INSTALLROOT)/examples -DOCDIR=$(INSTALLROOT)/doc - -MANDIR=$(INSTALLROOT)/man/man1 -LIBMANDIR=$(INSTALLROOT)/man/man3 -PKGMANDIR=$(INSTALLROOT)/man/mann - -# postscipt and html docs -DOCDIR=$(INSTALLROOT)/doc - -# location of libtcl.a -TCL_LIBDIR=$(TCLDIR)/lib -# location of tcl.h -TCL_INCDIR=$(TCLDIR)/include -# location to install tcl packages -TCL_PKGDIR=$(LIBDIR) - -# location of libtk.a -TK_LIBDIR=$(TKDIR)/lib -# location of tk.h -TK_INCDIR=$(TKDIR)/include - diff --git a/INSTALL.old b/INSTALL.old deleted file mode 100644 index fafdfb3d0..000000000 --- a/INSTALL.old +++ /dev/null @@ -1,70 +0,0 @@ - -Basic Installation -================== - -These instructions describe building Graphviz using standard make. -To build Graphviz using GNU tools, see ./INSTALL. - - - Run configure.old - - - Edit config.h - This defines a variety of preprocessor flags describing the system - on which you are building Graphviz. Comment or uncomment the flags - as they pertain to your machine. - - In particular, Graphviz relies on a variety of optional, external - libraries and commands: - - libjpeg - Functions for handling JPEG images. - libpng - Functions for handling PNG (portable network graphics) images. - libz - A compression library. - libfreetype - Freetype 2 library for TrueType and other fonts. - libttf - Freetype 1 library for TrueType and other fonts. - curl or wget - tool for transferring files with URL syntax - libexpat - Functions for parsing XML - - If these are not already on your machine, they are freely - available on the Internet. You can get the software, install it, and - then set the appropriate flag. Note that only one of HAVE_LIBFREETYPE - and HAVE_LIBTTF should be set. You'll also need to specify where these - libraries can be found. See EXTLIB_INC and EXTLIB_LIB below. - - Note: You can build Graphviz without these libraries. This will simply - limit your output formats to various non-bitmap output such as PostScript, - SVG, HPGL, or Dot. - - - Edit Config.mk. In particular, set: - - ARCH - one of the known OS. - INSTALLROOT - the directory to which binaries, libraries, documents, - etc. should be copied by 'make install'. - TCLDIR - the root directory of tcl. - TKDIR - the root directory of tk. - EXPAT_INC - indicates directory containing expat.h. - EXPAT_LIB - flags for linking in expat library. - EXTLIB_INC - indicates the directories where the include files for - the optional libraries such as libjpeg (see above) - can be found, if they are not in the default include - directories. This is a list of -I compiler flags. - EXTLIB_LIB - indicates which optional libraries to use and which - directories to look in. This is a list of -L and -l - compiler flags. - - - Check settings in makearch/$(ARCH). - - - Run make. - -After a successful build, the software can be moved to INSTALLROOT -by running: - - make install - -To clean up .o files: - - make clean - -To remove almost all generated files: - - make distclean - - diff --git a/Makefile.old b/Makefile.old deleted file mode 100644 index 162f7e59f..000000000 --- a/Makefile.old +++ /dev/null @@ -1,4 +0,0 @@ -SUBDIRS = lib plugin cmd - -all install clean distclean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) diff --git a/cmd/Makefile.old b/cmd/Makefile.old deleted file mode 100644 index 3376c4266..000000000 --- a/cmd/Makefile.old +++ /dev/null @@ -1,8 +0,0 @@ -SUBDIRS = dot tools gvpr lefty dotty lneato - -all install clean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - -distclean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - rm -rf lib include diff --git a/cmd/dot/Makefile.old b/cmd/dot/Makefile.old deleted file mode 100644 index 533b0cddc..000000000 --- a/cmd/dot/Makefile.old +++ /dev/null @@ -1,96 +0,0 @@ -ROOT=../.. - -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_LIB = $(ROOT)/lib -LOC_PLUG=$(ROOT)/plugin - -INCS = -I$(LOC_LIB)/gvc -I$(LOC_LIB)/common -I$(ROOT) -I$(LOC_LIB)/cdt \ - -I$(LOC_LIB)/pathplan -I$(LOC_LIB)/gd -I$(LOC_LIB)/graph -I$(LOC_LIB)/pack - -ALLINCS = -I$(LOC_LIB)/dotgen -I$(LOC_LIB)/neatogen -I$(LOC_LIB)/twopigen \ - -I$(LOC_LIB)/circogen -I$(LOC_LIB)/fdpgen -I$(LOC_LIB)/sfdpgen $(INCS) - -DEFINES = -DDEMAND_LOADING=0 -DHAVE_CONFIG_H - -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) $(LTDL_LIB) -lm - -PLUGS = -L$(LOC_PLUG)/core -lgvplugin_core \ - -L$(LOC_PLUG)/dot_layout -lgvplugin_dot_layout \ - -L$(LOC_PLUG)/neato_layout -lgvplugin_neato_layout \ - -L$(LOC_PLUG)/gd -lgvplugin_gd \ - -L$(LOC_PLUG)/pango -lgvplugin_pango - -LIBS = -L$(LOC_LIB)/gvc -lgvc_dot_builtins $(PLUGS) \ - -L$(LOC_LIB)/common -lcommon \ - -L$(LOC_LIB)/gvc -lgvc_dot_builtins $(PLUGS) \ - -L$(LOC_LIB)/xdot -lxdot \ - -L$(LOC_LIB)/dotgen -ldotgen \ - -L$(LOC_LIB)/circogen -lcircogen \ - -L$(LOC_LIB)/fdpgen -lfdpgen \ - -L$(LOC_LIB)/sfdpgen -lsfdpgen \ - -L$(LOC_LIB)/neatogen -lneatogen \ - -L$(LOC_LIB)/ortho -lortho \ - -L$(LOC_LIB)/vpsc -lvpsc \ - -L$(LOC_LIB)/patchwork -lpatchwork \ - -L$(LOC_LIB)/osage -losage \ - -L$(LOC_LIB)/sparse -lsparse \ - -L$(LOC_LIB)/rbtree -lrbtree \ - -L$(LOC_LIB)/twopigen -ltwopigen \ - -L$(LOC_LIB)/pack -lpack \ - -L$(LOC_LIB)/common -lcommon \ - $(XLIBS) - -DOTLIBS = $(LOC_LIB)/common/libcommon.a \ - $(LOC_LIB)/dotgen/libdotgen.a \ - $(LOC_LIB)/neatogen/libneatogen.a \ - $(LOC_LIB)/fdpgen/libfdpgen.a \ - $(LOC_LIB)/ortho/libortho.a \ - $(LOC_LIB)/sfdpgen/libsfdpgen.a \ - $(LOC_LIB)/gvc/libgvc_dot_builtins.a \ - $(LOC_LIB)/vpsc/libvpsc.a \ - $(LOC_LIB)/twopigen/libtwopigen.a \ - $(LOC_LIB)/circogen/libcircogen.a \ - $(LOC_PLUG)/core/libgvplugin_core.a \ - $(LOC_PLUG)/dot_layout/libgvplugin_dot_layout.a \ - $(LOC_PLUG)/neato_layout/libgvplugin_neato_layout.a \ - $(LOC_PLUG)/gd/libgvplugin_gd.a \ - $(LOC_PLUG)/pango/libgvplugin_pango.a - -OBJS = dot.o dot_builtins.o - -all : dot - -dot : $(OBJS) $(DOTLIBS) - $(CPP) $(LDFLAGS) $(OBJS) $(LIBS) -o /tmp/dot - mv /tmp/dot dot - -dot.o : dot.c - $(CPP) -c $(CCFLAGS) $(DEFINES) $(INCS) dot.c - -dot_builtins.o : dot_builtins.c - $(CPP) -c $(CCFLAGS) $(DEFINES) $(INCS) dot_builtins.c - -install: all - $(MKPATH) $(BINDIR) - $(INSTALL) dot $(BINDIR) - $(RM) $(BINDIR)/neato; $(LN) -s $(BINDIR)/dot $(BINDIR)/neato - $(RM) $(BINDIR)/fdp; $(LN) -s $(BINDIR)/dot $(BINDIR)/fdp - $(RM) $(BINDIR)/circo; $(LN) -s $(BINDIR)/dot $(BINDIR)/circo - $(RM) $(BINDIR)/twopi; $(LN) -s $(BINDIR)/dot $(BINDIR)/twopi - $(MKPATH) $(MANDIR) - $(INSTALL) dot.1 $(MANDIR) - $(RM) $(MANDIR)/neato.1 $(MANDIR)/fdp.1 $(MANDIR)/circo.1 $(MANDIR)/twopi.1 - $(LN) -s $(MANDIR)/dot.1 $(MANDIR)/neato.1 - $(LN) -s $(MANDIR)/dot.1 $(MANDIR)/fdp.1 - $(LN) -s $(MANDIR)/dot.1 $(MANDIR)/circo.1 - $(LN) -s $(MANDIR)/dot.1 $(MANDIR)/twopi.1 - -distclean clean: - $(RM) *.o core $(all) - diff --git a/cmd/dotty/Makefile.old b/cmd/dotty/Makefile.old deleted file mode 100644 index 8512abed6..000000000 --- a/cmd/dotty/Makefile.old +++ /dev/null @@ -1,28 +0,0 @@ -all: dotty -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -PACKAGE=lefty -LIB_SCRIPTS = dotty.lefty dotty_draw.lefty dotty_edit.lefty \ - dotty_layout.lefty dotty_ui.lefty -BIN_SCRIPTS = dotty -MAN1 = dotty.1 - -dotty: dotty.sh - cp dotty.sh dotty - chmod +x dotty - -install: $(LIB_SCRIPTS) $(BIN_SCRIPTS) - $(MKPATH) $(LIBDIR)/$(PACKAGE) - $(INSTALL) $(LIB_SCRIPTS) $(LIBDIR)/$(PACKAGE) - $(MKPATH) $(BINDIR) - $(INSTALL) $(BIN_SCRIPTS) $(BINDIR) - $(MKPATH) $(MANDIR) - $(INSTALL) dotty.1 $(MANDIR) - -clean: - true - -distclean: - true diff --git a/cmd/gvpr/Makefile.old b/cmd/gvpr/Makefile.old deleted file mode 100644 index e48a0a6d6..000000000 --- a/cmd/gvpr/Makefile.old +++ /dev/null @@ -1,43 +0,0 @@ -# gvpr make file -# Written by Emden R. Gansner (1 Mar 2001) -ALL = gvpr -all : $(ALL) -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_LIB=$(ROOT)/lib -LOC_INCDIR=$(LOC_LIB)/include -LOC_LIBDIR=$(LOC_LIB)/lib - -INCS = -I. -I$(ROOT) -I$(LOC_INCDIR) -I$(LOC_LIB)/gvpr -I$(LOC_LIB)/cgraph -I$(LOC_LIB)/cdt - -DEFINES = -DHAVE_CONFIG_H -DUSE_CGRAPH - -OBJS = gvprmain.o - -LIBS = -L$(LOC_LIB)/gvpr -lgvpr \ - -L$(LOC_LIB)/expr -lexpr \ - -L$(LOC_LIB)/ast -last \ - -L$(LOC_LIB)/sfio -lsfio \ - -L$(LOC_LIB)/vmalloc -lvmalloc \ - -L$(LOC_LIB)/ingraphs -lingraphs \ - -L$(LOC_LIB)/cgraph -lcgraph \ - -L$(LOC_LIB)/cdt -lcdt -lm - -gvpr : $(OBJS) - $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ - -$(OBJS) : gdefs.h - -install : all - $(MKPATH) $(BINDIR) - $(CP) gvpr $(BINDIR) - $(MKPATH) $(MANDIR) - $(INSTALL) gvpr.1 $(MANDIR) - -clean : - $(RM) core *.o - -distclean : clean - $(RM) $(ALL) diff --git a/cmd/lefty/Makefile.old b/cmd/lefty/Makefile.old deleted file mode 100644 index 007cc2f01..000000000 --- a/cmd/lefty/Makefile.old +++ /dev/null @@ -1,137 +0,0 @@ -all: lefty -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -# lefty build parameters -#not useful / old: -# FEATURE_CS coshell support -# FEATURE_NETSCAPE build lefty as a netscape plugin -# FEATURE_RUSAGE print rusage stats on exit -# FEATURE_VFORK use vfork instead of fork -# FEATURE_GMAP build performer version of lefty (source in lefty3d) -# FEATURE_MESAGL assume MesaGL instead of SGI's OpenGL for GMAP -# FEATURE_MINTSIZE use int instead of short to hold object sizes. -# allows for larger objects (strings, hash tables, etc.) -# FEATURE_MS assume windows system calls (as opposed to UNIX) -# to use when building on ms windows without UWIN -# FEATURE_X11 assume X11 graphics calls -# FEATURE_BACKINGSTORE ask X server to use backing store for canvas -# FEATURE_NEXTAW when linking with -lnextaw a widget lib ala NeXT -# FEATURE_XAW3D when linking with -lXaw3d a nicer looking widget lib -# FEATURE_WIN32 assume WIN32 graphics calls -# FEATURE_DOT when linking in the dot2l code, a graph parser - -DOT2L = dot2l -WM = ws/x11 -OS = os/unix - -LEFTYLIBDIR= $(LIBDIR)/lefty -DEFINES=-DLEFTYDATADIR=\"$(LEFTYLIBDIR)\" -DHAVE_CONFIG_H - -INCS = -I. -I$(ROOT) \ - -I$(DOT2L) \ - -I$(X11INC) \ - -I$(WM) \ - -I$(WM)/libfilereq \ - -I$(OS) - -DOT2LEFTYOBJ = dotparse.o dot2l.o dotlex.o dottrie.o - -OSOBJ = io.o - -OBJS = lefty.o gfxview.o txtview.o internal.o display.o str.o exec.o parse.o \ - lex.o tbl.o code.o $(DOT2LEFTYOBJ) $(OSOBJ) - -GOBJS = g.o gcommon.o garray.o gbutton.o gcanvas.o glabel.o gmenu.o \ - gpcanvas.o gquery.o gscroll.o gtext.o gview.o mem.o common.o \ - SelFile.o Draw.o Path.o Dir.o - -lefty: $(OBJS) libgfx.a - $(CC) $(LDFLAGS) -L. -L$(X11LIB) $(OBJS) -lgfx -lXaw -lXmu -lXt -lXext -lX11 -lm $(LEFTYLIBS) -o lefty - -libgfx.a : $(GOBJS) - $(AR) cr libgfx.a $(GOBJS) - -dot2l.o: $(DOT2L)/dot2l.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -dotlex.o: $(DOT2L)/dotlex.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -dottrie.o: $(DOT2L)/dottrie.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -cs2l.o: $(CS2L)/cs2l.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gcommon.o: $(WM)/gcommon.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -garray.o: $(WM)/garray.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gbutton.o: $(WM)/gbutton.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gcanvas.o: $(WM)/gcanvas.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -glabel.o: $(WM)/glabel.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gmenu.o: $(WM)/gmenu.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gpcanvas.o: $(WM)/gpcanvas.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gquery.o: $(WM)/gquery.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gscroll.o: $(WM)/gscroll.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gtext.o: $(WM)/gtext.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -gview.o: $(WM)/gview.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -Dir.o: $(WM)/libfilereq/Dir.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -Draw.o: $(WM)/libfilereq/Draw.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -Path.o: $(WM)/libfilereq/Path.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -SelFile.o: $(WM)/libfilereq/SelFile.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -io.o: $(OS)/io.c - $(CC) -c $(CCFLAGS) $(INCS) $(DEFINES) $? - -dotparse.c: $(DOT2L)/dotparse.y - $(YACC) -d $(DOT2L)/dotparse.y - $(MV) y.tab.c dotparse.c - $(MV) y.tab.h dotparse.h - -dotparse.o: dotparse.c - -install: lefty - $(MKPATH) $(BINDIR) - $(INSTALL) lefty $(BINDIR) - $(MKPATH) $(MANDIR) - $(INSTALL) lefty.1 $(MANDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libgfx.a $(LIBDIR) - $(MKPATH) $(LIBDIR)/lefty - $(INSTALL) examples/def.lefty examples/fractal.lefty examples/tree.lefty lefty.psp $(LIBDIR)/lefty - -clean: - $(RM) core *.o dotparse.[ch] - -distclean: clean - $(RM) lefty *.a diff --git a/cmd/lneato/Makefile.old b/cmd/lneato/Makefile.old deleted file mode 100644 index 21033e611..000000000 --- a/cmd/lneato/Makefile.old +++ /dev/null @@ -1,20 +0,0 @@ -all : lneato -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -BIN_SCRIPTS = lneato - -lneato: lneato.sh - cp lneato.sh lneato - chmod +x lneato - -install: $(BIN_SCRIPTS) - $(MKPATH) $(BINDIR) - $(INSTALL) $(BIN_SCRIPTS) $(BINDIR) - -clean: - true - -distclean: - true diff --git a/cmd/tools/Makefile.old b/cmd/tools/Makefile.old deleted file mode 100644 index 47c5d7304..000000000 --- a/cmd/tools/Makefile.old +++ /dev/null @@ -1,169 +0,0 @@ -ALL_BIN = gc gvcolor acyclic nop ccomps sccmap tred unflatten gxl2gv \ - gv2gxl dijkstra gvpack bcomps mm2gv gml2gv gvgen -ALL = $(ALL_BIN) gv2gxl.1 - -all : $(ALL) -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_LIB=$(ROOT)/lib -LOC_PLUG=$(ROOT)/plugin -LOC_INCDIR=$(LOC_LIB)/include -LOC_LIBDIR=$(LOC_LIB)/lib - -DEFINES = -DDEMAND_LOADING=0 -DHAVE_CONFIG_H -DUSE_CGRAPH - -INCS = -I. -I$(ROOT) -I$(LOC_LIB)/cgraph \ - -I$(LOC_LIB)/ingraphs -I$(LOC_LIB)/cdt -PINCS = -I. -I$(ROOT) -I$(LOC_LIB)/graph \ - -I$(LOC_LIB)/ingraphs -I$(LOC_LIB)/cdt -DNINCS = -I$(LOC_LIB)/pack -I$(LOC_LIB)/neatogen \ - -I$(LOC_LIB)/sparse \ - -I$(LOC_LIB)/gvc \ - -I$(LOC_LIB)/pathplan \ - -I$(LOC_LIB)/common -I$(LOC_LIB) - -LIBS = -L$(LOC_LIB)/cgraph -lcgraph -L$(LOC_LIB)/cdt -lcdt -PLIBS = -L$(LOC_LIB)/graph -lgraph -L$(LOC_LIB)/cdt -lcdt -PLUGS = -L$(LOC_PLUG)/neato_layout -lgvplugin_neato_layout \ - -L$(LOC_PLUG)/dot_layout -lgvplugin_dot_layout \ - -L$(LOC_PLUG)/core -lgvplugin_core \ - -L$(LOC_PLUG)/gd -lgvplugin_gd \ - -L$(LOC_PLUG)/pango -lgvplugin_pango - -GVLIBS = -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \ - -L$(LOC_LIB)/common -lcommon \ - -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \ - -L$(LOC_LIB)/xdot -lxdot \ - -L$(LOC_LIB)/neatogen -lneatogen \ - -L$(LOC_LIB)/vpsc -lvpsc \ - -L$(LOC_LIB)/dotgen -ldotgen \ - -L$(LOC_LIB)/circogen -lcircogen \ - -L$(LOC_LIB)/fdpgen -lfdpgen \ - -L$(LOC_LIB)/osage -losage \ - -L$(LOC_LIB)/ortho -lortho \ - -L$(LOC_LIB)/sfdpgen -lsfdpgen \ - -L$(LOC_LIB)/patchwork -lpatchwork \ - -L$(LOC_LIB)/sparse -lsparse \ - -L$(LOC_LIB)/rbtree -lrbtree \ - -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 -DNLIBS = $(GVLIBS) \ - $(LIBS) \ - $(EXTLIB_LIB) $(EXPAT_LIB) $(LTDL_LIB) -lm -PDNLIBS = $(GVLIBS) \ - $(PLIBS) \ - $(EXTLIB_LIB) $(EXPAT_LIB) $(LTDL_LIB) -lm -INGLIB = -L$(LOC_LIB)/ingraphs -lingraphs - -ALIBS = -L$(LOC_LIB)/cgraph -lcgraph -L$(LOC_LIB)/cdt -lcdt - -ACYCLICOBJS = acyclic.o -NOPOBJS = nop.o -COLOROBJS = gvcolor.o colxlate.o -UNFLATOBJS = unflatten.o -GCOBJS = gc.o -TOBJS = tred.o -CCOBJS = ccomps.o -SCCOBJS = sccmap.o -GXLOBJS = cvtgxl.o gv2gxl.o gxl2gv.o -GVPOBJS = gvpack.o gvpack_builtins.o -BCCOBJS = bcomps.o -MANS = acyclic.1 gvcolor.1 nop.1 tred.1 ccomps.1 gc.1 sccmap.1 \ - unflatten.1 gxl2gv.1 gv2gxl.1 gvpack.1 bcomps.1 - -gvpack : $(GVPOBJS) - $(CPP) $(LDFLAGS) $(GVPOBJS) $(INGLIB) $(PDNLIBS) -o $@ - -gvpack.o : gvpack.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(PINCS) gvpack.c - -gvpack_builtins.o : gvpack_builtins.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(INCS) gvpack_builtins.c - -dijkstra : dijkstra.o - $(CSLD) $(LDFLAGS) dijkstra.o $(INGLIB) $(ALIBS) -o $@ - -dijkstra.o : dijkstra.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(INCS) dijkstra.c - -gxl2gv : $(GXLOBJS) - $(CSLD) $(LDFLAGS) $(GXLOBJS) $(INGLIB) $(ALIBS) $(EXPAT_LIB) -o $@ - -gv2gxl : gxl2gv - $(RM) -f $@ - $(LN) -s $? $@ - -cvtgxl.o : cvtgxl.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) cvtgxl.c - -gv2gxl.o : gv2gxl.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) gv2gxl.c - -gxl2gv.o : gxl2gv.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) gxl2gv.c - -sccmap : $(SCCOBJS) - $(CSLD) $(LDFLAGS) $(SCCOBJS) $(INGLIB) $(ALIBS) -o $@ - -ccomps : $(CCOBJS) - $(CSLD) $(LDFLAGS) $(CCOBJS) $(INGLIB) $(LIBS) -o $@ - -tred : $(TOBJS) - $(CSLD) $(LDFLAGS) $(TOBJS) $(INGLIB) $(LIBS) -o $@ - -unflatten : $(UNFLATOBJS) - $(CSLD) $(LDFLAGS) $(UNFLATOBJS) $(INGLIB) $(ALIBS) -o $@ - -acyclic : $(ACYCLICOBJS) - $(CSLD) $(LDFLAGS) $(ACYCLICOBJS) $(LIBS) -o $@ - -nop : $(NOPOBJS) - $(CSLD) $(LDFLAGS) $(NOPOBJS) $(INGLIB) $(LIBS) -o $@ - -gvcolor : $(COLOROBJS) - $(CSLD) $(LDFLAGS) $(COLOROBJS) $(INGLIB) $(LIBS) -o $@ - -gc : $(GCOBJS) - $(CSLD) $(LDFLAGS) $(GCOBJS) $(INGLIB) $(LIBS) -o $@ - -bcomps : $(BCCOBJS) - $(CSLD) $(LDFLAGS) $(BCCOBJS) $(INGLIB) $(LIBS) -o $@ - -gml2gv : gml2gv.o - $(CSLD) $(LDFLAGS) dijkstra.o $(INGLIB) $(ALIBS) -o $@ - -gml2gv.o : gml2gv.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) gml2gv.c - -gvgen : gvgen.o - $(CSLD) $(LDFLAGS) dijkstra.o $(INGLIB) $(ALIBS) -o $@ - -gvgen.o : gvgen.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) gvgen.c - -mm2gv : mm2gv.o - $(CSLD) $(LDFLAGS) dijkstra.o $(INGLIB) $(ALIBS) -o $@ - -mm2gv.o : mm2gv.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(INCS) mm2gv.c - -gv2gxl.1: gxl2gv.1 - $(RM) -f $@ - $(LN) -s $? $@ - -install : $(ALL) - $(MKPATH) $(BINDIR) - cp $(ALL_BIN) $(BINDIR) - $(MKPATH) $(MANDIR) - $(INSTALL) $(MANS) $(MANDIR) - -clean : - $(RM) *.o - -distclean : clean - $(RM) $(ALL) diff --git a/config.h.old b/config.h.old deleted file mode 100644 index 4471e9648..000000000 --- a/config.h.old +++ /dev/null @@ -1,152 +0,0 @@ -/* : : generated from config.iffe by iffe version 2004-08-11 : : */ -#ifndef _GVIZ_CONFIG_H -#define _GVIZ_CONFIG_H 1 -#define HAVE_SYS_TYPES_H 1 /* #include ok */ - - -#define HAVE___FREADABLE 1 /* __freadable() in default lib(s) */ -#define HAVE_MATH_H 1 /* #include ok */ -#define HAVE_M_LIB 1 /* -lm is a library */ -#define HAVE_CBRT 1 /* cbrt() in default lib(s) */ -#define HAVE_SETENV 1 /* setenv() in default lib(s) */ -#define HAVE_VSNPRINTF 1 /* vsnprintf() in default lib(s) */ -#undef HAVE_SETMODE /* setmode() not in default lib(s) */ -#define HAVE_ICONV 1 /* iconv() in default lib(s) */ -#undef HAVE_LSQRT /* lsqrt() not in default lib(s) */ -#define HAVE_DRAND48 1 /* drand48() in default lib(s) */ -#define HAVE_FENV_H 1 /* #include ok */ -#define HAVE_FEENABLEEXCEPT 1 /* feenableexcept() in default lib(s) */ -#define HAVE_FESETENV 1 /* fesetenv() in default lib(s) */ -#define HAVE_LRAND48 1 /* lrand48() in default lib(s) */ -#define HAVE_SRAND48 1 /* srand48() in default lib(s) */ -#undef HAVE_SINCOS /* sincos() not in default lib(s) */ -#define HAVE_STRCASECMP 1 /* strcasecmp() in default lib(s) */ -#define HAVE_STRNCASECMP 1 /* strncasecmp() in default lib(s) */ -#define HAVE_STRERROR 1 /* strerror() in default lib(s) */ -#define HAVE_DIRENT_H 1 /* #include ok */ -#define HAVE_DLFCN_H 1 /* #include ok */ -#define HAVE_ERRNO_H 1 /* #include ok */ -#define HAVE_FPU_CONTROL_H 1 /* #include ok */ -#undef HAVE_FT2BUILD_H /* #include not ok */ -#define HAVE_GETOPT_H 1 /* #include ok */ -#define HAVE_ICONV_H 1 /* #include ok */ -#define HAVE_INTTYPES_H 1 /* #include ok */ -#define HAVE_LIMITS_H 1 /* #include ok */ -#define HAVE_MALLOC_H 1 /* #include ok */ -#undef HAVE_NDIR_H /* #include not ok */ -#define HAVE_NETDB_H 1 /* #include ok */ -#define HAVE_SEARCH_H 1 /* #include ok */ -#define HAVE_STDARG_H 1 /* #include ok */ -#define HAVE_STDDEF_H 1 /* #include ok */ -#define HAVE_STDINT_H 1 /* #include ok */ -#define HAVE_STDLIB_H 1 /* #include ok */ -#define HAVE_STRING_H 1 /* #include ok */ -#define HAVE_STRINGS_H 1 /* #include ok */ -#define HAVE_TERMIOS_H 1 /* #include ok */ -#define HAVE_UNISTD_H 1 /* #include ok */ -#define HAVE_VALUES_H 1 /* #include ok */ -#define HAVE_SYS_SOCKET_H 1 /* #include ok */ -#define HAVE_SYS_STAT_H 1 /* #include ok */ -#define HAVE_SYS_SELECT_H 1 /* #include ok */ -#undef HAVE_SYS_FPU_H /* #include not ok */ -#undef HAVE_SYS_NDIR_H /* #include not ok */ - - -#define HAVE_STDIO_H 1 /* #include ok */ -#define HAVE_ERRNO_DATA 1 /* errno in default lib(s) */ -/* Define if errno is declared in system include files. */ -#define HAVE_ERRNO_DECL 1 - -/* Define if FILE has _IO_read_end field */ -#define HAVE_FILE_IO_READ_END 1 - -/* Define if intptr_t is declared */ -#define HAVE_INTPTR_T 1 - -/* Define if intptr_t is declared */ -#define HAVE_SOCKLEN_T 1 - -/* Define if defines iconv_t. */ -#define HAVE_ICONV_T_DEF 1 - -/*******************************************************************/ -/* Undefine if you don't want the libgd features or don't have the */ -/* necessary 3rd party library. */ -/*******************************************************************/ -/* Define if the GD library has the GD_FONTCONFIG feature */ -#define HAVE_GD_FONTCONFIG 1 - -/* Define if the GD library has the GD_FREETYPE feature */ -#define HAVE_GD_FREETYPE 1 - -/* Define if the GD library has the GD_GIF feature */ -#define HAVE_GD_GIF 1 - -/* Define if the GD library has the GD_JPEG feature */ -#define HAVE_GD_JPEG 1 - -/* Define if the GD library has the GD_PNG feature */ -#define HAVE_GD_PNG 1 - -/*******************************************************************/ -/* Undefine if you don't have the necessary 3rd party library. */ -/*******************************************************************/ -/* Define if you have the jpeg library (-ljpeg). */ -#define HAVE_LIBJPEG 1 - -/* Define if you have the `m' library (-lm). */ -#define HAVE_LIBM 1 - -/* Define if you have the png library (-lpng). */ -#define HAVE_LIBPNG 1 - -/* Define if you have the freetype library (-lfreetype), */ -#define HAVE_LIBFREETYPE 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FT2BUILD_H 1 - -/* Define if you have the FONTCONFIG library */ -#define HAVE_LIBFONTCONFIG 1 - -/* Define if you have the z library (-lz). */ -#define HAVE_LIBZ 1 - -/* Define if you have the expat library (-lexpat). */ -#define HAVE_LIBEXPAT 1 - -/* Define if you have the xpm library (-lXpm). */ -/* At present, the xpm library isn't really used */ -/* #define HAVE_LIBXPM 1 */ - -/*******************************************************************/ -/* The following usually aren't changed. */ -/*******************************************************************/ -/* Define if you don't want on-demand plugin loading */ -#define DISABLE_LTDL 1 - -/* Define if you want the gd renderers (png, gif, etc ) */ -#define GD_RENDER 1 - -/* Default DPI. */ -#define DEFAULT_DPI 96 - -#define VERSION "VVVV" -#define BUILDDATE "DDDD" - -#ifndef DEFAULT_FONTPATH -# ifdef _UWIN -# define DEFAULT_FONTPATH "/win/fonts" -# define PATHSEPARATOR ":" -# else -# ifdef MSWIN32 -# define DEFAULT_FONTPATH "C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts" -# define PATHSEPARATOR ";" -# else -# define DEFAULT_FONTPATH "/usr/share/ttf:/usr/local/share/ttf:/usr/share/fonts/ttf:/usr/local/share/fonts/ttf:/usr/lib/fonts:/usr/local/lib/fonts:/usr/lib/fonts/ttf:/usr/local/lib/fonts/ttf:/usr/common/share/fonts/ttf:/usr/common/graphviz/lib/fonts/ttf:/windows/fonts:/dos/windows/fonts:/usr/add-on/share/ttf:/usr/openwin/lib/X11/fonts/TrueType:." -# define PATHSEPARATOR ":" -# endif -# endif -#endif - -#endif diff --git a/configure.old b/configure.old deleted file mode 100755 index 9b60e72b6..000000000 --- a/configure.old +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/ksh - -echo "This script has generated Makefiles for a traditional make process." -echo "If you are using GNU tools, please use './configure' instead." - -# We could do other configuration things in this script, but the -# basic need is to generate Makefiles. We can't leave Makefiles -# in CVS because they would be overwritten by the Makefiles generated -# by GNU automake/autoconf. -for i in `find . -name Makefile.old`; do cp $i ${i%%.old}; done - -# do the same for config.h plus insert VERSION and BUILDDATE -V=$(grep 'AC_INIT(graphviz' configure.ac | m4 '-DAC_INIT=$2') -D=$(date) -./iffe - set cc cc : run config.iffe | sed "s/VVVV/$V/" > config.h -echo "#define BUILDDATE \"$D\"" > builddate.h - -# Append VERSION to Config.mk -cp Config.mk.old Config.mk -echo "VERSION=$V" >> Config.mk - -# Remove cdt/ast_common.h if it came with the distribution -# so a fresh one is generated. -rm -f cdt/ast_common.h diff --git a/contrib/Makefile.am b/contrib/Makefile.am index d77504e44..4334f96fb 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -3,5 +3,5 @@ SUBDIRS = prune diffimg -EXTRA_DIST = INDEX dotmcl.pl gprof2dot.awk webdot.cgi Makefile.old \ +EXTRA_DIST = INDEX dotmcl.pl gprof2dot.awk webdot.cgi \ sdlshapes lefty-grace dirgraph pangotest diff --git a/contrib/Makefile.old b/contrib/Makefile.old deleted file mode 100644 index 0f3dca310..000000000 --- a/contrib/Makefile.old +++ /dev/null @@ -1,20 +0,0 @@ - -include ../Config.mk -include ../makearch/$(ARCH) - -SUBDIRS = lefty-grace dirgraph prune -FILES = dotmcl.pl gprof2dot.awk webdot.cgi - -all clean distclean: - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - -install : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - $(MKPATH) $(BINDIR) - $(CP) ($FILES) $(BINDIR) - -clean : - true - -distclean : - true diff --git a/contrib/dirgraph/Makefile.old b/contrib/dirgraph/Makefile.old deleted file mode 100644 index 1ae694f16..000000000 --- a/contrib/dirgraph/Makefile.old +++ /dev/null @@ -1,18 +0,0 @@ - -include ../../Config.mk -include ../../makearch/$(ARCH) - -FILES = dirgraph.pl - -all : - true - -install: - $(MKPATH) $(BINDIR) - $(INSTALL) $(FILES) $(BINDIR) - -clean: - true - -distclean: - true diff --git a/contrib/lefty-grace/Makefile.old b/contrib/lefty-grace/Makefile.old deleted file mode 100644 index 8304ac839..000000000 --- a/contrib/lefty-grace/Makefile.old +++ /dev/null @@ -1,18 +0,0 @@ - -include ../../Config.mk -include ../../makearch/$(ARCH) - -FILES = dotty.lefty dotty_draw.lefty dotty_edit.lefty dotty_ui.lefty - -all : - true - -install: - $(MKPATH) $(LIBDIR)/lefty - $(INSTALL) $(FILES) $(LIBDIR)/lefty - -clean: - true - -distclean: - true diff --git a/contrib/prune/Makefile.old b/contrib/prune/Makefile.old deleted file mode 100644 index e5bd749a2..000000000 --- a/contrib/prune/Makefile.old +++ /dev/null @@ -1,33 +0,0 @@ -# prune make file -# Written by Emden R. Gansner (1 Mar 2002) -ALL = prune -all : $(ALL) - -include ../../Config.mk -include ../../makearch/$(ARCH) - -INCS = -I. -I../.. -I../../tools/src -I../../agraph -I../../cdt - -DEFINES = -DHAVE_CONFIG_H - -OBJS = prune.o generic_list.o - -generic_list.o : generic_list.h - -GLIBS = -L../../agraph -L../../cdt -lagraph -lcdt -LIBS = -L../../tools/src -lingraphs $(GLIBS) - -prune : $(OBJS) - $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ - -install : all - $(MKPATH) $(BINDIR) - $(CP) prune $(BINDIR) - $(MKPATH) $(MANDIR) - $(INSTALL) prune.1 $(MANDIR) - -clean : - $(RM) core *.o - -distclean : clean - $(RM) $(ALL) diff --git a/doc/infosrc/Makefile.old b/doc/infosrc/Makefile.old deleted file mode 100644 index d25cd09d6..000000000 --- a/doc/infosrc/Makefile.old +++ /dev/null @@ -1,228 +0,0 @@ -# -# Generator for on-line documentation. -# -# Required tools: cc, dot, awk, ksh, yacc, gs, python. -# gs and awk are used in ps_to_jpg.sh -# dot is used in mkarrows.sh, mkshapes.sh, mkstyles.sh, mktapers.sh, mksplines.sh -# ps_to_png.sh and other make rules rely on netpbm tools -# and ps2raster, which is part of the GMT library. -# -# python is used to run jconvert.py, which converts the json schema -# graphviz_json_schema.json to html. This also relies on the python -# package json2html. -# -# The main product are 7 web pages: -# arrows.html - arrow_grammar -# attrs.html - attrs, types -# colors.html - color_names svgcolor_names brewer_colors -# command.html - raw HTML -# lang.html - grammar -# output.html - outputs -# shapes.html - shapelist, html_grammar -# -# The files listed after each give the main data files used to -# generate the page. -# -# If shapelist is extended, add entry to SGIF. - -INSTALL = cp -INSTALL_DIR = ../info - -XGIF = forward.gif back.gif both.gif nohead.gif - -MGIF = constraint.gif record.gif html1.gif html2.gif fill.gif round.gif \ - mrecord.gif html3.gif html4.gif colorlist.gif record2.gif fixed.gif tee.gif - -MJPG = sdlshapes.jpg - -GRADPNG = g_lin0.png g_wlin0.png g_rad0.png g_lin45.png g_wlin45.png g_rad45.png g_lin90.png g_wlin90.png g_rad90.png \ - g_lin180.png g_wlin180.png g_rad180.png g_lin270.png g_wlin270.png g_rad270.png g_lin360.png g_wlin360.png g_rad360.png - -STYLEPNG = n_solid.png n_dashed.png n_dotted.png n_bold.png n_filled.png n_rounded.png n_striped.png \ - n_wedged.png n_diagonals.png \ - e_solid.png e_dashed.png e_dotted.png e_bold.png \ - c_solid.png c_dashed.png c_dotted.png c_bold.png c_filled.png c_rounded.png c_striped.png - -TAPERPNG = normal_forward.png normal_back.png normal_both.png normal_none.png \ - none_forward.png none_back.png none_both.png none_none.png - -SPLINEPNG = spline_none.png spline_line.png spline_spline.png spline_ortho.png spline_curved.png spline_polyline.png - -MPNG = plugins.png sdlshapes.png $(GRADPNG) $(STYLEPNG) $(TAPERPNG) $(SPLINEPNG) - -SGIF = Mcircle.gif Mdiamond.gif Msquare.gif box.gif \ - circle.gif diamond.gif doublecircle.gif \ - doubleoctagon.gif egg.gif ellipse.gif hexagon.gif house.gif \ - invhouse.gif invtrapezium.gif invtriangle.gif none.gif underline.gif \ - octagon.gif oval.gif parallelogram.gif plaintext.gif note.gif \ - point.gif polygon.gif trapezium.gif triangle.gif cylinder.gif \ - tripleoctagon.gif pentagon.gif septagon.gif rect.gif plain.gif \ - rectangle.gif square.gif star.gif tab.gif folder.gif box3d.gif \ - component.gif promoter.gif cds.gif terminator.gif utr.gif \ - primersite.gif restrictionsite.gif fivepoverhang.gif \ - threepoverhang.gif noverhang.gif assembly.gif signature.gif \ - insulator.gif ribosite.gif rnastab.gif proteasesite.gif \ - proteinstab.gif rpromoter.gif rarrow.gif larrow.gif lpromoter.gif - -AGIF = a_normal.gif a_inv.gif a_dot.gif a_invdot.gif a_odot.gif \ - a_invodot.gif a_curve.gif a_icurve.gif a_none.gif \ - a_tee.gif a_empty.gif a_invempty.gif a_open.gif \ - a_diamond.gif a_odiamond.gif a_box.gif a_obox.gif a_crow.gif \ - a_halfopen.gif a_ediamond.gif a_lteeoldiamond.gif - -A2GIF= aa_box.gif aa_lbox.gif aa_rbox.gif aa_obox.gif aa_olbox.gif aa_orbox.gif\ - aa_crow.gif aa_lcrow.gif aa_rcrow.gif \ - aa_diamond.gif aa_ldiamond.gif aa_rdiamond.gif aa_odiamond.gif aa_oldiamond.gif aa_ordiamond.gif\ - aa_dot.gif aa_odot.gif \ - aa_inv.gif aa_linv.gif aa_rinv.gif aa_oinv.gif aa_olinv.gif aa_orinv.gif\ - aa_none.gif \ - aa_normal.gif aa_lnormal.gif aa_rnormal.gif aa_onormal.gif aa_olnormal.gif aa_ornormal.gif\ - aa_tee.gif aa_ltee.gif aa_rtee.gif \ - aa_vee.gif aa_lvee.gif aa_rvee.gif \ - aa_curve.gif aa_lcurve.gif aa_rcurve.gif \ - aa_icurve.gif aa_licurve.gif aa_ricurve.gif - - - -GIF = $(SGIF) $(AGIF) $(MGIF) $(A2GIF) $(XGIF) -DOTS = html2.gv html3.gv html4.gv tee.gv -HTML = attrs.html colors.html command.html lang.html output.html shapes.html \ - arrows.html schema.html -INSTALL_FILES = $(HTML) $(DOTS) $(SGIF) $(AGIF) $(A2GIF) $(MGIF) $(XGIF) $(MJPG) $(MPNG) - -.SUFFIXES: .gv .gif .dot .png - -.dot.gif : - dot -Tgif -o $@ $< - -.gv.gif : - dot -Tgif -o $@ $< - -.gv.png : - dot -Tpng -o $@ $< - -all : $(HTML) $(GIF) $(MPNG) $(MJPG) - -install : all - $(INSTALL) $(INSTALL_FILES) $(INSTALL_DIR) - -record2.gif : record.dot - dot -Tgif -Grankdir=LR -o $@ $< - -sdlshapes.ps : sdlshapes.dot - dot -Tps -lsdl.ps sdlshapes.dot > sdlshapes.ps - -sdlshapes.ppm: sdlshapes.ps - ps2raster sdlshapes.ps -Tm -A -E800 - -sdlshapes.jpg : sdlshapes.ppm - cat sdlshapes.ppm | pamscale .1 | pnmtojpeg >sdlshapes.jpg - -sdlshapes.png : sdlshapes.ps - ./ps_to_png.sh sdlshapes.ps sdlshapes.png - -attrs.html : attrs.1 attrs types mkattrs.sh mktypes.sh - cat attrs.1 > attrs.html - ./mkattrs.sh < attrs >> attrs.html - ./mktypes.sh < types >> attrs.html - -colors.html : colors.1 colors.n ../../lib/common/color_names ../../lib/common/svgcolor_names ../../lib/common/brewer_colors mkcolors.awk brewer.awk svg.awk - mkdir -p colortmp - awk -f brewer.awk ../../lib/common/brewer_colors - cat colors.1 > colors.html - awk -f mkcolors.awk ../../lib/common/color_names >> colors.html - echo '

The SVG color scheme

' >> colors.html - awk -f svg.awk ../../lib/common/svgcolor_names > svg - awk -f mkcolors.awk svg >> colors.html - rm -rf svg - echo '

Brewer color schemes

' >> colors.html - (for f in $$(ls colortmp); do awk -f mkcolors.awk -s colortmp/$$f >> colors.html; done) - cat colors.n >> colors.html - rm -rf colortmp - -output.html : output.1 output.2 outputs mkoutput.sh plugins.png jconvert.py - cat output.1 > output.html - ./jconvert.py graphviz_json_schema.json schema.html - ./mkoutput.sh < outputs >> output.html - cat output.2 >> output.html - -html.html : html.1 html_grammar html.2 html.3 html1.gif html2.gif html3.gif html4.gif mklang - ./mklang html_grammar gramtmp - cat html.1 > html.html - cat gramtmp >> html.html - cat html.2 >> html.html - cat html1.dot >> html.html - cat html.3 >> html.html - rm gramtmp - -shapes : shapelist mkshapes.sh - ./mkshapes.sh - touch shapes - -shapes.html : shapes shapes.1 mkshhtml.sh shapes.2 html.html shapes.3 record.gif record2.gif sdlshapes.png - cat shapes.1 > shapes.html - ./mkshhtml.sh >> shapes.html - cat shapes.2 >> shapes.html - cat html.html >> shapes.html - cat shapes.3 >> shapes.html - -lang.html : grammar lang.1 lang.2 mklang - ./mklang grammar gramtmp - cat lang.1 > lang.html - cat gramtmp >> lang.html - cat lang.2 >> lang.html - rm gramtmp - -arrows.html : arrow_grammar arrows.1 arrows.2 mkarrowtbl.sh mklang $(AGIF) $(A2GIF) - ./mklang arrow_grammar gramtmp - cat arrows.1 > arrows.html - cat gramtmp >> arrows.html - cat arrows.2 >> arrows.html - ./mkarrowtbl.sh $(A2GIF) >> arrows.html - rm gramtmp - -mklang : mklang.y - yacc mklang.y - cc -o mklang y.tab.c - rm -rf y.tab.c - -$(SGIF) : mkshapes.sh shapelist - ./mkshapes.sh - -$(AGIF) : - ./mkarrows.sh $@ - -$(A2GIF) : - ./mkarrows.sh -s $@ - -$(GRADPNG) : mkgrads.sh - ./mkgrads.sh $@ - -$(STYLEPNG) : mkstyles.sh - ./mkstyles.sh $@ - -$(TAPERPNG) : mktapers.sh - ./mktapers.sh $@ - -$(SPLINEPNG) : mksplines.sh - ./mksplines.sh $@ - -clean : - rm -f mklang sdlshapes.ps sdlshapes.ppm html.html - -distclean : clean - rm -f attrs.html colors.html output.html shapes.html lang.html arrows.html - rm -f $(A2GIF) $(AGIF) $(SGIF) $(MJPG) $(MGIF) $(MPNG) shapes - (for s in $$(cat shapelist); do rm -f $$s.gif; done) - -EXTRA_DIST = $(XGIF) mklang.y mkarrows.sh mkattrs.sh mkshapes.sh mkstyles.sh mktapers.sh \ - mktypes.sh mkarrowtbl.sh mkoutput.sh mkshhtml.sh \ - ps_to_jpg.sh ps_to_png.sh arrow_grammar grammar html_grammar \ - shapelist attrs.1 colors.1 colors.n \ - output.1 output.2 html.1 html.2 html1.dot html.3 \ - shapes.1 shapes.2 shapes.3 lang.1 lang.2 arrows.1 arrows.2 \ - brewer.awk mkcolors.awk svg.awk sz.awk \ - colorlist.dot html1.dot html4.dot round.dot constraint.dot \ - html2.dot mrecord.dot sdlshapes.dot fill.dot html3.dot record.dot \ - attrs types X11 outputs eqn.gif plugins.gv - diff --git a/lib/Makefile.old b/lib/Makefile.old deleted file mode 100644 index 6d647a5f9..000000000 --- a/lib/Makefile.old +++ /dev/null @@ -1,10 +0,0 @@ -SUBDIRS = cdt graph agraph cgraph gd pathplan agutil sfio vmalloc ast circogen \ - dotgen fdpgen sfdpgen neatogen pack twopigen common gvc ingraphs expr \ - patchwork sparse rbtree ortho osage gvpr - -all install clean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - -distclean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - rm -rf lib include diff --git a/lib/agraph/Makefile.old b/lib/agraph/Makefile.old deleted file mode 100644 index 29549155a..000000000 --- a/lib/agraph/Makefile.old +++ /dev/null @@ -1,53 +0,0 @@ - -LIBNAME = libagraph.a - -all: $(LIBNAME) - -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I../cdt -I$(ROOT) - -DEFINES = -DHAVE_CONFIG_H - -OBJS = apply.o attr.o edge.o agerror.o flatten.o \ - grammar.o graph.o id.o imap.o io.o mem.o \ - node.o obj.o pend.o rec.o refstr.o scan.o \ - subg.o utils.o write.o - -$(LIBNAME): $(OBJS) - $(AR) cr $(LIBNAME) $(OBJS) - $(RANLIB) $(LIBNAME) - -# this is a home-made tool -# trie.c : trie_input -# triegen < trie_input > trie.c - -lexer.o : grammar.o - -grammar.c : grammar.y - $(YACC) -dv grammar.y - $(SED) "s/yy/aag/g" < y.tab.c > grammar.c - $(SED) "s/yy/aag/g" < y.tab.h > grammar.h - $(RM) y.tab.c y.tab.h - -scan.c : scan.l - $(FLEX) -i scan.l - $(SED) "s/yy/aag/g" < lex.yy.c > scan.c - $(RM) lex.yy.c - -install: $(LIBNAME) - $(MKPATH) $(LIBDIR) - $(INSTALL) $(LIBNAME) $(LIBDIR) -# $(SHLIB_LD) -o $(LIBDIR)/libagraph.so.$(VERSION) $(OBJS) - $(MKPATH) $(INCDIR) - $(INSTALL) agraph.h $(INCDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) agraph.3 $(LIBMANDIR) - -clean: - $(RM) *.o core grammar.[ch] scan.c - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/agutil/Makefile.old b/lib/agutil/Makefile.old deleted file mode 100644 index f9bb2c6a3..000000000 --- a/lib/agutil/Makefile.old +++ /dev/null @@ -1,32 +0,0 @@ -all: libagutil.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../agraph \ - -I../cdt - -DEFINES = -DHAVE_CONFIG_H - -HDRS = agutil.h - -OBJS = dynattr.o nodeq.o - -libagutil.a : $(OBJS) - $(RM) libagutil.a - $(AR) cr libagutil.a $(OBJS) - $(RANLIB) libagutil.a - -install: libagutil.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libagutil.a $(LIBDIR) - -$(OBJS) : agutil.h - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/lib/ast/Makefile.old b/lib/ast/Makefile.old deleted file mode 100644 index ad4aa1923..000000000 --- a/lib/ast/Makefile.old +++ /dev/null @@ -1,38 +0,0 @@ -# libast.a (short version) make file -# Written by Emden R. Gansner (1 Mar 2001) - -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_INCDIR=../include -LOC_LIBDIR=../lib - -INCS= -I. -I../sfio -I$(ROOT) - -DEFINES = -DHAVE_CONFIG_H - -OBJS = chrtoi.o chresc.o error.o fmtesc.o fmtbuf.o \ - pathcanon.o pathfind.o pathpath.o pathgetlink.o \ - pathaccess.o pathbin.o pathcat.o pathexists.o \ - strcopy.o stresc.o strmatch.o strton.o - -all : install - -install : libast.a - $(MKPATH) $(LOC_INCDIR) - cp align.h ast.h error.h sfstr.h $(LOC_INCDIR) - $(MKPATH) $(LOC_LIBDIR) - cp libast.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libast.a; exit 0) >/dev/null 2>&1 - -libast.a : $(OBJS) - $(AR) cr libast.a $(OBJS) - -clean : - $(RM) *.o - -distclean : clean - $(RM) libast.a - - diff --git a/lib/cdt/Makefile.old b/lib/cdt/Makefile.old deleted file mode 100644 index a478a322c..000000000 --- a/lib/cdt/Makefile.old +++ /dev/null @@ -1,58 +0,0 @@ -# libcdt.a old make makefile -# Written by Kiem-Phong Vo (03/18/1998) -# Modified for graphviz by erg (5 Oct 2000) - -ROOT=../.. - -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -CXFLAGS= -CCMODE= -O -DEFINES= $(CCMODE) -I. $(CXFLAGS) - -HDRS = cdt.h dthdr.h -SRCS = dtclose.c dtdisc.c dtflatten.c dthash.c dtmethod.c dtopen.c dtsize.c \ - dtextract.c dtrestore.c dtlist.c dtstat.c dttree.c dttreeset.c dtview.c \ - dtrenew.c dtwalk.c dtstrhash.c -OBJS = dtclose.o dtdisc.o dtflatten.o dthash.o dtmethod.o dtopen.o dtsize.o \ - dtextract.o dtrestore.o dtlist.o dtstat.o dttree.o dttreeset.o dtview.o \ - dtrenew.o dtwalk.o dtstrhash.o -SRC_P= Cdt_p/tsearch.c Cdt_p/hsearch.c -OBJ_P= tsearch.o hsearch.o - -all: libcdt.a - -cleanup : - rm -f ast_common.h - -libcdt.a : ast_common.h $(OBJS) - $(RM) libcdt.a - $(AR) cr libcdt.a $(OBJS) - -(ranlib libcdt.a; exit 0) >/dev/null 2>&1 - -tsearch.o : Cdt_p/tsearch.c - $(CC) -c $(DEFINES) Cdt_p/tsearch.c - -hsearch.o : Cdt_p/hsearch.c - $(CC) -c $(DEFINES) Cdt_p/hsearch.c - -ast_common.h : features/common - $(ROOT)/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/common > ast_common.h - -$(OBJS) : ast_common.h - -install : libcdt.a - $(MKPATH) $(LIBDIR) - $(MKPATH) $(INCDIR) - -(rm -f $(INCDIR)/cdt.h $(INCDIR)/dict.h; exit 0) >/dev/null 2>&1 - -(rm -f $(LIBDIR)/libcdt.a $(LIBDIR)/libdict.a; exit 0) >/dev/null 2>&1 - cp cdt.h $(INCDIR) - cp libcdt.a $(LIBDIR) - -(ranlib $(LIBDIR)/libcdt.a; exit 0) >/dev/null 2>&1 - -clean : - -(rm ast_common.h $(OBJS) libcdt.a FEATURE/*; exit 0) >/dev/null 2>&1 - -distclean : - -(rm ast_common.h $(OBJS) libcdt.a FEATURE/*; exit 0) >/dev/null 2>&1 diff --git a/lib/cgraph/Makefile.old b/lib/cgraph/Makefile.old deleted file mode 100644 index 33d783776..000000000 --- a/lib/cgraph/Makefile.old +++ /dev/null @@ -1,75 +0,0 @@ -LIBNAME = libcgraph.a - -all: $(LIBNAME) - -ROOT=../.. - -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I../cdt -I$(ROOT) -CCFLAGS = -g - -DEFINES = -DHAVE_CONFIG_H - -OBJS = apply.o attr.o agxbuf.o edge.o agerror.o flatten.o \ - grammar.o graph.o id.o imap.o io.o mem.o \ - node.o obj.o pend.o rec.o refstr.o scan.o \ - subg.o utils.o write.o - -$(LIBNAME): $(OBJS) - $(AR) cr $(LIBNAME) $(OBJS) - $(RANLIB) $(LIBNAME) - -# this is a home-made tool -# trie.c : trie_input -# triegen < trie_input > trie.c - -lexer.o : grammar.o - -grammar.c : grammar.y - $(YACC) -dv grammar.y - $(SED) "s/yy/aag/g" < y.tab.c > grammar.c - $(SED) "s/yy/aag/g" < y.tab.h > grammar.h - $(RM) y.tab.c y.tab.h - -scan.c : scan.l - $(FLEX) -i scan.l - $(SED) "s/yy/aag/g" < lex.yy.c > scan.c - $(RM) lex.yy.c - -install: $(LIBNAME) - $(MKPATH) $(LIBDIR) - $(INSTALL) $(LIBNAME) $(LIBDIR) -# $(SHLIB_LD) -o $(LIBDIR)/libcgraph.so.$(VERSION) $(OBJS) - $(MKPATH) $(INCDIR) - $(INSTALL) cgraph.h $(INCDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) cgraph.3 $(LIBMANDIR) - -clean: - $(RM) *.o core grammar.[ch] scan.c - -distclean: clean - $(RM) *.a lib*.so.* - -tester: tester.c $(LIBNAME) - $(CC) -static tester.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib/ -lcdt -o tester - -main1: main1.c $(LIBNAME) - $(CC) $(CCFLAGS) main1.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o main1 - -main2: main2.c $(LIBNAME) - $(CC) $(CCFLAGS) main2.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o main2 - -main3: main3.c $(LIBNAME) - $(CC) $(CCFLAGS) main3.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o main3 - -main4: main4.c $(LIBNAME) - $(CC) $(CCFLAGS) main4.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o main4 - -cgtest: cgtest.c $(LIBNAME) - $(CC) $(CCFLAGS) cgtest.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o cgtest - -main: main.c $(LIBNAME) - $(CC) $(CCFLAGS) main.c $(INCS) $(LIBNAME) -L$(HOME)/arch/$(ARCH)/lib -lcdt -o main diff --git a/lib/circogen/Makefile.old b/lib/circogen/Makefile.old deleted file mode 100644 index a25d98e39..000000000 --- a/lib/circogen/Makefile.old +++ /dev/null @@ -1,54 +0,0 @@ -all: libcircogen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../sparse \ - -I../dotgen \ - -I../pack \ - -I../gvc \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = circularinit.o nodelist.o block.o edgelist.o stack.o circular.o \ - deglist.o blocktree.o blockpath.o circpos.o nodeset.o - -HFILES = circular.h nodelist.h edgelist.h deglist.h stack.h \ - block.h - -libcircogen.a : $(OBJS) - $(RM) libcircogen.a - $(AR) cr libcircogen.a $(OBJS) - $(RANLIB) libcircogen.a - -BASEH = circular.h nodelist.h block.h stack.h - -block.o : $(BASEH) -blockpath.o : $(BASEH) blockpath.h edgelist.h nodeset.h deglist.h -blocktree.o : blocktree.h $(BASEH) -circpos.o : blockpath.h $(BASEH) -circular.o : blocktree.h circpos.h $(BASEH) -circularinit.o : $(BASEH) -deglist.o : deglist.h blockpath.h $(BASEH) -edgelist.o : edgelist.h -nodelist.o : $(BASEH) -nodeset.o : nodeset.h -stack.o : $(BASEH) -$(OBJS) : ../common/types.h - -install: libcircogen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libcircogen.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/common/Makefile.old b/lib/common/Makefile.old deleted file mode 100644 index 03fc52e43..000000000 --- a/lib/common/Makefile.old +++ /dev/null @@ -1,79 +0,0 @@ -all: libcommon.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../cdt \ - -I../pack \ - -I../xdot \ - -I../fdpgen \ - -I../pathplan \ - -I../gd \ - -I../graph \ - -I../gvc \ - $(EXTLIB_INC) - -DEFINES = -DHAVE_CONFIG_H - -AWKDIR = $(ROOT)/awk - -INST_HDRS = geom.h color.h types.h textpara.h usershape.h -NOINST_HDRS = render.h utils.h memory.h \ - geomprocs.h colorprocs.h const.h macros.h pointset.h -NOINST_GENERATED_HDRS = colortbl.h htmltable.h htmlparse.h htmllex.h - -OBJS = arrows.o colxlate.o fontmetrics.o \ - args.o memory.o globals.o htmllex.o htmlparse.o htmltable.o input.o \ - pointset.o postproc.o routespl.o splines.o psusershape.o \ - timing.o labels.o ns.o shapes.o utils.o geom.o \ - output.o emit.o - -libcommon.a : $(OBJS) - $(RM) libcommon.a - $(AR) cr libcommon.a $(OBJS) - $(RANLIB) libcommon.a - -htmllex.o : htmlparse.c - -htmlparse.h htmlparse.c : htmlparse.y - $(YACC) -dv htmlparse.y - if test $(ARCH) = "netbsd.i386" -o $(ARCH) = "osx.i386"; then $(SED) "s/yy/html/g" < y.tab.c > htmlparse.c; else $(SED) 1s/#include.*// < y.tab.c | $(SED) "s/yy/html/g" > htmlparse.c; fi - $(SED) "s/yy/html/g" < y.tab.h > htmlparse.h - $(RM) y.tab.c y.tab.h - -htmllex.o : htmllex.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) htmllex.c - -install: libcommon.a - $(MKPATH) $(INCDIR) - $(INSTALL) $(INST_HDRS) $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libcommon.a $(LIBDIR) - -$(OBJS) : $(INST_HDRS) $(NOINST_HDRS) -colxlate.o : colortbl.h -emit.o mapgen.o utils.o htmllex.o htmltable.o htmlparse.o : htmltable.h -htmllex.o : htmlparse.h -htmlparse.o htmllex.o : htmllex.h -globals.o : globals.h - -fontmetrics.o: ps_font_equiv.h - -# ensure font names are properly sorted for bsearch operation -ps_font_equiv.h: ps_font_equiv.txt ps_fontmap.txt ps_fontmap.txt - cp ps_fontmap.txt ps_font_equiv.h - ./mksvgfonts.pl fontmap.cfg ps_font_equiv.txt | LC_ALL=C $(SORT) >>ps_font_equiv.h - -colortbl.h : color_names brewer_colors - $(AWK) -f $(AWKDIR)/brewer.awk brewer_colors > brewer_lib - cat brewer_lib color_names | LC_COLLATE=C $(SORT) > color_lib - $(AWK) -f $(AWKDIR)/colortbl.awk color_lib > colortbl.h - $(RM) color_lib brewer_lib - -clean: - $(RM) core *.o htmlparse.c htmlparse.h colortbl.h y.output - -distclean: clean - $(RM) *.a diff --git a/lib/dotgen/Makefile.old b/lib/dotgen/Makefile.old deleted file mode 100644 index 8b1a2da10..000000000 --- a/lib/dotgen/Makefile.old +++ /dev/null @@ -1,38 +0,0 @@ -all: libdotgen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../gvc \ - -I../ortho \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = acyclic.o compound.o flat.o sameport.o class1.o conc.o \ - position.o dotsplines.o class2.o decomp.o dotinit.o rank.o \ - cluster.o fastgr.o mincross.o aspect.o - -HFILES = dot.h dotprocs.h - -libdotgen.a : $(OBJS) - $(RM) libdotgen.a - $(AR) cr libdotgen.a $(OBJS) - $(RANLIB) libdotgen.a - -$(OBJS) : $(HFILES) ../common/types.h - -install: libdotgen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libdotgen.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a dot lib*.so.* diff --git a/lib/expr/Makefile.old b/lib/expr/Makefile.old deleted file mode 100644 index b171b35ea..000000000 --- a/lib/expr/Makefile.old +++ /dev/null @@ -1,57 +0,0 @@ -# libexpr.a (short version) make file -# Written by Emden R. Gansner (1 Mar 2001) -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_INCDIR=../include -LOC_LIBDIR=../lib - -INCS = -I. -I$(LOC_INCDIR) -I$(ROOT) -I../cdt - -DEFINES = -DHAVE_CONFIG_H - -OBJS = exparse.o excc.o excontext.o exdata.o exeval.o exexpr.o \ - exerror.o exopen.o exrewind.o extoken.o extype.o exzero.o - -all : install - -install : libexpr.a - $(MKPATH) $(LOC_INCDIR) - cp expr.h exparse.h $(LOC_INCDIR) - $(MKPATH) $(LOC_LIBDIR) - cp libexpr.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libexpr.a; exit 0) >/dev/null 2>&1 - -libexpr.a : $(OBJS) - $(AR) cr libexpr.a $(OBJS) - -OBJS : exlib.h expr.h exparse.h - -exparse.o : exparse.c exgram.h exparse.h - -exeval.o exlexname.o : exop.h - -exparse.c exparse.h : exparse.y - $(YACC) -dtv exparse.y - $(SED) "s/yy/ex/g" < y.tab.c | $(SED) "s/YY/EX/g" > tmp - $(SED) "s/printf(/sfprintf(sfstderr,/g" < tmp > exparse.c - echo "#ifndef _EXPARSE_H" > exparse.h - echo "#define _EXPARSE_H" >> exparse.h - $(SED) "s/yy/ex/g" < y.tab.h | $(SED) "s/YY/EX/g" >> exparse.h - echo "#endif /* _EXPARSE_H */" >> exparse.h - $(RM) tmp y.tab.c y.tab.h - -exop.h : exparse.h - echo "static const char* exop[] = {" > 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 : - $(RM) *.o - -distclean : clean - $(RM) y.output exparse.c exparse.h exop.h libexpr.a - - diff --git a/lib/fdpgen/Makefile.old b/lib/fdpgen/Makefile.old deleted file mode 100644 index 1a9b7d847..000000000 --- a/lib/fdpgen/Makefile.old +++ /dev/null @@ -1,39 +0,0 @@ -all: libfdpgen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../pack \ - -I../gvc \ - -I../sparse \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DDEBUG -DHAVE_CONFIG_H - -OBJS = layout.o fdpinit.o comp.o tlayout.o xlayout.o dbg.o grid.o \ - clusteredges.o - -HFILES = fdp.h ../common/types.h - -libfdpgen.a : $(OBJS) - $(RM) libfdpgen.a - $(AR) cr libfdpgen.a $(OBJS) - $(RANLIB) libfdpgen.a - -$(OBJS) : $(HFILES) - -install: libfdpgen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libfdpgen.a $(LIBDIR) - -clean: - $(RM) *.o core *.a - -distclean: clean - $(RM) lib*.so.* diff --git a/lib/graph/Makefile.old b/lib/graph/Makefile.old deleted file mode 100644 index c6edaaa08..000000000 --- a/lib/graph/Makefile.old +++ /dev/null @@ -1,46 +0,0 @@ -all: libgraph.a - -ROOT=../.. - -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I../cdt - -OBJS = agxbuf.o attribs.o graph.o node.o edge.o graphio.o \ - lexer.o parser.o refstr.o trie.o - -libgraph.a: $(OBJS) - $(RM) libgraph.a - $(AR) cr libgraph.a $(OBJS) - $(RANLIB) libgraph.a - -# this is a home-made tool -# trie.c : trie_input -# triegen < trie_input > trie.c - -lexer.o : parser.o - -parser.c : parser.y - $(YACC) -dv parser.y - if test $(ARCH) = "netbsd.i386" -o $(ARCH) = "osx.i386"; then $(SED) "s/yy/ag/g" < y.tab.c > parser.c; else $(SED) 1s/#include.*// < y.tab.c | $(SED) "s/yy/ag/g" > parser.c; fi - $(SED) "s/yy/ag/g" < y.tab.h > parser.h - $(RM) y.tab.c y.tab.h - -trie.o : parser.h -agxbuf.o lexer.o : agxbuf.h - -install: libgraph.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgraph.a $(LIBDIR) -# $(SHLIB_LD) -o $(LIBDIR)/libgraph.so.$(VERSION) $(OBJS) - $(MKPATH) $(INCDIR) - $(INSTALL) graph.h $(INCDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) graph.3 $(LIBMANDIR) - -clean: - $(RM) *.o core parser.[ch] y.output - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/gvc/Makefile.old b/lib/gvc/Makefile.old deleted file mode 100644 index 8eb6bf50d..000000000 --- a/lib/gvc/Makefile.old +++ /dev/null @@ -1,58 +0,0 @@ -all: libgvc.a libgvc_dot_builtins.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../cdt \ - -I../pathplan \ - -I../xdot \ - -I../graph \ - -I../common \ - $(EXTLIB_INC) - -DEFINES = -DHAVE_CONFIG_H -DGVLIBDIR=\"$(LIBDIR)\" - -INST_HDRS = gvc.h gvcint.h gvcjob.h gvcext.h gvplugin.h \ - gvplugin_render.h gvplugin_device.h \ - gvplugin_layout.h gvplugin_textlayout.h - -NOINST_HDRS = gvcproc.h - -OBJS = gvrender.o gvlayout.o gvdevice.o gvcontext.o gvjobs.o gvloadimage.o \ - gvplugin.o gvconfig.o gvevent.o gvtextlayout.o gvusershape.o gvc.o - -libgvc_dot_builtins.a : $(OBJS) - $(RM) libgvc_dot_builtins.a - $(AR) cr libgvc_dot_builtins.a $(OBJS) - $(RANLIB) libgvc_dot_builtins.a - -libgvc.a : $(OBJS) - $(RM) libgvc.a - $(AR) cr libgvc.a $(OBJS) - $(RANLIB) libgvc.a - -install: libgvc.a libgvc_dot_builtins.a - $(MKPATH) $(INCDIR) - $(INSTALL) $(INST_HDRS) $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvc.a libgvc_dot_builtins.a $(LIBDIR) - -$(OBJS) $(EXTRA_OBJS): $(INST_HDRS) $(NOINST_HDRS) - -gvcontext.o : $(ROOT)/config.h $(ROOT)/builddate.h - -$(ROOT)/config.h $(ROOT)/builddate.h : renew - -renew : - (D=`date`; echo "#define BUILDDATE \"$$D\"" > $(ROOT)/builddate.h) - (VM=`awk '/m4_define\(graphviz_version_major/ {print $$2}' $(ROOT)/configure.ac`; VM=$${VM%\)}; \ - Vm=`awk '/m4_define\(graphviz_version_minor/ {print $$2}' $(ROOT)/configure.ac`; Vm=$${Vm%\)}; \ - sed "s/define VERSION.*/define VERSION \"$$VM.$$Vm.0\"/" $(ROOT)/config.h > out; mv out $(ROOT)/config.h) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a diff --git a/lib/gvpr/Makefile.old b/lib/gvpr/Makefile.old deleted file mode 100644 index 26a1bd382..000000000 --- a/lib/gvpr/Makefile.old +++ /dev/null @@ -1,50 +0,0 @@ -# gvpr library make file -# Written by Emden R. Gansner (23 June 2009) -ALL = libgvpr.a -all : $(ALL) -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_LIB=$(ROOT)/lib -LOC_INCDIR=$(LOC_LIB)/include -LOC_LIBDIR=$(LOC_LIB)/lib - -INCS = -I. -I$(ROOT) -I$(LOC_INCDIR) -I$(LOC_LIB)/common -I$(LOC_LIB)/cgraph -I$(LOC_LIB)/cdt \ - -I$(LOC_LIB)/expr -I$(LOC_LIB)/ast -I$(LOC_LIB)/sfio -I$(LOC_LIB)/vmalloc -I$(LOC_LIB)/ingraphs - -DEFINES = -DHAVE_CONFIG_H -DUSE_CGRAPH - -OBJS = gvpr.o parse.o compile.o gprstate.o actions.o queue.o - - -compile.o : gdefs.h - -gdefs.h : gprdata mkdefs - mkdefs gdefs.h < gprdata - -mkdefs : mkdefs.o - $(CC) $(LDFLAGS) mkdefs.o -o $@ - -GLIBS = -L$(LOC_LIB)/cgraph -L$(LOC_LIB)/cdt -lcgraph -lcdt -LIBS = -L$(LOC_LIBDIR) -lexpr -last -lvmalloc -lsfio -lingraphs $(GLIBS) -lm - -gvpr : $(OBJS) $(LOC_LIBDIR)/libexpr.a - $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ -libgvpr.a: $(OBJS) - $(RM) libgvpr.a - $(AR) cr libgvpr.a $(OBJS) - $(RANLIB) libgvpr.a - -install: libgvpr.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvpr.a $(LIBDIR) - - -$(OBJS) : gdefs.h - -clean : - $(RM) core gdefs.h *.o - -distclean : clean - $(RM) mkdefs $(ALL) diff --git a/lib/ingraphs/Makefile.old b/lib/ingraphs/Makefile.old deleted file mode 100644 index 2f23660e9..000000000 --- a/lib/ingraphs/Makefile.old +++ /dev/null @@ -1,30 +0,0 @@ -ALL = libingraphs.a - -all : $(ALL) -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_INCDIR=../include -LOC_LIBDIR=../lib - -DEFINES = -DHAVE_CONFIG_H - -INCS = -I. -I$(ROOT) -I../agraph -I../graph -I../cdt - -libingraphs.a : ingraphs.o - $(AR) cr $@ ingraphs.o - $(MKPATH) $(LOC_INCDIR) - cp ingraphs.h $(LOC_INCDIR) - $(MKPATH) $(LOC_LIBDIR) - cp libingraphs.a $(LOC_LIBDIR) - -install : $(ALL) - $(MKPATH) $(LIBDIR) - cp $(ALL) $(LIBDIR) - -clean : - $(RM) *.o - -distclean : clean - $(RM) $(ALL) diff --git a/lib/inkpot/Makefile.old b/lib/inkpot/Makefile.old deleted file mode 100644 index 5ebf1ac54..000000000 --- a/lib/inkpot/Makefile.old +++ /dev/null @@ -1,50 +0,0 @@ -CFLAGS = -Wall -g -O0 - -LIBINKPOT = inkpot_scheme.o inkpot_xlate.o inkpot_value.o - -inkpot: inkpot.o $(LIBINKPOT) - -inkpot.o: inkpot.h - -libinkpot.so: inkpot_scheme.o inkpot_xlate.o inkpot_value.o - -inkpot_scheme.o: inkpot_scheme.c inkpot_scheme.h inkpot.h \ - inkpot_xlate.h inkpot_value.h \ - inkpot_lib_define.h inkpot_lib_scheme.h - -inkpot_xlate.o: inkpot_xlate.c inkpot_xlate.h inkpot.h - -inkpot_value.o: inkpot_value.c inkpot_value.h inkpot.h \ - inkpot_lib_define.h inkpot_lib_value.h - -inkpot_lib_value.h: inkpot_lib_define.h - -inkpot_lib_scheme.h: inkpot_lib_define.h - -inkpot_lib_define.h: inkpot_lib.tcl inkpot_lib_procs.tcl \ - inkpot_lib_tk.dat \ - inkpot_lib_svg.dat \ - inkpot_lib_x11.dat \ - inkpot_lib_brewer.dat - tclsh inkpot_lib.tcl \ - inkpot_lib_tk.dat \ - inkpot_lib_svg.dat \ - inkpot_lib_x11.dat \ - inkpot_lib_brewer.dat - -inkpot_lib_x11.dat: inkpot_lib_x11.tcl data/rgb.txt - tclsh inkpot_lib_x11.tcl data/rgb.txt - -inkpot_lib_svg.dat: inkpot_lib_svg.tcl data/types.html - tclsh inkpot_lib_svg.tcl data/types.html - -inkpot_lib_tk.dat: inkpot_lib_tk.tcl data/xcolors.c - tclsh inkpot_lib_tk.tcl data/xcolors.c - -inkpot_lib_brewer.dat: inkpot_lib_brewer.tcl data/brewer_colors - tclsh inkpot_lib_brewer.tcl data/brewer_colors - -clean: - rm -rf *.o inkpot *.dat \ - inkpot_lib_value.h inkpot_lib_scheme.h inkpot_lib_define.h - diff --git a/lib/neatogen/Makefile.old b/lib/neatogen/Makefile.old deleted file mode 100644 index 054324b80..000000000 --- a/lib/neatogen/Makefile.old +++ /dev/null @@ -1,63 +0,0 @@ -all: libneatogen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../pack \ - -I../vpsc \ - -I../gvc \ - -I../cdt \ - -I../ortho \ - -I../rbtree \ - -I../sfdpgen \ - -I../sparse \ - -I../pathplan \ - -I../gd \ - -I../graph - -DEFINES = -DHAVE_CONFIG_H - -HDRS = adjust.h edges.h geometry.h heap.h hedges.h info.h mem.h \ - neato.h neatoprocs.h poly.h site.h voronoi.h \ - quad_prog_vpsc.h mosek_quad_solve.h - -NOBJS = stress.o kkutils.o pca.o matrix_ops.o embed_graph.o dijkstra.o \ - conjgrad.o closest.o bfs.o compute_hierarchy.o opt_arrangement.o \ - smart_ini_x.o constrained_majorization.o quad_prog_solve.o -POBJS = quad_prog_vpsc.o constrained_majorization_ipsep.o mosek_quad_solve.o -OBJS = adjust.o circuit.o edges.o geometry.o heap.o hedges.o \ - info.o neatoinit.o legal.o lu.o matinv.o memory.o poly.o \ - printvis.o site.o solve.o neatosplines.o stuff.o voronoi.o \ - overlap.o delaunay.o call_tri.o multispline.o \ - $(NOBJS) $(POBJS) constraint.o - -libneatogen.a : $(OBJS) - $(RM) libneatogen.a - $(AR) cr libneatogen.a $(OBJS) - $(RANLIB) libneatogen.a - -$(NOBJS) : defs.h -bfs.o dijkstra.o embed_graph.o kkutils.o stress.o : bfs.h -pca.o closest.o : closest.h -stress.o conjgrad.o : conjgrad.h -dijkstra.o embed_graph.o kkutils.o stress.o : dijkstra.h -embed_graph.o stress.o : embed_graph.h -kkutils.o stress.o closest.o : kkutils.h -stress.o pca.o conjgrad.o matrix_ops.o : matrix_ops.h -stress.o pca.o : pca.h -stress.o : stress.h -$(OBJS) : ../common/types.h - -install: libneatogen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libneatogen.a $(LIBDIR) - -$(OBJS) : $(HDRS) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a diff --git a/lib/ortho/Makefile.old b/lib/ortho/Makefile.old deleted file mode 100644 index c73003c00..000000000 --- a/lib/ortho/Makefile.old +++ /dev/null @@ -1,35 +0,0 @@ -all: libortho.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../gvc \ - -I../ortho \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = fPQ.o intset.o maze.o ortho.o partition.o rawgraph.o sgraph.o trapezoid.o - -libortho.a: $(OBJS) - $(RM) libortho.a - $(AR) cr libortho.a $(OBJS) - $(RANLIB) libortho.a - -install: libortho.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libortho.a $(LIBDIR) -# $(SHLIB_LD) -o $(LIBDIR)/libortho.so.$(VERSION) $(OBJS) -# $(MKPATH) $(LIBMANDIR) -# $(INSTALL) ortho.3 $(LIBMANDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/osage/Makefile.old b/lib/osage/Makefile.old deleted file mode 100644 index d16778159..000000000 --- a/lib/osage/Makefile.old +++ /dev/null @@ -1,39 +0,0 @@ -all: libosage.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../sparse \ - -I../pack \ - -I../gvc \ - -I../fdpgen \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = osageinit.o - -HFILES = osage.h - -libosage.a : $(OBJS) - $(RM) libosage.a - $(AR) cr libosage.a $(OBJS) - $(RANLIB) libosage.a - -$(OBJS) : $(HFILES) ../common/types.h - -install: libosage.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libosage.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/pack/Makefile.old b/lib/pack/Makefile.old deleted file mode 100644 index c6d2f7179..000000000 --- a/lib/pack/Makefile.old +++ /dev/null @@ -1,54 +0,0 @@ -all: libpack.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../gvc \ - -I../common \ - -I../neatogen \ - -I../graph \ - -I../cdt \ - -I../pathplan - -DEFINES = -DHAVE_CONFIG_H - -HDRS = pack.h - -OBJS = ccomps.o pack.o - -libpack.a : $(OBJS) - $(RM) libpack.a - $(AR) cr libpack.a $(OBJS) - $(RANLIB) libpack.a - -install: libpack.a - $(MKPATH) $(INCDIR) - $(INSTALL) pack.h $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libpack.a $(LIBDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) pack.3 $(LIBMANDIR) - -pack.o : pack.h -ccomps.o : pack.h - -TESTLIBS = -L../neatogen -lneato -L../common -ldotneato \ - -L../pathplan -lpathplan \ - -L../graph -lgraph \ - -L../cdt -lcdt \ - -L../gd -lgd \ - $(EXTLIB_LIB) -lm - -ptest : ptest.o libpack.a - $(CC) $(LDFLAGS) -o ptest ptest.o libpack.a $(TESTLIBS) - -ptest.o : ptest.c pack.h - $(CC) -c -DDATE="\"`date`\"" $(CCFLAGS) $(DEFINES) $(INCS) ptest.c - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/lib/patchwork/Makefile.old b/lib/patchwork/Makefile.old deleted file mode 100644 index 358291e8a..000000000 --- a/lib/patchwork/Makefile.old +++ /dev/null @@ -1,39 +0,0 @@ -all: libpatchwork.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../sparse \ - -I../pack \ - -I../gvc \ - -I../fdpgen \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = patchworkinit.o patchwork.o - -HFILES = patchwork.h - -libpatchwork.a : $(OBJS) - $(RM) libpatchwork.a - $(AR) cr libpatchwork.a $(OBJS) - $(RANLIB) libpatchwork.a - -$(OBJS) : $(HFILES) ../common/types.h - -install: libpatchwork.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libpatchwork.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/pathplan/Makefile.old b/lib/pathplan/Makefile.old deleted file mode 100644 index 27766e345..000000000 --- a/lib/pathplan/Makefile.old +++ /dev/null @@ -1,29 +0,0 @@ -all: libpathplan.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I.. - -OBJS = cvt.o inpoly.o route.o shortest.o shortestpth.o solvers.o \ - triang.o util.o visibility.o - -libpathplan.a: $(OBJS) - $(RM) libpathplan.a - $(AR) cr libpathplan.a $(OBJS) - $(RANLIB) libpathplan.a - -install: libpathplan.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libpathplan.a $(LIBDIR) -# $(SHLIB_LD) -o $(LIBDIR)/libpathplan.so.$(VERSION) $(OBJS) - $(MKPATH) $(INCDIR) - $(INSTALL) pathgeom.h $(INCDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) pathplan.3 $(LIBMANDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/lib/rbtree/Makefile.old b/lib/rbtree/Makefile.old deleted file mode 100644 index 4a403d70e..000000000 --- a/lib/rbtree/Makefile.old +++ /dev/null @@ -1,30 +0,0 @@ -all: librbtree.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) - -DEFINES = -DHAVE_CONFIG_H - -HDRS = misc.h red_black_tree.h stack.h - -OBJS = misc.o red_black_tree.o stack.o - -librbtree.a : $(OBJS) - $(RM) librbtree.a - $(AR) cr librbtree.a $(OBJS) - $(RANLIB) librbtree.a - -install: librbtree.a -# $(MKPATH) $(INCDIR) -# $(INSTALL) $(INST_HDRS) $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) librbtree.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a - diff --git a/lib/sfdpgen/Makefile.old b/lib/sfdpgen/Makefile.old deleted file mode 100644 index 50571e479..000000000 --- a/lib/sfdpgen/Makefile.old +++ /dev/null @@ -1,37 +0,0 @@ -all: libsfdpgen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../pack \ - -I../gvc \ - -I../pathplan \ - -I../sparse \ - -I../rbtree \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DDEBUG -DHAVE_CONFIG_H - -OBJS = sfdpinit.o spring_electrical.o LinkedList.o \ - sparse_solve.o post_process.o \ - QuadTree.o Multilevel.o PriorityQueue.o - -libsfdpgen.a : $(OBJS) - $(RM) libsfdpgen.a - $(AR) cr libsfdpgen.a $(OBJS) - $(RANLIB) libsfdpgen.a - -install: libsfdpgen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libsfdpgen.a $(LIBDIR) - -clean: - $(RM) *.o core *.a - -distclean: clean - $(RM) lib*.so.* diff --git a/lib/sfio/Makefile.old b/lib/sfio/Makefile.old deleted file mode 100644 index 473fa7246..000000000 --- a/lib/sfio/Makefile.old +++ /dev/null @@ -1,161 +0,0 @@ -# This makefile builds both uni-threaded and multi-threaded versions -# of the libraries. It can be used as: -# 1. make install -# building both versions -# 2. make install_ut -# building the uni-threaded version only -# 3. make install_mt -# building the multi-threaded version only -# -# Written by Kiem-Phong Vo - -all : install_ut -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -DEFINES= -LIBTYPE= - -LOC_INCDIR= ../include -LOC_LIBDIR= ../lib - -INCS = -I. $(LIBTYPE) - -# sfio -SRCS= sfclose.c sfclrlock.c sfcvt.c sfdisc.c sfdlen.c sfexcept.c \ - sfextern.c sffilbuf.c sfflsbuf.c sfprints.c sfgetd.c sfgetl.c \ - sfgetr.c sfgetu.c sfllen.c sfmode.c sfmove.c sfnew.c \ - sfnotify.c sfnputc.c sfopen.c sfpkrd.c sfpool.c sfpopen.c \ - sfprintf.c sfputd.c sfputl.c sfputr.c sfputu.c sfrd.c sfread.c \ - sfscanf.c sfseek.c sfset.c sfsetbuf.c sfsetfd.c sfsize.c sfsk.c \ - sfstack.c sfstrtod.c sfsync.c sftable.c sftell.c sftmp.c \ - sfungetc.c sfvprintf.c sfvscanf.c sfwr.c sfwrite.c sfexit.c \ - sfpurge.c sfpoll.c sfreserve.c sfswap.c sfraise.c sfmutex.c \ - sfgetm.c sfputm.c sfresize.c -OBJS= sfclose.o sfclrlock.o sfcvt.o sfdisc.o sfdlen.o sfexcept.o \ - sfextern.o sffilbuf.o sfflsbuf.o sfprints.o sfgetd.o sfgetl.o \ - sfgetr.o sfgetu.o sfllen.o sfmode.o sfmove.o sfnew.o \ - sfnotify.o sfnputc.o sfopen.o sfpkrd.o sfpool.o sfpopen.o \ - sfprintf.o sfputd.o sfputl.o sfputr.o sfputu.o sfrd.o sfread.o \ - sfscanf.o sfseek.o sfset.o sfsetbuf.o sfsetfd.o sfsize.o sfsk.o \ - sfstack.o sfstrtod.o sfsync.o sftable.o sftell.o sftmp.o \ - sfungetc.o sfvprintf.o sfvscanf.o sfwr.o sfwrite.o sfexit.o \ - sfpurge.o sfpoll.o sfreserve.o sfswap.o sfraise.o sfmutex.o \ - sfgetm.o sfputm.o sfresize.o - -# function versions of macros -SFIO_F= Sfio_f/_sfclrerr.o Sfio_f/_sfdlen.o Sfio_f/_sfeof.o \ - Sfio_f/_sferror.o Sfio_f/_sffileno.o Sfio_f/_sfgetc.o \ - Sfio_f/_sfllen.o Sfio_f/_sfputc.o Sfio_f/_sfputd.o \ - Sfio_f/_sfputl.o Sfio_f/_sfputm.o Sfio_f/_sfputu.o \ - Sfio_f/_sfslen.o Sfio_f/_sfstacked.o Sfio_f/_sfulen.o \ - Sfio_f/_sfvalue.o - -# stdio-source compatibility code -STDIO_S=Stdio_s/stdfgetc.o Stdio_s/stdfprintf.o Stdio_s/stdfputc.o \ - Stdio_s/stdfscanf.o Stdio_s/stdgetc.o Stdio_s/stdgets.o \ - Stdio_s/stdgetw.o Stdio_s/stdfdopen.o Stdio_s/stdprintf.o \ - Stdio_s/stdputc.o Stdio_s/stdputw.o Stdio_s/stdscanf.o \ - Stdio_s/stdsprintf.o Stdio_s/stdsetvbuf.o Stdio_s/stdtmpfile.o \ - Stdio_s/stdfopen.o Stdio_s/stdpopen.o Stdio_s/stdfreopen.o \ - Stdio_s/stdfwrite.o Stdio_s/stdfread.o Stdio_s/stdfflush.o - -# Thread-safety -MTSAFE= ../vthread/vtextern.o ../vthread/vtmtxclrlock.o \ - ../vthread/vtmtxclose.o ../vthread/vtmtxlock.o \ - ../vthread/vtmtxopen.o ../vthread/vtmtxtrylock.o \ - ../vthread/vtmtxunlock.o ../vthread/vtonce.o - -# IO disciplines -SFIO_DC=Sfio_dc/sfdcdio.o Sfio_dc/sfdcdos.o Sfio_dc/sfdcfilter.o \ - Sfio_dc/sfdclzw.o Sfio_dc/sfdcseekable.o Sfio_dc/sfdcslow.o \ - Sfio_dc/sfdcsubstream.o Sfio_dc/sfdctee.o Sfio_dc/sfdcunion.o - -# only one of the below install targets should be uncommented -#install: -install: install_ut -#install: vthread install_mt -#install: vthread install_mt install_ut - -# this target builds the Vthread library -vthread: - cd ../vthread; $(MAKE) SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" install - -# this target builds the uni-threaded version of Sfio -install_ut: -# echo""; echo "BUILDING UNI-THREADED libsfio.a" -# $(SHELL) ./Makestate.sh unithreaded - $(MAKE) LIBTYPE="-Dvt_threaded=0" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" install_unithreaded - -# this target builds the multi-threaded version of Sfio -install_mt: - echo""; echo "BUILDING MULTI-THREADED libsfio-mt.a"; - $(SHELL) ./Makestate.sh multithreaded - $(MAKE) LIBTYPE="-Dvt_threaded=1" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" install_multithreaded - -install_unithreaded: libsfio.a - $(MKPATH) $(LOC_INCDIR) - $(MKPATH) $(LOC_LIBDIR) - cp sfio.h ast_common.h sfio_t.h Sfio_dc/sfdisc.h $(LOC_INCDIR) - cp libsfio.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libsfio.a; exit 0) >/dev/null 2>&1 - -libsfio.a: ast_common.h FEATURE/sfio $(OBJS) mksfio_f - $(AR) cr libsfio.a $(OBJS) $(SFIO_F) - -(ranlib libsfio.a; exit 0) >/dev/null 2>&1 - -libstdio.a: - cd Stdio_b; $(MAKE) LIBTYPE="$(LIBTYPE)" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" libstdio.a - -install_multithreaded: libsfio-mt.a libstdio-mt.a - cp sfio.h ast_common.h sfio_t.h Stdio_s/stdio.h Sfio_dc/sfdisc.h $(LOC_INCDIR) - cp libsfio-mt.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libsfio-mt.a; exit 0) >/dev/null 2>&1 - cp Stdio_b/libstdio-mt.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libstdio-mt.a; exit 0) >/dev/null 2>&1 - -libsfio-mt.a: ast_common.h FEATURE/sfio $(OBJS) mksfio_f mkstdio_s mksfio_dc - $(AR) cr libsfio-mt.a $(OBJS) $(SFIO_F) $(STDIO_S) $(SFIO_DC) $(MTSAFE) - -(ranlib libsfio-mt.a; exit 0) >/dev/null 2>&1 - -libstdio-mt.a: - cd Stdio_b; $(MAKE) LIBTYPE="$(LIBTYPE)" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" libstdio-mt.a - -$(OBJS) : ast_common.h - -# the make goals below are common to both uni&multi-threaded versions -FEATURE/sfio: features/sfio - $(ROOT)/iffe set cc $(CC) $(CCFLAGS) : run features/sfio - -ast_common.h : ../cdt/ast_common.h - rm -f ast_common.h - $(LN) ../cdt/ast_common.h . - -../cdt/ast_common.h : ../cdt/features/common - (cd ../cdt; make ast_common.h) - -#ast_common.h: features/common -# ../iffe - set cc $(CC) $(CCFLAGS) : run features/common > ast_common.h -mksfio_f: - cd Sfio_f; $(MAKE) LIBTYPE="$(LIBTYPE)" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CCFLAGS)" -mkstdio_s: - cd Stdio_s; $(MAKE) LIBTYPE="$(LIBTYPE)" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" -mksfio_dc: - cd Sfio_dc; $(MAKE) LIBTYPE="$(LIBTYPE)" SHELL="$(SHELL)" CC="$(CC)" \ - CCMODE="$(CCMODE)" CXFLAGS="$(CXFLAGS)" - -clean: - -(rm -rf FEATURE $(OBJS) ast_common.h Makefile.state; exit 0) >/dev/null 2>&1 - -(rm libsfio.a libstdio.a libsfio-mt.a libstdio-mt.a; exit 0) >/dev/null 2>&1 - cd Sfio_f; $(MAKE) SHELL="$(SHELL)" clean - cd Sfio_dc; $(MAKE) SHELL="$(SHELL)" clean - -distclean : clean diff --git a/lib/sfio/Sfio_dc/Makefile.am b/lib/sfio/Sfio_dc/Makefile.am index c7f8798bc..a57a50e96 100644 --- a/lib/sfio/Sfio_dc/Makefile.am +++ b/lib/sfio/Sfio_dc/Makefile.am @@ -16,5 +16,3 @@ ${top_builddir}/FEATURE/sfio: ${top_srcdir}/lib/sfio/features/sfio $(libsfiodc_C_la_OBJECTS): ${top_builddir}/FEATURE/sfio DISTCLEANFILES = ${top_builddir}/FEATURE/sfio - -EXTRA_DIST = Makefile.old diff --git a/lib/sfio/Sfio_dc/Makefile.old b/lib/sfio/Sfio_dc/Makefile.old deleted file mode 100644 index c8378fdfc..000000000 --- a/lib/sfio/Sfio_dc/Makefile.old +++ /dev/null @@ -1,28 +0,0 @@ -# makefile for discipline functions -# -# Written by Kiem-Phong Vo - -# Native compiler if building libsfdisc.a for a cross compilation environment -NC= cc - -# Compiler and flags to use -LIBTYPE="" -CXFLAGS= -CCMODE= -O -CCFLAGS= -I. -I.. $(CCMODE) $(LIBTYPE) $(CXFLAGS) -AR= ar -CC= cc - -# sfdisc -SRCS= sfdcdio.c sfdcdos.c sfdcfilter.c sfdclzw.c sfdcseekable.c sfdcslow.c \ - sfdcsubstream.c sfdctee.c sfdcunion.c -OBJS= sfdcdio.o sfdcdos.o sfdcfilter.o sfdclzw.o sfdcseekable.o sfdcslow.o \ - sfdcsubstream.o sfdctee.o sfdcunion.o - -.c.o: - $(CC) -c $(CCFLAGS) $*.c - -must: $(OBJS) - -clean: - -(rm $(OBJS); exit 0) >/dev/null 2>&1 diff --git a/lib/sfio/Sfio_f/Makefile.am b/lib/sfio/Sfio_f/Makefile.am index 69cdd454f..5d96592fe 100644 --- a/lib/sfio/Sfio_f/Makefile.am +++ b/lib/sfio/Sfio_f/Makefile.am @@ -19,5 +19,3 @@ ${top_builddir}/FEATURE/sfio: ${top_srcdir}/lib/sfio/features/sfio $(libsfiof_C_la_OBJECTS): ${top_builddir}/FEATURE/sfio DISTCLEANFILES = ${top_builddir}/FEATURE/sfio - -EXTRA_DIST = Makefile.old diff --git a/lib/sfio/Sfio_f/Makefile.old b/lib/sfio/Sfio_f/Makefile.old deleted file mode 100644 index f0c2f41c9..000000000 --- a/lib/sfio/Sfio_f/Makefile.old +++ /dev/null @@ -1,26 +0,0 @@ -# makefile for true function versions of macro functions -# -# Written by Kiem-Phong Vo - -# Compiler and flags to use -LIBTYPE="" -AR= ar -CC= cc -CXFLAGS= -CCMODE= -O -CCFLAGS= -I. -I.. $(CCMODE) $(LIBTYPE) $(CXFLAGS) - -SRCS= _sfclrerr.c _sfdlen.c _sfeof.c _sferror.c _sffileno.c _sfgetc.c \ - _sfllen.c _sfputc.c _sfputd.c _sfputl.c _sfputu.c _sfputm.c \ - _sfslen.c _sfstacked.c _sfulen.c _sfvalue.c -OBJS= _sfclrerr.o _sfdlen.o _sfeof.o _sferror.o _sffileno.o _sfgetc.o \ - _sfllen.o _sfputc.o _sfputd.o _sfputl.o _sfputu.o _sfputm.o \ - _sfslen.o _sfstacked.o _sfulen.o _sfvalue.o - -.c.o: - $(CC) -c $(CCFLAGS) $*.c - -must: $(OBJS) - -clean: - -(rm $(OBJS); exit 0) >/dev/null 2>&1 diff --git a/lib/sparse/Makefile.old b/lib/sparse/Makefile.old deleted file mode 100644 index e744c3619..000000000 --- a/lib/sparse/Makefile.old +++ /dev/null @@ -1,38 +0,0 @@ -all: libsparse.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../cdt \ - -I../common \ - -I../gvc - -DEFINES = -DHAVE_CONFIG_H - -AWKDIR = $(ROOT)/awk - -NOINST_HDRS = SparseMatrix.h - -OBJS = SparseMatrix.o - -libsparse.a : $(OBJS) - $(RM) libsparse.a - $(AR) cr libsparse.a $(OBJS) - $(RANLIB) libsparse.a - -install: libsparse.a -# $(MKPATH) $(INCDIR) -# $(INSTALL) $(INST_HDRS) $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libsparse.a $(LIBDIR) - -$(OBJS) : $(INST_HDRS) $(NOINST_HDRS) -SparseMatrix.o : SparseMatrix.h - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a diff --git a/lib/twopigen/Makefile.old b/lib/twopigen/Makefile.old deleted file mode 100644 index 6c722718d..000000000 --- a/lib/twopigen/Makefile.old +++ /dev/null @@ -1,38 +0,0 @@ -all: libtwopigen.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. -I$(ROOT) \ - -I../common \ - -I../neatogen \ - -I../sparse \ - -I../pack \ - -I../gvc \ - -I../pathplan \ - -I../graph \ - -I../cdt \ - -I../gd - -DEFINES = -DHAVE_CONFIG_H - -OBJS = twopiinit.o circle.o - -HFILES = circle.h - -libtwopigen.a : $(OBJS) - $(RM) libtwopigen.a - $(AR) cr libtwopigen.a $(OBJS) - $(RANLIB) libtwopigen.a - -$(OBJS) : $(HFILES) ../common/types.h - -install: libtwopigen.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libtwopigen.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a twopi lib*.so.* diff --git a/lib/vmalloc/Makefile.old b/lib/vmalloc/Makefile.old deleted file mode 100644 index a05d16bdd..000000000 --- a/lib/vmalloc/Makefile.old +++ /dev/null @@ -1,55 +0,0 @@ -# libvmalloc.a old make makefile -# Written by Kiem-Phong Vo (03/18/1998) - -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -LOC_LIBDIR= ../lib -LOC_INCDIR= ../include - -INCS = -I. - -HDRS= vmalloc.h vmhdr.h -SRCS= malloc.c vmbest.c vmclear.c vmclose.c vmdcheap.c \ - vmdisc.c vmdebug.c vmlast.c vmopen.c vmpool.c vmprivate.c vmregion.c \ - vmset.c vmstat.c vmtrace.c vmprofile.c vmexit.c vmsegment.c vmwalk.c -OBJS= malloc.o vmbest.o vmclear.o vmclose.o vmdcheap.o \ - vmdisc.o vmdebug.o vmlast.o vmopen.o vmpool.o vmprivate.o vmregion.o \ - vmset.o vmstat.o vmtrace.o vmprofile.o vmexit.o vmsegment.o vmwalk.o \ - vmstrdup.o - -all: loc_install - -libvmalloc.a : ast_common.h FEATURE/vmalloc $(OBJS) - ar cr libvmalloc.a $(OBJS) - -(ranlib libvmalloc.a; exit 0) >/dev/null 2>&1 - -$(OBJS) : ast_common.h - -#ast_common.h : features/common -# ../../iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/common > ast_common.h - -ast_common.h : ../cdt/ast_common.h - rm -f ast_common.h - $(LN) ../cdt/ast_common.h . - -../cdt/ast_common.h : ../cdt/features/common - (cd ../cdt; make ast_common.h) - -FEATURE/vmalloc : features/vmalloc - $(ROOT)/iffe set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/vmalloc - -loc_install : libvmalloc.a - $(MKPATH) $(LOC_INCDIR) - cp vmalloc.h $(LOC_INCDIR) - $(MKPATH) $(LOC_LIBDIR) - cp libvmalloc.a $(LOC_LIBDIR) - -(ranlib $(LOC_LIBDIR)/libvmalloc.a; exit 0) >/dev/null 2>&1 - -install : loc_install - -clean : - -(rm ast_common.h $(OBJS) libvmalloc.a FEATURE/*; exit 0) >/dev/null 2>&1 - -distclean : clean diff --git a/lib/vpsc/Makefile.old b/lib/vpsc/Makefile.old deleted file mode 100644 index 3660f4463..000000000 --- a/lib/vpsc/Makefile.old +++ /dev/null @@ -1,43 +0,0 @@ -all: libvpsc.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -Ipairingheap - -DEFINES = -DHAVE_CONFIG_H - -HDRS = block.h constraint.h generate-constraints.h solve_VPSC.h \ - blocks.h csolve_VPSC.h remove_rectangle_overlap.h variable.h - -OBJS = block.o constraint.o generate-constraints.o solve_VPSC.o \ - blocks.o csolve_VPSC.o remove_rectangle_overlap.o variable.o - -libvpsc.a : $(OBJS) - $(RM) libvpsc.a - $(AR) cr libvpsc.a $(OBJS) - $(RANLIB) libvpsc.a - -install: libvpsc.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libvpsc.a $(LIBDIR) - -block.o : pairingheap/PairingHeap.h pairingheap/PairingHeap.cpp block.h \ - blocks.h constraint.h variable.h -constraint.o : constraint.h block.h variable.h -generate-constraints.o : generate-constraints.h constraint.h block.h variable.h -solve_VPSC.o : block.h blocks.h constraint.h variable.h solve_VPSC.h -blocks.o : block.h blocks.h constraint.h variable.h -csolve_VPSC.o : csolve_VPSC.h -remove_rectangle_overlap.o : csolve_VPSC.h generate-constraints.h variable.h \ - block.h constraint.h blocks.h -variable.o : variable.h block.h - - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/lib/xdot/Makefile.old b/lib/xdot/Makefile.old deleted file mode 100644 index 4fb682280..000000000 --- a/lib/xdot/Makefile.old +++ /dev/null @@ -1,34 +0,0 @@ -all: libxdot.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) - -DEFINES = -DHAVE_CONFIG_H - -HDRS = xdot.h - -OBJS = xdot.o - -libxdot.a : $(OBJS) - $(RM) libxdot.a - $(AR) cr libxdot.a $(OBJS) - $(RANLIB) libxdot.a - -install: libxdot.a - $(MKPATH) $(INCDIR) - $(INSTALL) xdot.h $(INCDIR) - $(MKPATH) $(LIBDIR) - $(INSTALL) libxdot.a $(LIBDIR) - $(MKPATH) $(LIBMANDIR) - $(INSTALL) xdot.3 $(LIBMANDIR) - -xdot.o : xdot.h - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a diff --git a/plugin/Makefile.old b/plugin/Makefile.old deleted file mode 100644 index 3af3676d1..000000000 --- a/plugin/Makefile.old +++ /dev/null @@ -1,8 +0,0 @@ -SUBDIRS = core gd pango dot_layout neato_layout - -all install clean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - -distclean : - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) - rm -rf lib include diff --git a/plugin/core/Makefile.old b/plugin/core/Makefile.old deleted file mode 100644 index 5809255ec..000000000 --- a/plugin/core/Makefile.old +++ /dev/null @@ -1,33 +0,0 @@ -all: libgvplugin_core.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_core.o gvrender_core_ps.o gvrender_core_svg.o \ - gvrender_core_map.o gvloadimage_core.o gvrender_core_fig.o \ - gvrender_core_dot.o gvrender_core_vml.o gvrender_core_tk.o - -libgvplugin_core.a : $(OBJS) - $(RM) libgvplugin_core.a - $(AR) cr libgvplugin_core.a $(OBJS) - $(RANLIB) libgvplugin_core.a - -install: libgvplugin_core.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_core.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/devil/Makefile.old b/plugin/devil/Makefile.old deleted file mode 100644 index 69d546b45..000000000 --- a/plugin/devil/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_devil.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_devil.o gvrender_devil.o cairo_devil.o - -libgvplugin_devil.a : $(OBJS) - $(RM) libgvplugin_devil.a - $(AR) cr libgvplugin_devil.a $(OBJS) - $(RANLIB) libgvplugin_devil.a - -install: libgvplugin_devil.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_devil.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/dot_layout/Makefile.old b/plugin/dot_layout/Makefile.old deleted file mode 100644 index 8763672ba..000000000 --- a/plugin/dot_layout/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_dot_layout.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_dot_layout.o gvlayout_dot_layout.o - -libgvplugin_dot_layout.a : $(OBJS) - $(RM) libgvplugin_dot_layout.a - $(AR) cr libgvplugin_dot_layout.a $(OBJS) - $(RANLIB) libgvplugin_dot_layout.a - -install: libgvplugin_dot_layout.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_dot_layout.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/gd/Makefile.old b/plugin/gd/Makefile.old deleted file mode 100644 index 213aaba6a..000000000 --- a/plugin/gd/Makefile.old +++ /dev/null @@ -1,32 +0,0 @@ -all: libgvplugin_gd.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gd \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvrender_gd_vrml.o gvplugin_gd.o gvrender_gd.o gvtextlayout_gd.o gvloadimage_gd.o gvdevice_gd.o - -libgvplugin_gd.a : $(OBJS) - $(RM) libgvplugin_gd.a - $(AR) cr libgvplugin_gd.a $(OBJS) - $(RANLIB) libgvplugin_gd.a - -install: libgvplugin_gd.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_gd.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/gdk/Makefile.old b/plugin/gdk/Makefile.old deleted file mode 100644 index 8a2053e63..000000000 --- a/plugin/gdk/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_gdk.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvformatter_gdk.o gvplugin_gdk.o - -libgvplugin_gdk.a : $(OBJS) - $(RM) libgvplugin_gdk.a - $(AR) cr libgvplugin_gdk.a $(OBJS) - $(RANLIB) libgvplugin_gdk.a - -install: libgvplugin_gdk.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_gdk.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/gs/Makefile.old b/plugin/gs/Makefile.old deleted file mode 100644 index c48b60f51..000000000 --- a/plugin/gs/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_gs.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvloadimage_gs.o gvplugin_gs.o - -libgvplugin_gs.a : $(OBJS) - $(RM) libgvplugin_gs.a - $(AR) cr libgvplugin_gs.a $(OBJS) - $(RANLIB) libgvplugin_gs.a - -install: libgvplugin_gs.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_gs.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/lasi/Makefile.old b/plugin/lasi/Makefile.old deleted file mode 100644 index e09a7b438..000000000 --- a/plugin/lasi/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_lasi.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_lasi.o gvrender_lasi.o - -libgvplugin_lasi.a : $(OBJS) - $(RM) libgvplugin_lasi.a - $(AR) cr libgvplugin_lasi.a $(OBJS) - $(RANLIB) libgvplugin_lasi.a - -install: libgvplugin_lasi.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_lasi.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/ming/Makefile.old b/plugin/ming/Makefile.old deleted file mode 100644 index 72e3ca648..000000000 --- a/plugin/ming/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_ming.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_ming.o gvrender_ming.o - -libgvplugin_ming.a : $(OBJS) - $(RM) libgvplugin_ming.a - $(AR) cr libgvplugin_ming.a $(OBJS) - $(RANLIB) libgvplugin_ming.a - -install: libgvplugin_ming.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_ming.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/neato_layout/Makefile.old b/plugin/neato_layout/Makefile.old deleted file mode 100644 index 3dda112f0..000000000 --- a/plugin/neato_layout/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_neato_layout.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvplugin_neato_layout.o gvlayout_neato_layout.o - -libgvplugin_neato_layout.a : $(OBJS) - $(RM) libgvplugin_neato_layout.a - $(AR) cr libgvplugin_neato_layout.a $(OBJS) - $(RANLIB) libgvplugin_neato_layout.a - -install: libgvplugin_neato_layout.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_neato_layout.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/pango/Makefile.old b/plugin/pango/Makefile.old deleted file mode 100644 index 7bfd6e5ce..000000000 --- a/plugin/pango/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_pango.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvloadimage_pango.o gvplugin_pango.o gvrender_pango.o gvtextlayout_pango.o - -libgvplugin_pango.a : $(OBJS) - $(RM) libgvplugin_pango.a - $(AR) cr libgvplugin_pango.a $(OBJS) - $(RANLIB) libgvplugin_pango.a - -install: libgvplugin_pango.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_pango.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/plugin/rsvg/Makefile.old b/plugin/rsvg/Makefile.old deleted file mode 100644 index bb85fd42f..000000000 --- a/plugin/rsvg/Makefile.old +++ /dev/null @@ -1,31 +0,0 @@ -all: libgvplugin_rsvg.a -ROOT=../.. -include $(ROOT)/Config.mk -include $(ROOT)/makearch/$(ARCH) - -INCS = -I. \ - -I$(ROOT) \ - -I../../lib/common \ - -I../../lib/pathplan \ - -I../../lib/graph \ - -I../../lib/cdt \ - -I../../lib/gvc - -DEFINES = -DHAVE_CONFIG_H - -OBJS = gvloadimage_rsvg.o gvplugin_rsvg.o - -libgvplugin_rsvg.a : $(OBJS) - $(RM) libgvplugin_rsvg.a - $(AR) cr libgvplugin_rsvg.a $(OBJS) - $(RANLIB) libgvplugin_rsvg.a - -install: libgvplugin_rsvg.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgvplugin_rsvg.a $(LIBDIR) - -clean: - $(RM) core *.o - -distclean: clean - $(RM) *.a ptest diff --git a/tclpkg/Makefile.old b/tclpkg/Makefile.old deleted file mode 100644 index 80a95a274..000000000 --- a/tclpkg/Makefile.old +++ /dev/null @@ -1,4 +0,0 @@ -SUBDIRS = tclhandle tclstubs gdtclft tcldot - -all clean distclean install: - (for i in ${SUBDIRS}; do (cd $$i; make $@); done) diff --git a/tclpkg/gdtclft/Makefile.old b/tclpkg/gdtclft/Makefile.old deleted file mode 100644 index 164d79723..000000000 --- a/tclpkg/gdtclft/Makefile.old +++ /dev/null @@ -1,27 +0,0 @@ - -all: libgdtclft.a - -include ../Config.mk -include ../makearch/$(ARCH) - -INCS = -I. -I.. -I../gd -I../tclhandle -I$(TCL_INCDIR) - -OBJS = gdtclft.o - -DEFINES = -DHAVE_CONFIG_H - -libgdtclft.a: $(OBJS) - $(AR) cr libgdtclft.a $(OBJS) - $(RANLIB) libgdtclft.a - -install: libgdtclft.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libgdtclft.a $(LIBDIR) - $(MKPATH) $(XPLDIR)/tcldot - $(CP) demo/enti* $(XPLDIR)/tcldot - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/tclpkg/tcldot/Makefile.old b/tclpkg/tcldot/Makefile.old deleted file mode 100644 index 02dcdb7f6..000000000 --- a/tclpkg/tcldot/Makefile.old +++ /dev/null @@ -1,76 +0,0 @@ - -include ../Config.mk -include ../makearch/$(ARCH) - -PACKAGE = Tcldot -OBJS = tcldot.o tkgen.o tclhandle.o - -INCS = -I. -I.. \ - -I../graph \ - -I../pathplan \ - -I../cdt \ - -I../gd \ - -I../dotneato/dotgen \ - -I../dotneato/neatogen \ - -I../dotneato/twopigen \ - -I../dotneato/circogen \ - -I../dotneato/fdpgen \ - -I../dotneato/gvrender \ - -I../dotneato/common \ - -I../tclhandle \ - -I../tkstubs \ - -I$(TCL_INCDIR) - -LIBS = ../gdtclft/libgdtclft.a \ - ../dotneato/dotgen/libdot.a \ - ../dotneato/neatogen/libneato.a \ - ../dotneato/twopigen/libtwopi.a \ - ../dotneato/circogen/libcirco.a \ - ../dotneato/pack/libpack.a \ - ../dotneato/gvrender/libgvrender.a \ - ../dotneato/common/libcommon.a \ - ../graph/libgraph.a \ - ../pathplan/libpathplan.a \ - ../gd/libgd.a \ - ../cdt/libcdt.a \ - $(EXTLIB_LIB) - -LDLL = libtcldot$(SHLIB_SUFFIX).$(VERSION) -DLL = $(PACKAGE)$(SHLIB_SUFFIX) -PACKAGEDIR = $(TCL_PKGDIR)/$(PACKAGE) - -DEFINES = -DHAVE_CONFIG_H -D_BLD_tcldot - -all: libtcldot.a $(LDLL) TcldotIndex.tcl - -tcldot.o : tcldot.c - $(CC) -c -DDATE="\"`date`\"" $(CCFLAGS) $(DEFINES) $(INCS) tcldot.c - -$(LDLL): $(OBJS) - $(SHLIB_LD) -o $@ $(OBJS) $(LIBS) - -TcldotIndex.tcl: - echo 'package ifneeded $(PACKAGE) $(VERSION) [list load [file join $$dir $(DLL).$(VERSION)] $(PACKAGE)]' > TcldotIndex.tcl - -install: all - $(MKPATH) $(LIBDIR) - $(INSTALL) libtcldot.a $(LIBDIR) - $(MKPATH) $(PACKAGEDIR) - $(INSTALL) $(LDLL) $(PACKAGEDIR)/$(DLL) - $(INSTALL) $(LDLL) $(PACKAGEDIR)/$(DLL).$(VERSION) - $(INSTALL) TcldotIndex.tcl $(PACKAGEDIR)/pkgIndex.tcl - $(MKPATH) $(XPLDIR)/tcldot - $(CP) demo/doted* demo/gcat* $(XPLDIR)/tcldot - -clean: - rm -f *.[oa] core - -distclean: clean - rm -f $(LDLL) TcldotIndex.tcl - -libtcldot.a : $(OBJS) - $(AR) cr libtcldot.a $(OBJS) - $(RANLIB) libtcldot.a - -tclhandle.o : ../tclhandle/tclhandle.c - $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $? diff --git a/tclpkg/tclhandle/Makefile.old b/tclpkg/tclhandle/Makefile.old deleted file mode 100644 index 8ba551fb6..000000000 --- a/tclpkg/tclhandle/Makefile.old +++ /dev/null @@ -1,23 +0,0 @@ - -all: libtclhandle.a - -include ../Config.mk -include ../makearch/$(ARCH) - -INCS = -I. - -OBJS = tclhandle.o - -libtclhandle.a: $(OBJS) - $(AR) cr libtclhandle.a $(OBJS) - $(RANLIB) libtclhandle.a - -install: libtclhandle.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libtclhandle.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.* diff --git a/tclpkg/tclstubs/Makefile.old b/tclpkg/tclstubs/Makefile.old deleted file mode 100644 index c560aefa9..000000000 --- a/tclpkg/tclstubs/Makefile.old +++ /dev/null @@ -1,23 +0,0 @@ - -all: libtclstubs.a - -include ../Config.mk -include ../makearch/$(ARCH) - -INCS = -I. -I$(TCL_INCDIR) - -OBJS = tclStubLib.o - -libtclstubs.a: $(OBJS) - $(AR) cr libtclstubs.a $(OBJS) - $(RANLIB) libtclstubs.a - -install: libtclstubs.a - $(MKPATH) $(LIBDIR) - $(INSTALL) libtclstubs.a $(LIBDIR) - -clean: - $(RM) *.o core - -distclean: clean - $(RM) *.a lib*.so.*