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.6
Committed: Tue Nov 21 21:05:39 2000 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.5: +5 -4 lines
Log Message:
Made changes to reflect remain of Filter and FilterManager, and addition of the
new files.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for Filter
2 tdb 1.6 # $Id: Makefile,v 1.5 2000/11/20 22:05:35 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     HostInit.class FilterMain.class FilterServant.class\
11     RootFilterMain.class RootFilterServant.class
12 tdb 1.1
13     FMPACKAGE = FilterManager.jar
14    
15 tdb 1.3 IDL = ../.madeidl
16     IDLFILES = ../uk
17     IDLMAKE = cd .. && $(MAKE) idl
18 tdb 1.1
19     # Defining "shortcuts" for building
20    
21 tdb 1.3 fm : $(IDL) $(FILTERMAN)
22 tdb 1.1 all : fm
23     package : $(FMPACKAGE)
24    
25     clean :
26     rm -f $(FILTERMAN) $(FMPACKAGE)
27    
28 tdb 1.3 distclean : clean
29     rm -Rf $(IDLFILES)
30     rm -f $(IDL)
31    
32 tdb 1.1 run : $(FILTERMAN)
33 tdb 1.6 java FilterManagerMain
34 tdb 1.1
35 tdb 1.4 update :
36     cvs -q -d /usr/local/proj/co600_10/cvs update
37 tdb 1.1
38     # Dependencies, and building
39    
40 tdb 1.2 #clever catchall to build any .class file from a .java file
41     %.class : %.java
42     javac $<
43 tdb 1.1
44 tdb 1.3 $(FMPACKAGE) : fm
45 tdb 1.1 echo "Main-Class: FilterManager" > MANIFEST_FM_TMP
46     jar -cmf MANIFEST_FM_TMP $(FMPACKAGE) $(FILTERMAN)
47     rm -f MANIFEST_FM_TMP
48     @echo "----------------------------"
49     @echo "to run: java -jar $(PACKAGE)"
50     @echo "----------------------------"
51     @echo "WARNING: Need to sort Classpath"
52    
53 tdb 1.3 $(IDL) : ../iscream.idl
54     $(IDLMAKE)
55 tdb 1.1
56     # and the help :)
57    
58     help :
59     @echo "Makefile usage [default: fm]"
60     @echo
61 tdb 1.3 @echo "make run - runs the filter manager programs"
62 tdb 1.1 @echo
63 tdb 1.3 @echo "make fm - builds the filter manager programs"
64     @echo "make all - builds all the programs"
65 tdb 1.1 @echo
66 tdb 1.3 @echo "make package - packages the filter manager programs into a JAR"
67 tdb 1.1 @echo
68 tdb 1.3 @echo "make clean - removes all the compiled files"
69     @echo "make distclean - removes all the compiled files, and the IDL created files"
70 tdb 1.1 @echo