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.9
Committed: Thu Nov 23 01:43:24 2000 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.8: +2 -3 lines
Log Message:
Changes to reflect goings on with files... :)

File Contents

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