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.1 by tdb, Tue Nov 14 01:40:49 2000 UTC vs.
Revision 1.8 by tdb, Wed Nov 22 09:30:30 2000 UTC

# Line 6 | Line 6
6  
7   # Defining Filenames
8  
9 < FILTERMAN = FilterManager.class FilterManagerListener.class HostInit.class
9 > FILTERMAN = FilterManagerMain.class FilterManagerListener.class\
10 >            HostInit.class FilterManagerServant.class\
11 >            FilterMain.class FilterServant.class\
12 >            RootFilterMain.class RootFilterServant.class\
13 >            UDPReader.class FilterThread.class\
14 >            XMLStringParser.class XMLPacketMaker.class XMLPacket.class
15  
16   FMPACKAGE = FilterManager.jar
17  
18 + IDL = ../.madeidl
19 + IDLFILES = ../uk
20 + IDLMAKE = cd .. && $(MAKE) idl
21  
22   # Defining "shortcuts" for building
23  
24 < fm : $(FILTERMAN)
24 > fm : $(IDL) $(FILTERMAN)
25   all : fm
26   package : $(FMPACKAGE)
27  
28   clean :
29          rm -f $(FILTERMAN) $(FMPACKAGE)
30  
31 + distclean : clean
32 +        rm -Rf $(IDLFILES)
33 +        rm -f $(IDL)
34 +
35   run : $(FILTERMAN)
36 <        java FilterManager
36 >        java FilterManagerMain
37  
38 + update :
39 +        cvs -q -d /usr/local/proj/co600_10/cvs update
40  
41   # Dependencies, and building
42  
43 < FilterManager.class : FilterManager.java
44 <        javac FilterManager.java
43 > #clever catchall to build any .class file from a .java file
44 > %.class : %.java
45 >        javac $<
46  
47 < FilterManagerListener.class : FilterManagerListener.java
33 <        javac FilterManagerListener.java
34 <
35 < HostInit.class : HostInit.java
36 <        javac HostInit.java
37 <
38 < $(FMPACKAGE) : $(FILTERMAN)
47 > $(FMPACKAGE) : fm
48          echo "Main-Class: FilterManager" > MANIFEST_FM_TMP
49          jar -cmf MANIFEST_FM_TMP $(FMPACKAGE) $(FILTERMAN)
50          rm -f MANIFEST_FM_TMP
# Line 44 | Line 53 | $(FMPACKAGE) : $(FILTERMAN)
53          @echo "----------------------------"
54          @echo "WARNING: Need to sort Classpath"
55  
56 + $(IDL) : ../iscream.idl
57 +        $(IDLMAKE)
58  
59   # and the help :)
60  
61   help :
62          @echo "Makefile usage [default: fm]"
63          @echo
64 <        @echo "make run     - runs the filter manager programs"
64 >        @echo "make run       - runs the filter manager programs"
65          @echo
66 <        @echo "make fm      - builds the filter manager programs"
67 <        @echo "make all     - builds all the programs"
66 >        @echo "make fm        - builds the filter manager programs"
67 >        @echo "make all       - builds all the programs"
68          @echo
69 <        @echo "make package - packages the filter manager programs into a JAR"
69 >        @echo "make package   - packages the filter manager programs into a JAR"
70          @echo
71 <        @echo "make clean   - removes all the compiled files"
71 >        @echo "make clean     - removes all the compiled files"
72 >        @echo "make distclean - removes all the compiled files, and the IDL created files"
73          @echo

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines