ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/Makefile
Revision: 1.6.2.8
Committed: Wed Dec 13 17:35:00 2000 UTC (23 years, 11 months ago) by tdb
Branch: SERVER_PACKAGEBUILD
Changes since 1.6.2.7: +5 -1 lines
Log Message:
Now has a "make distclean" which removes the configure created files, including
the libraries.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for server
2 tdb 1.6.2.8 # $Id: Makefile,v 1.6.2.7 2000/12/12 20:15:14 tdb1 Exp $
3 tdb 1.1
4 tdb 1.6.2.2 include Config.inc
5 tdb 1.1
6 tdb 1.6.2.6 all : build
7 tdb 1.1
8 tdb 1.6.2.6 idl :
9 tdb 1.6.2.1 cd idl && $(MAKE) idl
10    
11 tdb 1.6.2.6 buildidl : idl
12 tdb 1.6.2.2 cd idl && $(MAKE) build
13 tdb 1.1
14 tdb 1.6.2.5 code : buildidl
15 tdb 1.3 cd uk/ac/ukc/iscream && $(MAKE) all
16 tdb 1.1
17 tdb 1.6.2.6 build : code
18     cd build && $(MAKE) package
19    
20     run : build
21     cd build && java -jar iscream.jar
22    
23 tdb 1.1 clean :
24 tdb 1.3 cd idl && $(MAKE) clean
25 tdb 1.6.2.1 cd build && $(MAKE) clean
26 tdb 1.6.2.5 cd uk/ac/ukc/iscream && $(MAKE) clean
27 tdb 1.6.2.4 rm -Rf $(BUILDCHECK) $(IDLCHECK)
28 tdb 1.6.2.8
29     distclean : clean
30     rm -f $(CLPATH)
31     rm -f Config.inc
32 tdb 1.6.2.7
33     install : build
34     @echo "-------------------------------------------------------"
35     @echo "Installing to $(INSTALL)"
36     @echo " copying $(PACKAGE) to $(INSTALL)"
37     mkdir -p $(INSTALL)
38     cp $(BUILD)/$(PACKAGE) $(INSTALL)
39     @echo " copying libs to $(INSTALL)/lib"
40     mkdir -p $(INSTALL)/lib
41     cp $(LIBDIR)/*.jar $(INSTALL)/lib
42     @echo " copying etc to $(INSTALL)/etc"
43     mkdir -p $(INSTALL)/etc
44     cp $(BUILD)/etc/default.properties $(INSTALL)/etc
45     cp $(BUILD)/etc/*.conf $(INSTALL)/etc
46     @echo "Completed install to $(INSTALL)"
47     @echo "-------------------------------------------------------"
48 tdb 1.6.2.2
49     include $(MKINC)