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.1 by tdb, Tue Nov 14 02:41:04 2000 UTC vs.
Revision 1.14 by tdb, Tue Jan 23 02:08:13 2001 UTC

# Line 1 | Line 1
1   # Makefile for server
2   # $Id$
3  
4 < all : idl core filter
4 > include Config.inc
5  
6 < core :
7 <        cd CORE && $(MAKE)
6 > all : build
7  
8 < filter :
9 <        cd Filter && $(MAKE)
8 > genidl :
9 >        cd idl && $(MAKE) idl
10  
11 < idl : iscream.idl
12 <        idl iscream.idl
14 <        @touch .madeidl
11 > buildidl : genidl
12 >        cd idl && $(MAKE) build
13  
14 + code : genidl
15 +        cd uk/ac/ukc/iscream && $(MAKE) all
16 +
17 + build : buildidl code
18 +        cd build && $(MAKE) package
19 +
20 + run : build
21 +        cd build && ./run.sh
22 +
23   clean :
24 <        rm -Rf uk
25 <        rm -f .madeidl
26 <        cd CORE && $(MAKE) clean
27 <        cd Filter && $(MAKE) clean
24 >        cd idl && $(MAKE) clean
25 >        cd build && $(MAKE) clean
26 >        cd uk/ac/ukc/iscream && $(MAKE) clean
27 >        rm -Rf $(BUILDCHECK) $(IDLCHECK)
28 >        rm -Rf $(CVSBUILDTEMP)
29 >        rm -Rf doc doctemp
30  
31 + distclean : clean
32 +        cd $(BUILD) && rm -f $(CLPATH)
33 +        rm -f Config.inc
34 +
35 + install : build
36 +        @echo "-------------------------------------------------------"
37 +        @echo "Installing to $(INSTALL)"
38 +        @echo "  copying $(PACKAGE) to $(INSTALL)"
39 +        mkdir -p $(INSTALL)
40 +        cp $(BUILD)/$(PACKAGE) $(INSTALL)
41 +        @echo "  copying libs to $(INSTALL)/lib"
42 +        mkdir -p $(INSTALL)/lib
43 +        cp $(LIBDIR)/*.jar $(INSTALL)/lib
44 +        @echo "  copying etc to $(INSTALL)/etc"
45 +        mkdir -p $(INSTALL)/etc
46 +        cp $(BUILD)/etc/default.properties $(INSTALL)/etc
47 +        cp $(BUILD)/etc/*.conf $(INSTALL)/etc
48 +        @echo "Completed install to $(INSTALL)"
49 +        @echo "-------------------------------------------------------"
50 +
51 + cvsbuild :
52 +        cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE)
53 +        cd $(CVSBUILDTEMP) && ./configure
54 +        cd $(CVSBUILDTEMP) && $(MAKE) buildutil
55 +        cd $(CVSBUILDTEMP) && $(MAKE) build
56 +        cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT)
57 +        cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT)
58 +        cp $(CVSBUILDTEMP)/build/$(UTILPACKAGE) $(BUILD)
59 +
60 + javadoc : genidl
61 +        if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi
62 +        if test ! -d "$(DOCTMPDIR)"; then mkdir $(DOCTMPDIR); fi
63 +        cp -R $(SERVERROOT)/uk $(SERVERROOT)/$(DOCTMPDIR)
64 +        cp -R $(SERVERROOT)/idl/uk $(SERVERROOT)/$(DOCTMPDIR)
65 +        javadoc -d $(SERVERROOT)/$(DOCDIR) -sourcepath $(SERVERROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -author -version -private $(PKGLIST)
66 +        rm -Rf doctemp
67 +
68 + buildutil : genidl
69 +        cd uk/ac/ukc/iscream/util && $(MAKE) all
70 +        cd build && $(MAKE) packageutil
71 +
72 + include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines