# Written by Kiem-Phong Vo (03/18/1998)
# Modified for graphviz by erg (5 Oct 2000)
-include ../Config.mk
-include ../makearch/$(ARCH)
+ROOT=../..
+
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
CXFLAGS=
CCMODE= -O
$(CC) -c $(DEFINES) Cdt_p/hsearch.c
ast_common.h : features/common
- ../iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/common > ast_common.h
+ $(ROOT)/iffe - set cc $(CC) $(CCMODE) $(CXFLAGS) : run features/common > ast_common.h
$(OBJS) : ast_common.h
all: libcirco.a
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
-include ../../Config.mk
-include ../../makearch/$(ARCH)
-
-INCS = -I. -I../.. \
+INCS = -I. -I$(ROOT) \
-I../common \
-I../neatogen \
-I../dotgen \
-I../pack \
- -I../gvrender \
- -I../../pathplan \
- -I../../graph \
- -I../../cdt \
- -I../../gd
+ -I../gvc \
+ -I../pathplan \
+ -I../graph \
+ -I../cdt \
+ -I../gd
DEFINES = -DHAVE_CONFIG_H
all: libcommon.a
-
-include ../../Config.mk
-include ../../makearch/$(ARCH)
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
INCS = -I. \
- -I../.. \
- -I../../cdt \
- -I../../pathplan \
- -I../../gd \
- -I../../graph \
- -I../gvrender \
+ -I$(ROOT) \
+ -I../cdt \
+ -I../pathplan \
+ -I../gd \
+ -I../graph \
+ -I../gvc \
$(EXTLIB_INC)
DEFINES = -DHAVE_CONFIG_H
-AWKDIR = ../awk
+AWKDIR = $(ROOT)/awk
HDRS = colortbl.h const.h globals.h macros.h ps.h render.h \
renderprocs.h types.h utils.h
-OBJS = arrows.o colxlate.o emit.o diagen.o figgen.o fontmetrics.o \
- gdgen.o globals.o hpglgen.o htmlparse.o htmllex.o htmltable.o \
- labels.o ns.o strcasecmp.o strncasecmp.o \
- mapgen.o input.o mifgen.o mpgen.o output.o pointset.o postproc.o \
- picgen.o psgen.o shapes.o routespl.o splines.o svggen.o \
- timing.o utils.o vrmlgen.o vtxgen.o
+OBJS = arrows.o gdusershape.o mapgen.o psgen.o svgusershape.o \
+ colxlate.o globals.o mifgen.o psusershape.o timing.o \
+ diagen.o hpglgen.o mpgen.o routespl.o utils.o \
+ emit.o htmllex.o ns.o shapes.o vrmlgen.o \
+ figgen.o htmlparse.o output.o splines.o vtxgen.o \
+ fontmetrics.o htmltable.o picgen.o strcasecmp.o \
+ gdgen.o input.o pointset.o strncasecmp.o \
+ gdtextsize.o labels.o postproc.o svggen.o
+
libcommon.a : $(OBJS)
$(RM) libcommon.a
all: libdot.a
+ROOT=../..
+include $(ROOT)/Config.mk
+include $(ROOT)/makearch/$(ARCH)
-include ../../Config.mk
-include ../../makearch/$(ARCH)
-
-INCS = -I. -I../.. \
+INCS = -I. -I$(ROOT) \
-I../common \
- -I../gvrender \
- -I../../pathplan \
- -I../../graph \
- -I../../cdt \
- -I../../gd
+ -I../gvc \
+ -I../pathplan \
+ -I../graph \
+ -I../cdt \
+ -I../gd
DEFINES = -DHAVE_CONFIG_H