aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/comm.gmk14
1 files changed, 12 insertions, 2 deletions
diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk
index 1e568b83244..f0610635ad7 100644
--- a/mps/code/comm.gmk
+++ b/mps/code/comm.gmk
@@ -11,6 +11,7 @@
11# PARAMETERS 11# PARAMETERS
12# 12#
13# Assumes the following variables and definitions: 13# Assumes the following variables and definitions:
14# EXTRA_TARGETS a list of extra targets to build
14# CFLAGSCOMPILER a list of flags for all compilations 15# CFLAGSCOMPILER a list of flags for all compilations
15# CFLAGSSTRICT a list of flags for almost all compilations 16# CFLAGSSTRICT a list of flags for almost all compilations
16# CFLAGSLAX a list of flags for compilations which can't be as 17# CFLAGSLAX a list of flags for compilations which can't be as
@@ -67,6 +68,15 @@ ifndef CFLAGSOPT
67error "comm.gmk: CFLAGSOPT not defined" 68error "comm.gmk: CFLAGSOPT not defined"
68endif 69endif
69 70
71
72# EXTRA TARGETS
73#
74# Don't build eventsql by default (might not have sqlite3 installed),
75# but do build eventcnv and eventtxt.
76
77EXTRA_TARGETS ?= eventcnv eventtxt
78
79
70# 80#
71# %%PART: When adding a new part, add checks for the parameter with the 81# %%PART: When adding a new part, add checks for the parameter with the
72# sources for the new part. 82# sources for the new part.
@@ -212,7 +222,7 @@ all: mpmss sacss amcss amcsshe amsss amssshe segsmss awlut awluthe \
212 finalcv finaltest arenacv bttest teletest \ 222 finalcv finaltest arenacv bttest teletest \
213 abqtest cbstest btcv mv2test messtest steptest \ 223 abqtest cbstest btcv mv2test messtest steptest \
214 walkt0 zcoll zmess \ 224 walkt0 zcoll zmess \
215 eventcnv eventtxt eventsql \ 225 $(EXTRA_TARGETS) \
216 mps.a mpsplan.a 226 mps.a mpsplan.a
217 227
218 228
@@ -241,7 +251,7 @@ mpmss sacss amcss amcssth amcsshe amsss amssshe segsmss awlut awlutth \
241 walkt0 \ 251 walkt0 \
242 exposet0 \ 252 exposet0 \
243 zcoll zmess \ 253 zcoll zmess \
244 eventcnv eventtxt eventsql replay replaysw \ 254 $(EXTRA_TARGETS) replay replaysw \
245 mps.a mpsplan.a: phony 255 mps.a mpsplan.a: phony
246ifdef VARIETY 256ifdef VARIETY
247 $(MAKE) -f $(PFM).gmk TARGET=$@ variety 257 $(MAKE) -f $(PFM).gmk TARGET=$@ variety