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
Revision: 1.8
Committed: Wed Nov 22 09:30:30 2000 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.7: +3 -1 lines
Log Message:
Added the new parts to the Filter.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for Filter
2 tdb 1.8 # $Id: Makefile,v 1.7 2000/11/21 23:37:30 tdb1 Exp $
3 tdb 1.1
4     # For help type: make help
5    
6    
7     # Defining Filenames
8    
9 tdb 1.6 FILTERMAN = FilterManagerMain.class FilterManagerListener.class\
10 tdb 1.7 HostInit.class FilterManagerServant.class\
11     FilterMain.class FilterServant.class\
12     RootFilterMain.class RootFilterServant.class\
13 tdb 1.8 UDPReader.class FilterThread.class\
14     XMLStringParser.class XMLPacketMaker.class XMLPacket.class
15 tdb 1.1
16     FMPACKAGE = FilterManager.jar
17    
18 tdb 1.3 IDL = ../.madeidl
19     IDLFILES = ../uk
20     IDLMAKE = cd .. && $(MAKE) idl
21 tdb 1.1
22     # Defining "shortcuts" for building
23    
24 tdb 1.3 fm : $(IDL) $(FILTERMAN)
25 tdb 1.1 all : fm
26     package : $(FMPACKAGE)
27    
28     clean :
29     rm -f $(FILTERMAN) $(FMPACKAGE)
30    
31 tdb 1.3 distclean : clean
32     rm -Rf $(IDLFILES)
33     rm -f $(IDL)
34    
35 tdb 1.1 run : $(FILTERMAN)
36 tdb 1.6 java FilterManagerMain
37 tdb 1.1
38 tdb 1.4 update :
39     cvs -q -d /usr/local/proj/co600_10/cvs update
40 tdb 1.1
41     # Dependencies, and building
42    
43 tdb 1.2 #clever catchall to build any .class file from a .java file
44     %.class : %.java
45     javac $<
46 tdb 1.1
47 tdb 1.3 $(FMPACKAGE) : fm
48 tdb 1.1 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 tdb 1.3 $(IDL) : ../iscream.idl
57     $(IDLMAKE)
58 tdb 1.1
59     # and the help :)
60    
61     help :
62     @echo "Makefile usage [default: fm]"
63     @echo
64 tdb 1.3 @echo "make run - runs the filter manager programs"
65 tdb 1.1 @echo
66 tdb 1.3 @echo "make fm - builds the filter manager programs"
67     @echo "make all - builds all the programs"
68 tdb 1.1 @echo
69 tdb 1.3 @echo "make package - packages the filter manager programs into a JAR"
70 tdb 1.1 @echo
71 tdb 1.3 @echo "make clean - removes all the compiled files"
72     @echo "make distclean - removes all the compiled files, and the IDL created files"
73 tdb 1.1 @echo