--- projects/cms/source/server/build/Makefile 2003/01/26 14:02:52 1.11 +++ projects/cms/source/server/build/Makefile 2003/02/01 19:08:54 1.12 @@ -1,12 +1,14 @@ # Makefile for build -# $Id: Makefile,v 1.11 2003/01/26 14:02:52 tdb Exp $ +# $Id: Makefile,v 1.12 2003/02/01 19:08:54 tdb Exp $ include ../Config.inc BUILDFILES = uk +.PHONY : all all : dist +.PHONY : clean clean : rm -Rf $(BUILDFILES) rm -f $(PACKAGE) @@ -19,24 +21,29 @@ clean : rm -Rf $(DOCDIR) $(SRCDIR) rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) +.PHONY : package package : $(PACKAGE) -$(PACKAGE) : $(BUILDCHECK) +$(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK) rm -f $(PACKAGE) @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP +.PHONY : packageutil packageutil : $(UTILPACKAGE) -$(UTILPACKAGE) : $(BUILDCHECK) +$(UTILPACKAGE) : $(MCOMPILECHECK) jar -cf $(UTILPACKAGE) $(BUILDFILES) -dist-bin : mk-dist-bin mk-distfiles +.PHONY : dist-bin +dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESCHECK) -dist : mk-dist mk-distfiles +.PHONY : dist +dist : $(MKDISTCHECK) $(MKDISTFILESCHECK) +.PHONY : mk-dist-bin mk-dist-bin : $(MKDISTBINCHECK) $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG) if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi @@ -47,6 +54,7 @@ $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG) @touch $(MKDISTBINCHECK) @rm -f $(MKDISTFILESCHECK) +.PHONY : mk-dist mk-dist : $(MKDISTCHECK) $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG) if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi @@ -57,6 +65,7 @@ $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK @touch $(MKDISTCHECK) @rm -f $(MKDISTFILESCHECK) +.PHONY : mk-distfiles mk-distfiles : $(MKDISTFILESCHECK) $(MKDISTFILESCHECK) : if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi