1 |
|
# Include Config for the server |
2 |
|
# $Id$ |
3 |
|
|
4 |
+ |
include $(SOURCEROOT)/Version.inc |
5 |
+ |
|
6 |
|
# Name of our dist |
7 |
|
DISTNAME = iscream_server |
8 |
|
|
9 |
|
# Location of the i-scream CVS Repository Root |
10 |
|
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
9 |
– |
CVSSERVERMODULE = cms/source/server |
11 |
|
|
12 |
|
# This will attempt to locate cvs, and return the path. |
13 |
|
CVS = `if test -x /usr/bin/cvs; then echo /usr/bin/cvs; else if test -x /usr/local/bin/cvs; then echo /usr/local/bin/cvs; else echo cvs; fi fi` |
28 |
|
LIBDIR = $(BUILD)/lib |
29 |
|
# Location of the main include |
30 |
|
MKINC = $(SOURCEROOT)/Makefile.inc |
31 |
+ |
# IDL directory |
32 |
+ |
IDLDIR = $(SOURCEROOT)/idl |
33 |
+ |
IDLFILE = $(IDLDIR)/iscream.idl |
34 |
|
|
31 |
– |
# cvs build temporary directory name |
32 |
– |
CVSBUILDTEMP = .cvsbuildtemp |
33 |
– |
|
35 |
|
# Compiler Information |
36 |
|
JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar |
37 |
|
JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:. |
48 |
|
CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar |
49 |
|
|
50 |
|
# CHECK Files (for dependencies) |
51 |
< |
IDLCHECK = $(SOURCEROOT)/.doneidl |
52 |
< |
BUILDCHECK = $(SOURCEROOT)/.donebuild |
52 |
< |
JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc |
51 |
> |
IDLCHECK = $(SOURCEROOT)/idl/.doneidl |
52 |
> |
MCOMPILECHECK = $(SOURCEROOT)/$(COMPILECHECK) |
53 |
|
SRCCHECK = $(SOURCEROOT)/.donesrc |
54 |
+ |
JAVADOCCHECK = $(SOURCEROOT)/.donejavadoc |
55 |
|
MKDISTCHECK = $(BUILD)/.donemkdist |
56 |
|
MKDISTBINCHECK = $(BUILD)/.donemkdistbin |
57 |
|
MKDISTFILESCHECK = $(BUILD)/.donemkdistfiles |
102 |
|
$(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \ |
103 |
|
$(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ |
104 |
|
$(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile |
105 |
+ |
# **FIXME** putting libs in build/lib, but probably shouldn't... |
106 |
|
|
107 |
|
# User configurable options - defaults |
106 |
– |
tag = HEAD |
107 |
– |
ver = HEAD |
108 |
|
dest = $(BUILD) |
109 |
|
prefix = /usr/local/$(DISTNAME) |
110 |
|
|
111 |
|
# Install Prefix |
112 |
|
INSTALL = $(prefix) |
113 |
– |
VERSION = $(ver) |
113 |
|
DISTDEST = $(dest) |
115 |
– |
CVSTAG = $(tag) |
114 |
|
|
115 |
|
# Archive extensions |
116 |
|
TAREXT = .tar |