trivial diff: link profiler with trace & browser libs
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Oct 24 03:21:18 AEST 1998
profiler/Mmakefile:
Link the profiler with the `trace' and `browser' libraries.
This is needed in case you try to build the profiler
with debugging enabled.
Index: profiler/Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/profiler/Mmakefile,v
retrieving revision 1.8
diff -u -r1.8 Mmakefile
--- Mmakefile 1998/09/29 05:10:50 1.8
+++ Mmakefile 1998/10/23 17:17:49
@@ -27,16 +27,19 @@
MERCURY_INT_DIR=$(LIBRARY_DIR) $(MC) --split-c-files -c
MGNUC = MERCURY_C_INCL_DIR=$(RUNTIME_DIR) $(SCRIPTS_DIR)/mgnuc
MGNUCFLAGS = $(EXTRA_MGNUCFLAGS) -I$(BOEHM_GC_DIR) $(EXTRA_CFLAGS)
-C2INIT = \
-MERCURY_MOD_LIB_MODS="$(RUNTIME_DIR)/$(RT_LIB_NAME).init $(LIBRARY_DIR)/$(STD_LIB_NAME).init" \
- MERCURY_MKINIT=$(UTIL_DIR)/mkinit $(SCRIPTS_DIR)/c2init
+C2INIT = MERCURY_MOD_LIB_MODS="$(BROWSER_DIR)/$(BROWSER_LIB_NAME).init $(
+LIBRARY_DIR)/$(STD_LIB_NAME).init $(RUNTIME_DIR)/$(RT_LIB_NAME).init" \
+ MERCURY_MKINIT=$(UTIL_DIR)/mkinit $(SCRIPTS_DIR)/c2init
ML = MERCURY_C_LIB_DIR=. $(SCRIPTS_DIR)/ml
MLFLAGS = --mercury-libs none $(EXTRA_MLFLAGS)
-MLLIBS = $(EXTRA_MLLIBS) $(LIBRARY_DIR)/lib$(STD_LIB_NAME).a \
+MLLIBS = $(EXTRA_MLLIBS) \
+ $(TRACE_DIR)/lib$(TRACE_LIB_NAME).a \
+ $(BROWSER_DIR)/lib$(BROWSER_LIB_NAME).a \
+ $(LIBRARY_DIR)/lib$(STD_LIB_NAME).a \
$(RUNTIME_DIR)/lib$(RT_LIB_NAME).a ` \
case $(GRADE) in \
- *.gc*.prof*) echo $(BOEHM_GC_DIR)/libgc_prof.a ;; \
- *.gc*) echo $(BOEHM_GC_DIR)/libgc.a ;; \
+ *.gc*.prof*) echo $(BOEHM_GC_DIR)/libgc_prof.a ;; \
+ *.gc*) echo $(BOEHM_GC_DIR)/libgc.a ;; \
esac \
` -lm
MSL = MERCURY_SP_LIB_DIR=$(LIBRARY_DIR) $(SCRIPTS_DIR)/msl
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list