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.5 by tdb, Mon Nov 20 22:05:35 2000 UTC vs.
Revision 1.13.2.3 by tdb, Tue Dec 12 01:54:09 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 > # Config Include
5 > include ../../../../../Config.inc
6  
7 + # Defining Filenames (these will be built)
8  
9 < # Defining Filenames
9 > CLASS = FilterMain.class FilterServant.class FilterThread.class\
10 >        TCPReader.class TCPReaderInit.class UDPReader.class\
11 >        PluginFilterManager.class PluginFilter.class
12  
13 < FILTERMAN = FilterManager.class FilterManagerListener.class\
14 <            HostInit.class Filter.class
13 > # Build Rules
14 > all : filter plugins
15  
16 < FMPACKAGE = FilterManager.jar
16 > filter : DOBUILD
17  
18 < IDL = ../.madeidl
19 < IDLFILES = ../uk
20 < IDLMAKE = cd .. && $(MAKE) idl
18 > plugins : mkplugins
19 > mkplugins :
20 >        cd plugins && $(MAKE) all
21  
22 < # Defining "shortcuts" for building
23 <
20 < fm : $(IDL) $(FILTERMAN)
21 < all : fm
22 < package : $(FMPACKAGE)
23 <
24 < clean :
25 <        rm -f $(FILTERMAN) $(FMPACKAGE)
26 <
27 < distclean : clean
28 <        rm -Rf $(IDLFILES)
29 <        rm -f $(IDL)
30 <
31 < run : $(FILTERMAN)
32 <        java FilterManager
33 <
34 < update :
35 <        cvs -q -d /usr/local/proj/co600_10/cvs update
36 <
37 < # Dependencies, and building
38 <
39 < #clever catchall to build any .class file from a .java file
40 < %.class : %.java
41 <        javac $<
42 <
43 < $(FMPACKAGE) : fm
44 <        echo "Main-Class: FilterManager" > MANIFEST_FM_TMP
45 <        jar -cmf MANIFEST_FM_TMP $(FMPACKAGE) $(FILTERMAN)
46 <        rm -f MANIFEST_FM_TMP
47 <        @echo "----------------------------"
48 <        @echo "to run: java -jar $(PACKAGE)"
49 <        @echo "----------------------------"
50 <        @echo "WARNING: Need to sort Classpath"
51 <
52 < $(IDL) : ../iscream.idl
53 <        $(IDLMAKE)
54 <
55 < # and the help :)
56 <
57 < help :
58 <        @echo "Makefile usage [default: fm]"
59 <        @echo
60 <        @echo "make run       - runs the filter manager programs"
61 <        @echo
62 <        @echo "make fm        - builds the filter manager programs"
63 <        @echo "make all       - builds all the programs"
64 <        @echo
65 <        @echo "make package   - packages the filter manager programs into a JAR"
66 <        @echo
67 <        @echo "make clean     - removes all the compiled files"
68 <        @echo "make distclean - removes all the compiled files, and the IDL created files"
69 <        @echo
22 > # Main Include
23 > include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines