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.4 by tdb, Thu Nov 16 14:47:16 2000 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines