Commit 47e87b18 authored by Erwin Janssen's avatar Erwin Janssen

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.
parent 03722986
# 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
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
SUBDIRS = lib plugin cmd
all install clean distclean :
(for i in ${SUBDIRS}; do (cd $$i; make $@); done)
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
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)
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
# 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)
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
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
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)
/* : : 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 <sys/types.h> ok */
#define HAVE___FREADABLE 1 /* __freadable() in default lib(s) */
#define HAVE_MATH_H 1 /* #include <math.h> 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 <fenv.h> 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 <dirent.h> ok */
#define HAVE_DLFCN_H 1 /* #include <dlfcn.h> ok */
#define HAVE_ERRNO_H 1 /* #include <errno.h> ok */
#define HAVE_FPU_CONTROL_H 1 /* #include <fpu_control.h> ok */
#undef HAVE_FT2BUILD_H /* #include <ft2build.h> not ok */
#define HAVE_GETOPT_H 1 /* #include <getopt.h> ok */
#define HAVE_ICONV_H 1 /* #include <iconv.h> ok */
#define HAVE_INTTYPES_H 1 /* #include <inttypes.h> ok */
#define HAVE_LIMITS_H 1 /* #include <limits.h> ok */
#define HAVE_MALLOC_H 1 /* #include <malloc.h> ok */
#undef HAVE_NDIR_H /* #include <ndir.h> not ok */
#define HAVE_NETDB_H 1 /* #include <netdb.h> ok */
#define HAVE_SEARCH_H 1 /* #include <search.h> ok */
#define HAVE_STDARG_H 1 /* #include <stdarg.h> ok */
#define HAVE_STDDEF_H 1 /* #include <stddef.h> ok */
#define HAVE_STDINT_H 1 /* #include <stdint.h> ok */
#define HAVE_STDLIB_H 1 /* #include <stdlib.h> ok */
#define HAVE_STRING_H 1 /* #include <string.h> ok */
#define HAVE_STRINGS_H 1 /* #include <strings.h> ok */
#define HAVE_TERMIOS_H 1 /* #include <termios.h> ok */
#define HAVE_UNISTD_H 1 /* #include <unistd.h> ok */
#define HAVE_VALUES_H 1 /* #include <values.h> ok */
#define HAVE_SYS_SOCKET_H 1 /* #include <sys/socket.h> ok */
#define HAVE_SYS_STAT_H 1 /* #include <sys/stat.h> ok */
#define HAVE_SYS_SELECT_H 1 /* #include <sys/select.h> ok */
#undef HAVE_SYS_FPU_H /* #include <sys/fpu.h> not ok */
#undef HAVE_SYS_NDIR_H /* #include <sys/ndir.h> not ok */
#define HAVE_STDIO_H 1 /* #include <stdio.h> 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 <iconv.h> 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