ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile
(Generate patch)

Comparing projects/cms/source/server/Makefile (file contents):
Revision 1.6.2.1 by tdb, Mon Dec 11 20:19:36 2000 UTC vs.
Revision 1.6.2.7 by tdb, Tue Dec 12 20:15:14 2000 UTC

# Line 1 | Line 1
1   # Makefile for server
2   # $Id$
3  
4 < IDL = idl/.madeidl
4 > include Config.inc
5  
6 < all : buildidl code
6 > all : build
7  
8 < idl : $(IDL)
9 < $(IDL) : idl/iscream.idl
8 > idl :
9          cd idl && $(MAKE) idl
10  
11 < buildidl : $(IDL) idl
12 <        cd idl/uk/ac/ukc/iscream/clientinterface && javac -g:none -O -d ../../../../../../build *.java
14 <        cd idl/uk/ac/ukc/iscream/core && javac -g:none -O -d ../../../../../../build *.java
15 <        cd idl/uk/ac/ukc/iscream/filter && javac -g:none -O -d ../../../../../../build *.java
11 > buildidl : idl
12 >        cd idl && $(MAKE) build
13  
14 < code :
14 > code : buildidl
15          cd uk/ac/ukc/iscream && $(MAKE) all
16  
17 + build : code
18 +        cd build && $(MAKE) package
19 +
20 + run : build
21 +        cd build && java -jar iscream.jar
22 +
23   clean :
24          cd idl && $(MAKE) clean
22        cd uk/ac/ukc/iscream && $(MAKE) clean
25          cd build && $(MAKE) clean
26 +        cd uk/ac/ukc/iscream && $(MAKE) clean
27 +        rm -Rf $(BUILDCHECK) $(IDLCHECK)
28  
29 < update :
30 <        cvs -q -d /usr/local/proj/co600_10/cvs update
29 > install : build
30 >        @echo "-------------------------------------------------------"
31 >        @echo "Installing to $(INSTALL)"
32 >        @echo "  copying $(PACKAGE) to $(INSTALL)"
33 >        mkdir -p $(INSTALL)
34 >        cp $(BUILD)/$(PACKAGE) $(INSTALL)
35 >        @echo "  copying libs to $(INSTALL)/lib"
36 >        mkdir -p $(INSTALL)/lib
37 >        cp $(LIBDIR)/*.jar $(INSTALL)/lib
38 >        @echo "  copying etc to $(INSTALL)/etc"
39 >        mkdir -p $(INSTALL)/etc
40 >        cp $(BUILD)/etc/default.properties $(INSTALL)/etc
41 >        cp $(BUILD)/etc/*.conf $(INSTALL)/etc
42 >        @echo "Completed install to $(INSTALL)"
43 >        @echo "-------------------------------------------------------"
44  
45 < runclientinterface :
29 <        cd uk/ac/ukc/iscream/clientinterface && $(MAKE) all
30 <        cd build && java uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain
31 <
32 < runcore :
33 <        cd uk/ac/ukc/iscream/core && $(MAKE) all
34 <        cd build && java uk.ac.ukc.iscream.core.Core -l etc/default.properties
35 <
36 < rundbinterface :
37 <        cd uk/ac/ukc/iscream/dbinterface && $(MAKE) all
38 <        cd build && java uk.ac.ukc.iscream.dbinterface.DBInterfaceMain
39 <
40 < runfiltermanager :
41 <        cd uk/ac/ukc/iscream/filtermanager && $(MAKE) all
42 <        cd build && java uk.ac.ukc.iscream.filtermanager.FilterManager
43 <
44 < runrootfilter :
45 <        cd uk/ac/ukc/iscream/rootfilter && $(MAKE) all
46 <        cd build &&java uk.ac.ukc.iscream.rootfilter.RootFilterMain
47 <
48 < runfilter :
49 <        cd uk/ac/ukc/iscream/filter && $(MAKE) all
50 <        cd build && java uk.ac.ukc.iscream.filter.FilterMain $(NAME)
51 <
52 < build : all
53 <        cd build && $(MAKE) package
45 > include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines