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.9 by tdb, Wed Dec 13 17:59:21 2000 UTC vs.
Revision 1.7 by ajm, Mon Dec 11 17:20:44 2000 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines