ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
Revision: 1.17
Committed: Fri Feb 21 13:45:48 2003 UTC (21 years, 10 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -2 lines
Log Message:
Main change is making the use of jacorb.properties transparent to the end
user - something which should have been done with CorbaServices a long time
ago :-) Now a base jacorb.properties is included in the jar files, because
it's searched by the jacorb loading stuff. The only value outside of the
jar file is the naming service location, which can now be found in the
default.properties files.

The server and corbaservices assume that the naming services is running on
localhost on port 8052, which is ok for most normal things. If it's on a
different host the default.properties just needs fixing.

Also added a default.properties style thing to the corbaservices, and fixed
some bugs in the command line argument parsing.

Finally, fixed a bug with the make src target of all the Makefiles.

File Contents

# User Rev Content
1 tdb 1.2 # Makefile for build
2 tdb 1.17 # $Id: Makefile,v 1.16 2003/02/16 20:35:59 tdb Exp $
3 tdb 1.2
4     include ../Config.inc
5    
6     BUILDFILES = uk
7    
8 tdb 1.12 .PHONY : all
9 tdb 1.10 all : dist
10 tdb 1.2
11 tdb 1.12 .PHONY : clean
12 tdb 1.2 clean :
13     rm -Rf $(BUILDFILES)
14 tdb 1.11 rm -f $(PACKAGE)
15     rm -f $(CHANGELOG)
16 tdb 1.16 rm -f $(LICFILE)
17 tdb 1.10 rm -Rf $(DISTDIR)
18 tdb 1.13 rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE)
19     rm -f $(TARGZFILESIG) $(ZIPFILESIG)
20     rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE)
21     rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG)
22 tdb 1.11 rm -Rf $(DOCDIR) $(SRCDIR)
23 tdb 1.13 rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK)
24 tdb 1.2
25 tdb 1.12 .PHONY : package
26 tdb 1.7 package : $(PACKAGE)
27 tdb 1.2
28 tdb 1.12 $(PACKAGE) : $(IDLCHECK) $(MCOMPILECHECK)
29 tdb 1.11 rm -f $(PACKAGE)
30 tdb 1.2 @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
31     @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
32 tdb 1.17 jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) $(JACPROP)
33 tdb 1.2 rm -f MANIFEST_TMP
34 tdb 1.10
35 tdb 1.12 .PHONY : dist-bin
36 tdb 1.13 dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK)
37 tdb 1.10
38 tdb 1.12 .PHONY : dist
39     dist : $(MKDISTCHECK) $(MKDISTFILESCHECK)
40 tdb 1.10
41 tdb 1.12 .PHONY : mk-dist-bin
42 tdb 1.11 mk-dist-bin : $(MKDISTBINCHECK)
43     $(MKDISTBINCHECK) : $(PACKAGE) $(CHANGELOG)
44 tdb 1.10 if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
45     echo "CVS" > TAR_EXCLUDE_TMP
46     echo ".#*" >> TAR_EXCLUDE_TMP
47 tdb 1.15 tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc ChangeLog README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
48 tdb 1.10 rm -f TAR_EXCLUDE_TMP
49 tdb 1.11 @touch $(MKDISTBINCHECK)
50     @rm -f $(MKDISTFILESCHECK)
51 tdb 1.10
52 tdb 1.12 .PHONY : mk-dist
53 tdb 1.11 mk-dist : $(MKDISTCHECK)
54     $(MKDISTCHECK) : $(PACKAGE) $(JAVADOCCHECK) $(SRCCHECK) $(CHANGELOG)
55 tdb 1.10 if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi
56     echo "CVS" > TAR_EXCLUDE_TMP
57     echo ".#*" >> TAR_EXCLUDE_TMP
58     tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc src ChangeLog doc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - )
59     rm -f TAR_EXCLUDE_TMP
60 tdb 1.11 @touch $(MKDISTCHECK)
61     @rm -f $(MKDISTFILESCHECK)
62 tdb 1.10
63 tdb 1.12 .PHONY : mk-distfiles
64 tdb 1.11 mk-distfiles : $(MKDISTFILESCHECK)
65     $(MKDISTFILESCHECK) :
66 tdb 1.10 if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
67     tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR)
68     gzip -fv9 $(DISTDEST)/$(TARFILE)
69 tdb 1.13 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE)
70 tdb 1.10 zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/*
71 tdb 1.13 -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE)
72 tdb 1.11 @touch $(MKDISTFILESCHECK)
73 tdb 1.13
74     .PHONY : mk-distfiles-bin
75     mk-distfiles-bin : $(MKDISTFILESBINCHECK)
76     $(MKDISTFILESBINCHECK) :
77     if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi
78     tar -cvf $(DISTDEST)/$(BINTARFILE) $(DISTDIR)
79     gzip -fv9 $(DISTDEST)/$(BINTARFILE)
80     -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINTARGZFILE)
81     zip -r -9 $(DISTDEST)/$(BINZIPFILE) $(DISTDIR)/*
82     -$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINZIPFILE)
83     @touch $(MKDISTFILESBINCHECK)
84 tdb 1.2
85     include $(MKINC)