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.9 by tdb, Thu Nov 23 01:43:24 2000 UTC vs.
Revision 1.13.2.2 by tdb, Mon Dec 11 23:48:02 2000 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines