From 9b8745d5250c9d0b60c9aa5a77f58a3fcddf1076 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Tue, 21 Jan 2003 10:27:33 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r352, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdp/; revision=353 --- Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..14ae460 --- /dev/null +++ b/Makefile @@ -0,0 +1,49 @@ +include Makefile.config + +PDP_DISTRO = $(PDP_DIR)/../pdp-$(PDP_VERSION) +PDP_TARBALL = $(PDP_DISTRO).tar.gz +PDP_WWWDIR = /net/zwizwa/www/zwizwa.fartit.com/pd/pdp +PDP_WWWTESTDIR = /net/zwizwa/www/zwizwa.fartit.com/pd/pdp/test + +all: pdp.pd_linux + +include Makefile.$(PDP_TARGET) + +pdp_all: + make -C system + make -C modules + +buildclean: + make -C include clean + make -C system clean + make -C modules clean + +clean: buildclean + rm -f pdp.pd_linux + rm -f *~ + +tags: + etags --language=auto include/*.h system/mmx/*.s system/*.c modules/*.c + +tagsclean: + rm -f TAGS + +distro: clean + rm -rf $(PDP_DISTRO) + mkdir $(PDP_DISTRO) + cp -av $(PDP_DIR)/* $(PDP_DISTRO) + #strip --strip-unneeded $(PDP_DISTRO)/pdp.pd_linux + rm -rf $(PDP_DISTRO)/CVS + rm -rf $(PDP_DISTRO)/*/CVS + rm -rf $(PDP_DISTRO)/*/*/CVS + rm -rf $(PDP_DISTRO)/*/*.o + rm -rf $(PDP_DISTRO)/*/TAGS + cd $(PDP_DISTRO)/.. && tar vczf pdp-$(PDP_VERSION).tar.gz pdp-$(PDP_VERSION) + rm -rf $(PDP_DISTRO) + +www: $(PDP_TARBALL) + cp -av $(PDP_TARBALL) $(PDP_WWWDIR) + cp -av $(PDP_DIR)/README $(PDP_WWWDIR)/README.txt + +www-test:$(PDP_TARBALL) + cp -av $(PDP_TARBALL) $(PDP_WWWTESTDIR) -- cgit v1.2.1