ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
(Generate patch)

Comparing projects/cms/source/server/build/Makefile (file contents):
Revision 1.1.2.1 by tdb, Mon Dec 11 20:22:51 2000 UTC vs.
Revision 1.6 by tdb, Thu Jan 18 23:47:47 2001 UTC

# Line 1 | Line 1
1   # Makefile for build
2   # $Id$
3  
4 < PACKAGE = iscream.jar
5 < FILES = uk
4 > include ../Config.inc
5  
6 + BUILDFILES = uk
7 +
8   all : package
9  
10   clean :
11 <        rm -Rf uk
11 >        rm -Rf $(BUILDFILES)
12          rm -Rf $(PACKAGE)
13 +        rm -Rf $(UTILPACKAGE)
14 +        rm -Rf $(ARCNAME)*$(TAREXT)
15 +        rm -Rf $(ARCNAME)*$(TARGZEXT)
16 +        rm -Rf $(ARCNAME)*$(ZIPEXT)
17  
18 < package : $(PACKAGE)
18 > package : $(PACKAGE) maketar makezip
19  
20 < $(PACKAGE) :
21 <        @echo "Main-Class: uk.ac.ukc.iscream.core.Core" > MANIFEST_TMP
22 <        @echo "Class-Path: /usr/local/work/co610/JacORB/lib/idl.jar /usr/local/work/co610/JacORB/lib/jacorb.jar /home/proj/co600_10/xml-lib/jaxp.jar /home/proj/co600_10/xml-lib/parser.jar" >> MANIFEST_TMP
23 <        jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES)
20 > $(PACKAGE) : $(BUILDCHECK)
21 >        @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
22 >        @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
23 >        jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
24          rm -f MANIFEST_TMP
25 <        @echo "-----------------------------"
26 <        @echo "to run: java -jar $(PACKAGE)"
27 <        @echo "-----------------------------"
25 >
26 > packageutil : $(UTILPACKAGE)
27 >
28 > $(UTILPACKAGE) : $(BUILDCHECK)
29 >        jar -cf $(UTILPACKAGE) $(BUILDFILES)
30 >
31 > maketar :
32 >        tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh
33 >        gzip -fv9 $(TARFILE)
34 >
35 > makezip :
36 >        zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat
37 >
38 > include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines