-SUBDIRS = lib plugin cmd
+SUBDIRS = lib cmd
all install clean distclean :
(for i in ${SUBDIRS}; do (cd $$i; make $@); done)
-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)
--- /dev/null
+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
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)