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.7
Committed: Tue Nov 21 23:37:30 2000 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.6: +4 -3 lines
Log Message:
Added FilterManagerServant to the compile list.

File Contents

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