]> granicus.if.org Git - graphviz/commitdiff
Change old makefiles to reflect move of plugins into lib directory
authorerg <devnull@localhost>
Thu, 28 Jul 2005 22:35:32 +0000 (22:35 +0000)
committererg <devnull@localhost>
Thu, 28 Jul 2005 22:35:32 +0000 (22:35 +0000)
Makefile.old
lib/Makefile.old
lib/agutil/Makefile.old [new file with mode: 0644]
lib/gvc/Makefile.old

index 162f7e59f3b6800903547d5f8a66e6bde52ba498..4956f7eb4ce8eae022438c5f71787422e1c0a7ba 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = lib plugin cmd
+SUBDIRS = lib cmd
 
 all install clean distclean :
        (for i in ${SUBDIRS}; do (cd $$i; make $@); done)       
index 47420757b3ac27a6f53ab9424fbee6e6c49bf359..da1e7e09df10b657c19e8fc000183819478970db 100644 (file)
@@ -1,5 +1,5 @@
-SUBDIRS = cdt graph agraph gd pathplan vmalloc sfio ast expr circogen \
-       dotgen fdpgen neatogen pack twopigen common gvc ingraphs
+SUBDIRS = cdt graph agraph gd pathplan agutil sfio vmalloc ast circogen \
+    dotgen fdpgen neatogen pack twopigen plugin common gvc ingraphs expr
 
 all install clean :
        (for i in ${SUBDIRS}; do (cd $$i; make $@); done)       
diff --git a/lib/agutil/Makefile.old b/lib/agutil/Makefile.old
new file mode 100644 (file)
index 0000000..7d853eb
--- /dev/null
@@ -0,0 +1,34 @@
+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) $(INCDIR)
+       $(INSTALL) agutil.h $(INCDIR)
+       $(MKPATH) $(LIBDIR)
+       $(INSTALL) libagutil.a $(LIBDIR)
+
+$(OBJS) : agutil.h
+
+clean:
+       $(RM) core *.o
+
+distclean: clean
+       $(RM) *.a ptest
index f0c4c66ae7760d3885bc8aff58133353ba66bb0e..24c495e622e818c9ea8e698ed10b911721db84d2 100644 (file)
@@ -17,7 +17,7 @@ HDRS = gvc.h gvcint.h gvcproc.h gvplugin_render.h gvplugin_device.h \
        gvplugin_layout.h gvplugin_textlayout.h \
        gvplugin_usershape.h gvplugin.h
 
-OBJS = gvrender.o gvlayout.o gvdevice.o gvcontext.o gvjobs.o \
+OBJS = builtins.o gvrender.o gvlayout.o gvdevice.o gvcontext.o gvjobs.o \
        gvplugin.o gvconfig.o gvevent.o gvtextlayout.o gvusershape.o gvc.o
 
 libgvc.a : $(OBJS)