-I$(ROOT) \
-I../cdt \
-I../pack \
+ -I../xdot \
-I../fdpgen \
- -I../pathplan \
+ -I../pathplan \
-I../gd \
-I../graph \
-I../gvc \
LOC_INCDIR=$(LOC_LIB)/include
LOC_LIBDIR=$(LOC_LIB)/lib
-INCS = -I. -I$(ROOT) -I$(LOC_INCDIR) -I$(LOC_LIB)/cgraph -I$(LOC_LIB)/cdt \
+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 = 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 \
+ overlap.o delaunay.o call_tri.o multispline.o \
$(NOBJS) $(POBJS) constraint.o
libneatogen.a : $(OBJS)
--- /dev/null
+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