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.8 by tdb, Wed Nov 22 09:30:30 2000 UTC vs.
Revision 1.13 by tdb, Wed Dec 6 22:57:45 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
5
6
4   # Defining Filenames
5  
6 < FILTERMAN = FilterManagerMain.class FilterManagerListener.class\
7 <            HostInit.class FilterManagerServant.class\
8 <            FilterMain.class FilterServant.class\
12 <            RootFilterMain.class RootFilterServant.class\
13 <            UDPReader.class FilterThread.class\
14 <            XMLStringParser.class XMLPacketMaker.class XMLPacket.class
6 > CLASS = FilterMain.class FilterServant.class FilterThread.class\
7 >        TCPReader.class TCPReaderInit.class UDPReader.class\
8 >        PluginFilterManager.class PluginFilter.class
9  
10 < FMPACKAGE = FilterManager.jar
10 > IDL = ../../../../../idl/.madeidl
11 > IDLFILES = ../../../../../idl/uk
12 > IDLMAKE = cd ../../../../.. && $(MAKE) idl
13  
18 IDL = ../.madeidl
19 IDLFILES = ../uk
20 IDLMAKE = cd .. && $(MAKE) idl
21
14   # Defining "shortcuts" for building
15  
16 < fm : $(IDL) $(FILTERMAN)
25 < all : fm
26 < package : $(FMPACKAGE)
16 > all : filter plugins
17  
18 < clean :
29 <        rm -f $(FILTERMAN) $(FMPACKAGE)
18 > filter : $(IDL) $(CLASS)
19  
20 < distclean : clean
21 <        rm -Rf $(IDLFILES)
22 <        rm -f $(IDL)
20 > plugins : mkplugins
21 > mkplugins :
22 >        cd plugins && $(MAKE) all
23  
24 < run : $(FILTERMAN)
25 <        java FilterManagerMain
24 > clean :
25 >        rm -f $(CLASS)
26 >        cd plugins && $(MAKE) clean
27  
28   update :
29 <        cvs -q -d /usr/local/proj/co600_10/cvs update
29 >        cvs -q -d /usr/local/proj/co600_10/cvs update -d
30  
31   # Dependencies, and building
32  
33 < #clever catchall to build any .class file from a .java file
33 > # clever catchall to build any .class file from a .java file
34   %.class : %.java
35          javac $<
36  
37 < $(FMPACKAGE) : fm
48 <        echo "Main-Class: FilterManager" > MANIFEST_FM_TMP
49 <        jar -cmf MANIFEST_FM_TMP $(FMPACKAGE) $(FILTERMAN)
50 <        rm -f MANIFEST_FM_TMP
51 <        @echo "----------------------------"
52 <        @echo "to run: java -jar $(PACKAGE)"
53 <        @echo "----------------------------"
54 <        @echo "WARNING: Need to sort Classpath"
55 <
56 < $(IDL) : ../iscream.idl
37 > $(IDL) : ../../../../../idl/iscream.idl
38          $(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"
65        @echo
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"
70        @echo
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