]> granicus.if.org Git - graphviz/commitdiff
add Makefile.old that were ignored by the import operation
authorellson <devnull@localhost>
Thu, 23 Dec 2004 04:24:51 +0000 (04:24 +0000)
committerellson <devnull@localhost>
Thu, 23 Dec 2004 04:24:51 +0000 (04:24 +0000)
rm libltdl generated files

Makefile.old [new file with mode: 0644]
cmd/Makefile.old [new file with mode: 0644]
cmd/dot/Makefile.old [new file with mode: 0644]
cmd/gvpr/Makefile.old [new file with mode: 0644]
cmd/tools/Makefile.old [new file with mode: 0644]

diff --git a/Makefile.old b/Makefile.old
new file mode 100644 (file)
index 0000000..32dcf13
--- /dev/null
@@ -0,0 +1,4 @@
+SUBDIRS = lib cmd doc
+
+all clean distclean install:
+       (for i in ${SUBDIRS}; do (cd $$i; make $@); done)       
diff --git a/cmd/Makefile.old b/cmd/Makefile.old
new file mode 100644 (file)
index 0000000..4c27936
--- /dev/null
@@ -0,0 +1,8 @@
+SUBDIRS = dot src 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
new file mode 100644 (file)
index 0000000..29b7cf4
--- /dev/null
@@ -0,0 +1,142 @@
+
+include ../Config.mk
+include ../makearch/$(ARCH)
+
+SUBDIRS = dotgen neatogen twopigen circogen pack common gvrender
+
+INCS =  \
+       -Igvrender \
+       -Icommon \
+        -I.. \
+       -I../cdt \
+        -I../pathplan \
+        -I../gd \
+        -I../graph
+
+ALLINCS = -Idotgen -Ineatogen -Itwopigen -Icircogen -Ifdpgen $(INCS)
+
+DEFINES = -DHAVE_CONFIG_H
+
+XLIBS = -L../pathplan -lpathplan \
+        -L../graph -lgraph \
+        -L../cdt -lcdt \
+        -L../gd -lgd \
+        $(EXTLIB_LIB) $(EXPAT_LIB) -lm
+
+LIBS =  -Lcommon -lcommon -Lgvrender -lgvrender $(XLIBS)
+LOCAL_LIBS = libcommon.a libgvrender.a
+XLOCAL_LIBS = libneato.a libpack.a $(LOCAL_LIBS)
+
+LIB_LIST = libpack.a libneato.a libcommon.a libdot.a libtwopi.a
+LIBDOTNEATO = libdotneato.a
+OBJS = dotneato.o
+SHLIBS = twopigen/libtwopi.a dotgen/libdot.a neatogen/libneato.a pack/libpack.a gvrender/libgvrender.a common/libcommon.a
+
+MANS = dot.1 neato.1 twopi.1 circo.1
+PROGS = dot neato twopi circo fdp
+
+all : $(PROGS)
+allmem : dotmemtest neatomemtest twopimemtest circomemtest
+
+dot : dot.o libdot.a $(LOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) dot.o -Ldotgen -ldot $(LIBS) -o dot
+
+dot.o : dot.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Idotgen $(INCS) dot.c
+
+dotmemtest : dotmemtest.o libdot.a $(LOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) dotmemtest.o -Ldotgen -ldot $(LIBS) -o dotmemtest
+
+dotmemtest.o : dotmemtest.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Idotgen $(INCS) dotmemtest.c
+
+neato : neato.o $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) neato.o -Lneatogen -lneato -Lpack -lpack $(LIBS) -o neato
+
+neato.o : neato.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Ineatogen $(INCS) neato.c
+
+neatomemtest : neatomemtest.o $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) neatomemtest.o -Lneatogen -lneato -Lpack -lpack $(LIBS) -o neatomemtest
+
+neatomemtest.o : neatomemtest.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Ineatogen $(INCS) neatomemtest.c
+
+twopi : twopi.o libtwopi.a $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) twopi.o -Ltwopigen -ltwopi -Lpack -lpack -Lneatogen -lneato $(LIBS) -o twopi
+
+twopi.o : twopi.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Itwopigen $(INCS) twopi.c
+
+twopimemtest : twopimemtest.o libtwopi.a $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) twopimemtest.o -Ltwopigen -ltwopi -Lpack -lpack -Lneatogen -lneato $(LIBS) -o twopimemtest
+
+twopimemtest.o : twopimemtest.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Itwopigen $(INCS) twopimemtest.c
+
+fdp : fdp.o libfdp.a $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) fdp.o -Lfdpgen -lfdp -Lpack -lpack -Lneatogen -lneato $(LIBS) -o fdp
+
+fdp.o : fdp.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Ifdpgen $(INCS) fdp.c
+
+fdpmemtest : fdpmemtest.o libfdp.a $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) fdpmemtest.o -Lfdpgen -lfdp -Lpack -lpack -Lneatogen -lneato $(LIBS) -o fdpmemtest
+
+fdpmemtest.o : fdpmemtest.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Ifdpgen $(INCS) fdpmemtest.c
+
+circo : circo.o libcirco.a $(XLOCAL_LIBS)
+       $(CSLD) $(LDFLAGS) circo.o -Lcircogen -lcirco -Lpack -lpack -Lneatogen -lneato $(LIBS) -o circo
+
+circo.o : circo.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) -Icircogen $(INCS) circo.c
+
+libdot.a :
+       (cd dotgen; make)
+
+libcirco.a :
+       (cd circogen; make)
+
+libneato.a :
+       (cd neatogen; make)
+
+libtwopi.a :
+       (cd twopigen; make)
+
+libfdp.a :
+       (cd fdpgen; make)
+
+libpack.a :
+       (cd pack; make)
+
+libgvrender.a :
+       (cd gvrender; make)
+
+libcommon.a :
+       (cd common; make)
+
+dotneato.o : dotneato.c
+       $(CC) -I. -c $(CCFLAGS) $(DEFINES) $(ALLINCS) dotneato.c
+
+$(LIBDOTNEATO) : dotneato.o
+       $(AR) cr libdotneato.a dotneato.o
+       $(RANLIB) libdotneato.a
+       
+install: all $(LIBDOTNEATO)
+       $(MKPATH) $(BINDIR)
+       $(INSTALL) $(PROGS) $(BINDIR)
+       (for i in ${SUBDIRS}; do (cd $$i; make install); done)       
+       $(MKPATH) $(INCDIR)
+       $(INSTALL) dotneato.h $(INCDIR)
+       $(MKPATH) $(LIBDIR)
+       $(INSTALL) $(LIBDOTNEATO) $(LIBDIR)/$(LIBDOTNEATO).$(VERSION)
+       $(RM) -rf $(LIBDIR)/$(LIBDOTNEATO)
+       $(LN) -s $(LIBDOTNEATO).$(VERSION) $(LIBDIR)/$(LIBDOTNEATO)
+       $(MKPATH) $(MANDIR)
+       $(INSTALL) $(MANS) $(MANDIR)
+
+distclean clean:
+       (for i in ${SUBDIRS}; do (cd $$i; make $@); done)       
+       $(RM) *.o core $(all) $(allmem)
+
diff --git a/cmd/gvpr/Makefile.old b/cmd/gvpr/Makefile.old
new file mode 100644 (file)
index 0000000..5d55e5c
--- /dev/null
@@ -0,0 +1,44 @@
+#   gvpr make file
+#   Written by Emden R. Gansner (1 Mar 2001)
+ALL = gvpr
+all : $(ALL)
+
+include ../../Config.mk
+include ../../makearch/$(ARCH)
+
+LOC_INCDIR=../include
+LOC_LIBDIR=../lib
+
+INCS = -I. -I../.. -I$(LOC_INCDIR) -I../../agraph -I../../cdt
+
+DEFINES = -DHAVE_CONFIG_H
+
+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../../agraph -L../../cdt -lagraph -lcdt
+LIBS = -L$(LOC_LIBDIR) -lexpr -last -lvmalloc -lsfio -lingraphs $(GLIBS) -lm
+
+gvpr : $(OBJS) $(LOC_LIBDIR)/libexpr.a
+       $(CSLD) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
+
+$(OBJS) : gdefs.h
+
+install : all
+       $(MKPATH) $(BINDIR)
+       $(CP) gvpr $(BINDIR)
+       $(MKPATH) $(MANDIR)
+       $(INSTALL) gvpr.1 $(MANDIR)
+
+clean :
+       $(RM) core gdefs.h *.o 
+
+distclean : clean
+       $(RM) mkdefs $(ALL)
diff --git a/cmd/tools/Makefile.old b/cmd/tools/Makefile.old
new file mode 100644 (file)
index 0000000..e46803f
--- /dev/null
@@ -0,0 +1,127 @@
+ALL_BIN = gc gvcolor acyclic nop ccomps sccmap tred unflatten gxl2dot \
+          dot2gxl dijkstra gvpack bcomps
+ALL_LIB = libingraphs.a
+ALL = $(ALL_LIB) $(ALL_BIN) dot2gxl.1
+
+all : $(ALL)
+
+include ../../Config.mk
+include ../../makearch/$(ARCH)
+
+LOC_INCDIR=../include
+LOC_LIBDIR=../lib
+
+DEFINES = -DHAVE_CONFIG_H
+
+INCS =  -I. -I../.. -I../../agraph -I../../graph -I../../cdt
+DNINCS = -I../../dotneato/pack -I../../dotneato/neatogen  \
+         -I../../dotneato/gvrender \
+         -I../../dotneato/common -I../../pathplan
+
+LIBS =  -L../../graph -lgraph -L../../cdt -lcdt
+DNLIBS = -L../../dotneato/neatogen -lneato \
+         -L../../dotneato/pack -lpack \
+         -L../../dotneato/common -lcommon \
+         -L../../dotneato/gvrender -lgvrender \
+         -L../../pathplan -lpathplan \
+         -L../../gd -lgd \
+         $(LIBS) \
+         $(EXTLIB_LIB) $(EXPAT_LIB) -lm
+
+ALIBS = -L../../agraph -lagraph -L../../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   dot2gxl.o  gxl2dot.o
+GVPOBJS = gvpack.o
+BCCOBJS = bcomps.o
+MANS = acyclic.1 gvcolor.1 nop.1 tred.1 ccomps.1 gc.1 sccmap.1 \
+       unflatten.1 gxl2dot.1 dot2gxl.1 gvpack.1 bcomps.1
+
+gvpack : $(GVPOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(GVPOBJS) $(ALL_LIB) $(DNLIBS) -o $@
+
+gvpack.o : gvpack.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(INCS) gvpack.c
+
+dijkstra : dijkstra.o
+       $(CSLD) $(LDFLAGS) dijkstra.o -L. -lingraphs $(ALIBS) -o $@
+
+dijkstra.o : dijkstra.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) $(DNINCS) $(INCS) dijkstra.c
+
+gxl2dot : $(GXLOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(GXLOBJS) $(ALL_LIB) $(ALIBS) -L../../graph -lgraph $(EXPAT_LIB) -o $@
+
+dot2gxl : gxl2dot
+       $(RM) -f $@
+       $(LN) -s $? $@
+
+cvtgxl.o : cvtgxl.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) cvtgxl.c
+
+dot2gxl.o : dot2gxl.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) dot2gxl.c
+
+gxl2dot.o : gxl2dot.c
+       $(CC) -c $(CCFLAGS) $(DEFINES) $(INCS) $(EXPAT_INC) gxl2dot.c
+
+sccmap : $(SCCOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(SCCOBJS) $(ALL_LIB) $(ALIBS) -o $@
+
+ccomps : $(CCOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(CCOBJS) $(ALL_LIB) $(LIBS) -o $@
+
+tred : $(TOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(TOBJS) $(ALL_LIB) $(LIBS) -o $@
+
+unflatten : $(UNFLATOBJS)
+       $(CSLD) $(LDFLAGS) $(UNFLATOBJS) $(ALL_LIB) $(ALIBS) -o $@
+
+acyclic : $(ACYCLICOBJS)
+       $(CSLD) $(LDFLAGS) $(ACYCLICOBJS) $(LIBS) -o $@
+
+nop : $(NOPOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(NOPOBJS) $(ALL_LIB) $(ALIBS) -o $@
+
+gvcolor : $(COLOROBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(COLOROBJS) $(ALL_LIB) $(LIBS) -o $@
+
+gc : $(GCOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(GCOBJS) $(ALL_LIB) $(LIBS) -o $@
+
+bcomps : $(BCCOBJS) $(ALL_LIB)
+       $(CSLD) $(LDFLAGS) $(BCCOBJS) $(ALL_LIB) $(LIBS) -o $@
+
+dot2gxl.1: gxl2dot.1
+       $(RM) -f $@
+       $(LN) -s $? $@
+
+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) $(INCDIR)
+       cp ingraphs.h $(INCDIR)
+       $(MKPATH) $(LIBDIR)
+       cp $(ALL_LIB) $(LIBDIR)
+       $(MKPATH) $(BINDIR)
+       cp $(ALL_BIN) $(BINDIR)
+       $(MKPATH) $(MANDIR)
+       $(INSTALL) $(MANS) $(MANDIR)
+
+clean :
+       $(RM) *.o 
+
+distclean : clean
+       $(RM) $(ALL)