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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/Makefile (file contents):
Revision 1.2 by tdb, Tue Nov 14 01:53:56 2000 UTC vs.
Revision 1.11 by tdb, Wed Nov 29 23:41:20 2000 UTC

# Line 1 | Line 1
1 < # Makefile for Filter
1 > # Makefile for uk.ac.ukc.iscream.core
2   # $Id$
3  
4 # For help type: make help
5
6
4   # Defining Filenames
5  
6 < FILTERMAN = FilterManager.class FilterManagerListener.class HostInit.class
6 > CLASS = FilterMain.class FilterServant.class FilterThread.class\
7 >        TCPReader.class TCPReaderInit.class UDPReader.class
8  
9 < FMPACKAGE = FilterManager.jar
9 > IDL = ../../../../../idl/.madeidl
10 > IDLFILES = ../../../../../idl/uk
11 > IDLMAKE = cd ../../../../.. && $(MAKE) idl
12  
13
13   # Defining "shortcuts" for building
14  
15 < fm : $(FILTERMAN)
17 < all : fm
18 < package : $(FMPACKAGE)
15 > all : filter
16  
17 + filter : $(IDL) $(CLASS)
18 +
19   clean :
20 <        rm -f $(FILTERMAN) $(FMPACKAGE)
20 >        rm -f $(CLASS)
21  
22 < run : $(FILTERMAN)
23 <        java FilterManager
22 > update :
23 >        cvs -q -d /usr/local/proj/co600_10/cvs update -d
24  
26
25   # Dependencies, and building
26  
27 < #clever catchall to build any .class file from a .java file
27 > # clever catchall to build any .class file from a .java file
28   %.class : %.java
29          javac $<
30  
31 < $(FMPACKAGE) : $(FILTERMAN)
32 <        echo "Main-Class: FilterManager" > MANIFEST_FM_TMP
35 <        jar -cmf MANIFEST_FM_TMP $(FMPACKAGE) $(FILTERMAN)
36 <        rm -f MANIFEST_FM_TMP
37 <        @echo "----------------------------"
38 <        @echo "to run: java -jar $(PACKAGE)"
39 <        @echo "----------------------------"
40 <        @echo "WARNING: Need to sort Classpath"
41 <
42 <
43 < # and the help :)
44 <
45 < help :
46 <        @echo "Makefile usage [default: fm]"
47 <        @echo
48 <        @echo "make run     - runs the filter manager programs"
49 <        @echo
50 <        @echo "make fm      - builds the filter manager programs"
51 <        @echo "make all     - builds all the programs"
52 <        @echo
53 <        @echo "make package - packages the filter manager programs into a JAR"
54 <        @echo
55 <        @echo "make clean   - removes all the compiled files"
56 <        @echo
31 > $(IDL) : ../../../../../idl/iscream.idl
32 >        $(IDLMAKE)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines