[m-dev.] Diff: Minor tweak to extra installation dir stuff

Warwick Harvey wharvey at cs.monash.edu.au
Tue Jan 11 19:02:46 AEDT 2000


Estimated hours taken: 0.5

scripts/Mmake.vars.in:
	Pass the extra C include directories to mgnuc, in case there are
	header files installed there.

Index: scripts/Mmake.vars.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.vars.in,v
retrieving revision 1.29
diff -u -r1.29 Mmake.vars.in
--- scripts/Mmake.vars.in       1999/10/21 14:36:33     1.29
+++ scripts/Mmake.vars.in       2000/01/11 07:54:00
@@ -121,9 +121,10 @@
 
 MGNUC          = mgnuc
 ALL_MGNUCFLAGS = $(MGNUCFLAGS) $(EXTRA_MGNUCFLAGS) $(TARGET_MGNUCFLAGS) \
-                 $(ALL_CFLAGS)
+                 $(LIB_MGNUCFLAGS) $(ALL_CFLAGS)
 MGNUCFLAGS     =
 EXTRA_MGNUCFLAGS =
+LIB_MGNUCFLAGS = $(patsubst %,-I %,$(EXTRA_C_INCL_DIRS))
 
 ALL_CFLAGS     = $(CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CFLAGS)
 CFLAGS         =


--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list