pangotest: pangotest.c
+.PHONY: test
test: pangotest
./pangotest Ay Times 64 >`uname -s`.png
+.PHONY: clean
clean:
rm -f pangotest *.png
src/graphviz_plugins.xml \
src/graphviz_scripting.xml
+.PHONY: all
all: html pdf
dvi fo javahelp man pdf ps txt: $(SRCS)
xmlto $@ -o $@ src/book.xml
cp -rp src/imgs $@/
+.PHONY: clean
clean:
rm -rf xhtml xhtml-nochunks html html-nochunks htmlhelp book.*
dotguide.aux : dotguide.tex $(GRAPHFILES)
pdflatex dotguide
+.PHONY: clean
clean:
rm -rf *.ps *.pdf *.log dotguide.aux dotguide.blg dotguide.bbl
bibtex dotty
rm dotty.dvi
+.PHONY: all
all: dotty.bbl dotty.dvi
+.PHONY: clean
clean:
rm -f *.aux *.log *.bbl *.blg *.ps *.dvi
PSS = d1.ps d2.ps d3.ps d4.ps d5.ps d6.ps d7.ps d8.ps dotty.ps fa1.ps fa2.ps ldbx.ps
+.PHONY: all
all: $(PSS)
+.PHONY: clean
clean:
rm -rf *.ps
.gv.png :
dot -Tpng -o $@ $<
+.PHONY: all
all : $(HTML) $(GIF) $(MPNG) $(MJPG)
+.PHONY: install
install : all
$(INSTALL) $(INSTALL_FILES) $(INSTALL_DIR)
$(SPLINEPNG) : mksplines.sh
./mksplines.sh $@
+.PHONY: clean
clean :
rm -f mklang sdlshapes.ps sdlshapes.ppm html.html
+.PHONY: distclean
distclean : clean
rm -f attrs.html colors.html output.html shapes.html lang.html arrows.html
rm -f $(A2GIF) $(AGIF) $(SGIF) $(MJPG) $(MGIF) $(MPNG) shapes
colorlist.dot html1.dot html4.dot round.dot constraint.dot \
html2.dot mrecord.dot sdlshapes.dot fill.dot html3.dot record.dot \
attrs types X11 outputs eqn.gif plugins.gv
-
%.ps : %.dot
dot -Tps $< -o $@
+.PHONY: all
all: lefty.bbl lefty.dvi
lefty.bbl:
bibtex lefty
rm lefty.dvi
+.PHONY: clean
clean:
rm -f *.aux *.log *.bbl *.blg *.ps *.dvi
PSS = fig2tpa.ps fig2tpb.ps figboxinitial.ps figboxfinal.ps figfractalonea.ps figfractaloneb.ps figfractalmva.ps figfractalmvb.ps figfractaltracea.ps figfractaltraceb.ps figfractaltracec.ps figradixtree.ps figbigtree.ps figtria.ps figtrib.ps figdag.ps lefty.ps
+.PHONY: all
all: $(PSS)
+.PHONY: clean
clean:
rm -rf *.ps
PTEX=pdflatex
DVI=dvips
+.PHONY: all
all : Agraph.pdf
%.pdf : %.dot
Agraph.aux : Agraph.tex
$(TEX) Agraph
+.PHONY: clean
clean:
rm -rf *.bbl *.aux *.dvi *.ps *.pdf *.log *.toc *.blg
PTEX=pdflatex
DVI=dvips
+.PHONY: all
all : libguide.pdf
%.pdf : %.dot
libguide.aux : libguide.tex
$(TEX) libguide
+.PHONY: clean
clean:
rm -rf *.bbl *.aux *.dvi *.ps *.pdf *.log *.toc *.blg
neato.aux : neato.tex $(GRAPHFILES)
pdflatex neato
+.PHONY: clean
clean:
rm -rf *.ps *.pdf *.log
smyrna.aux : smyrna.tex $(GRAPHFILES)
pdflatex smyrna
+.PHONY: clean
clean:
rm -rf *.pdf *.log *.aux *.bbl *.blg *.log *.toc
CFLAGS=`pkg-config libgvc --cflags` -Wall -g -O2
LDFLAGS=`pkg-config libgvc --libs`
+.PHONY: all
all: dot demo simple example neatopack
dot: dot.o
example: example.o
neatopack: neatopack.o
+.PHONY: clean
clean:
rm -rf *.o dot demo simple example neatopack *.png
+.PHONY: all
all: dot demo simple example
################################################
simple: simple.o builtins.o
example: example.o builtins.o
+.PHONY: clean
clean:
rm -rf *.o dot demo simple example *.png $(EXTRACLEAN)
+.PHONY: all
all: gv_test.png
################################################
gv_python.cpp gv.py: gv.i
swig -c++ -python -o gv_python.cpp gv.i
+.PHONY: clean
clean:
rm -f gv.py gv_python.cpp _gv.so *.o gv_test.png $(EXTRACLEAN)
+.PHONY: all
all: gv_test.png
################################################
gv_python.cpp gv.py: gv.i
swig -c++ -python -o gv_python.cpp gv.i
+.PHONY: clean
clean:
rm -f gv.py gv_python.cpp _gv.so *.o gv_test.png $(EXTRACLEAN)
inkpot_xlate.h:
ln -s ../inkpot_xlate.h
+.PHONY: clean
clean:
rm -rf *.o inkpot inkpot.[ch] inkpot_scheme.[ch] \
inkpot_value.[ch] inkpot_xlate.[ch]
+.PHONY: clean
clean:
$(MAKE) -C $(GV_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(GV_DIR) distclean
@echo
cd $(GV_DIR) && ./configure --enable-swig=no --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna=no --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig"
+.PHONY: clean
clean:
$(MAKE) -C $(GV_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(GV_DIR) distclean
@echo
cd $(GV_DIR) && ./configure --enable-swig=no --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna=no --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig"
+.PHONY: clean
clean:
$(MAKE) -C $(GV_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(GV_DIR) distclean
$(MAKE) -C $(FREETYPE_DIR) uninstall
$(MAKE) -C $(PKGCONFIG_DIR) uninstall
+.PHONY: clean
clean:
$(MAKE) -C $(JPEG_DIR) clean
$(MAKE) -C $(TIFF_DIR) clean
$(MAKE) -C $(FREETYPE_DIR) clean
$(MAKE) -C $(PKGCONFIG_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(JPEG_DIR) distclean
$(MAKE) -C $(TIFF_DIR) distclean
$(MAKE) -C $(FREETYPE_DIR) uninstall
$(MAKE) -C $(PKGCONFIG_DIR) uninstall
+.PHONY: clean
clean:
$(MAKE) -C $(JPEG_DIR) clean
$(MAKE) -C $(TIFF_DIR) clean
$(MAKE) -C $(FREETYPE_DIR) clean
$(MAKE) -C $(PKGCONFIG_DIR) clean
+.PHONY: clean
distclean:
$(MAKE) -C $(JPEG_DIR) distclean
$(MAKE) -C $(TIFF_DIR) distclean
$(MAKE) -C $(FREETYPE_DIR) uninstall
$(MAKE) -C $(PKGCONFIG_DIR) uninstall
+.PHONY: clean
clean:
$(MAKE) -C $(JPEG_DIR) clean
$(MAKE) -C $(TIFF_DIR) clean
$(MAKE) -C $(FREETYPE_DIR) clean
$(MAKE) -C $(PKGCONFIG_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(JPEG_DIR) distclean
$(MAKE) -C $(TIFF_DIR) distclean
$(MAKE) -C $(PKGCONFIG_DIR) uninstall
$(MAKE) -C $(LIBXML2_DIR) uninstall
+.PHONY: clean
clean:
$(MAKE) -C $(PANGO_DIR) clean
$(MAKE) -C $(GLIB_DIR) clean
$(MAKE) -C $(PKGCONFIG_DIR) clean
$(MAKE) -C $(LIBXML2_DIR) clean
+.PHONY: distclean
distclean:
$(MAKE) -C $(PANGO_DIR) distclean
$(MAKE) -C $(GLIB_DIR) distclean
+.PHONY: test
test:
tclsh test.tcl
reference:
tclsh test.tcl reference
+.PHONY: clean
clean:
rm -rf test_results test_graphs test_reference
BASE_CONFIG=--prefix=$(LOCAL) --disable-dependency-tracking --enable-static=no --enable-shared=yes PKG_CONFIG="$(LOCAL_BIN)/$(PKGCONFIG_BIN)"
FLAG_CONFIG=CFLAGS="-O2 -mms-bitfields -I$(LOCAL_INCLUDE)" LDFLAGS="-L$(LOCAL_LIB)"
+.PHONY: install
install: $(LOCAL_LIB)/$(PANGO) $(LOCAL_LIB)/$(GD) $(LOCAL_BIN)/$(FLEX_BIN) $(LOCAL_BIN)/$(YACC_BIN)
+.PHONY: uninstall
uninstall:
$(MAKE) -C $(PANGO_DIR) uninstall
$(MAKE) -C $(GLIB_DIR) uninstall
rm -rf $(LOCAL_BIN)/flex++.exe
rm -rf $(LOCAL_BIN)/$(YACC_BIN)
+.PHONY: distclean
distclean:
$(MAKE) -C $(PANGO_DIR) distclean
$(MAKE) -C $(GLIB_DIR) distclean
@echo TRANSFERRING ZIP BIN...
@echo
$(WGET) $(UNZIP_BIN_URL) || rm -f $(UNZIP_BIN_EXE)
-
-#
-# phony
-#
-
-.PHONY: install uninstall clean distclean