-L$(LOC_LIB)/gd -lgd \
$(EXTLIB_LIB) $(EXPAT_LIB) -lm
-PLUGS = -L$(LOC_PLUG)/cairo -lgvplugin_cairo \
- -L$(LOC_PLUG)/layout -lgvplugin_layout \
- -L$(LOC_PLUG)/gd -lgvplugin_gd -L$(LOC_PLUG)/text -lgvplugin_text
+PLUGS = -L$(LOC_PLUG) -lplugins -L$(LOC_PLUG)/cairo -lgvplugin_cairo -L$(LOC_PLUG)/layout -lgvplugin_layout -L$(LOC_PLUG)/gd -lgvplugin_gd -L$(LOC_PLUG)/text -lgvplugin_text
-LIBS = $(PLUGS) -L$(LOC_LIB)/neatogen -lneatogen \
+LIBS = -L$(LOC_LIB)/gvc -lgvc $(PLUGS) \
+ -L$(LOC_LIB)/neatogen -lneatogen \
-L$(LOC_LIB)/dotgen -ldotgen \
-L$(LOC_LIB)/circogen -lcircogen \
-L$(LOC_LIB)/fdpgen -lfdpgen \
-L$(LOC_LIB)/common -lcommon \
-L$(LOC_LIB)/gvc -lgvc \
$(XLIBS)
+
DOTLIBS = ../../lib/common/libcommon.a ../../lib/dotgen/libdotgen.a \
../../lib/neatogen/libneatogen.a ../../lib/fdpgen/libfdpgen.a \
../../lib/twopigen/libtwopigen.a ../../lib/circogen/libcircogen.a
LIBDOTNEATO = libdotneato.a
-OBJS = dot.o args.o plugins.o
+OBJS = dot.o args.o
SHLIBS = twopigen/libtwopi.a dotgen/libdot.a neatogen/libneato.a pack/libpack.a gvrender/libgvrender.a common/libcommon.a
all : dot $(LIBDOTNEATO)