[m-rev.] for review: ssdb compiler scaffolding

Peter Ross pro at missioncriticalit.com
Thu Oct 4 12:48:14 AEST 2007


On Wed, Oct 03, 2007 at 09:45:29PM +1000, Peter Ross wrote:
> On Wed, Oct 03, 2007 at 05:49:46PM +1000, Zoltan Somogyi wrote:
> > On 03-Oct-2007, Peter Ross <pro at missioncriticalit.com> wrote:
> > > ssdb/Mercury.options:
> > > ssdb/Mmakefile:
> > > ssdb/SSDB_FLAGS.in:
> > > 	Build system for ssdb directory.
> > 
> > You will also need .mgnuc_opts and .mgnuc_copts files.
> > 
> 
> I also needed to fix the bootcheck script.
> 

I made this change to Mmake.common last night not to Mmake.common.in.


===================================================================


Estimated hours taken: 0.25
Branches: main

Mmake.common.in:
	Handle the ALLOW_SSDB_PREFIX variable, so that
	the check_namespace target passes in the ssdb
	directory.


Index: Mmake.common.in
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmake.common.in,v
retrieving revision 1.93
diff -u -r1.93 Mmake.common.in
--- Mmake.common.in	5 Aug 2007 15:09:40 -0000	1.93
+++ Mmake.common.in	4 Oct 2007 02:44:02 -0000
@@ -332,16 +332,28 @@
 MDBCOMP_OBJ_PREFIX_EXPRS =
 endif
 
+ifeq ("$(ALLOW_SSDB_PREFIX)","yes")
+SSDB_MACRO_PREFIX_EXPRS = \
+	-e '^SSDB_'
+SSDB_OBJ_PREFIX_EXPRS = \
+	-e '^SSDB_' -e '^ssdb_'
+else
+SSDB_MACRO_PREFIX_EXPRS =
+SSDB_OBJ_PREFIX_EXPRS =
+endif
+
 MACRO_PREFIX_EXPRS = \
 	$(GEN_MACRO_PREFIX_EXPRS) \
 	$(LIB_MACRO_PREFIX_EXPRS) \
 	$(BROWSER_MACRO_PREFIX_EXPRS) \
-	$(MDBCOMP_MACRO_PREFIX_EXPRS)
+	$(MDBCOMP_MACRO_PREFIX_EXPRS) \
+	$(SSDB_MACRO_PREFIX_EXPRS)
 OBJ_PREFIX_EXPRS   = \
 	$(GEN_OBJ_PREFIX_EXPRS) \
 	$(LIB_OBJ_PREFIX_EXPRS) \
 	$(BROWSER_OBJ_PREFIX_EXPRS) \
-	$(MDBCOMP_OBJ_PREFIX_EXPRS)
+	$(MDBCOMP_OBJ_PREFIX_EXPRS) \
+	$(SSDB_OBJ_PREFIX_EXPRS)
 
 HEADER_CLEAN_FILTER = \
 	grep -v $(MACRO_PREFIX_EXPRS) | fgrep -v -x -f RESERVED_MACRO_NAMES

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list