aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-08-08 13:26:45 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 13:26:45 +0200
commitd95f24d2d3921461fc1c57f15fbaee7a4f149df4 (patch)
tree93e8654badbe1812bd489b56f3ad184586045dc8 /lib/common_test/src
parent302b2a1bf0194ca81c7731699b75e4800f718955 (diff)
parent542edfc2e267ba50cc948bb525d945244cf931f9 (diff)
downloadotp-d95f24d2d3921461fc1c57f15fbaee7a4f149df4.tar.gz
otp-d95f24d2d3921461fc1c57f15fbaee7a4f149df4.tar.bz2
otp-d95f24d2d3921461fc1c57f15fbaee7a4f149df4.zip
Merge branch 'bjorn/parallel-make/OTP-9451' into major
* bjorn/parallel-make/OTP-9451: (28 commits) erl_interface: Support parallel make dialyzer: Remove special-case build in the top Makefile pcre: Rename Makefile.in to pcre.mk and include it cos*/src/Makefile: Support parallel make ic: Support parallel make orber: Support parallel make .gitignore: Ignore IDL-GENERATED public_key: Support parallel make ssh: Support parallel make os_mon: Support parallel make diameter: Support parallel make snmp: Support parallel make megaco: Support parallel make megaco/src/flex/Makefile.in: Support parallel make */c_src/Makefile*: Support parallel make eunit: Support parallel make gs: Support parallel make common_test Makefile: Support parallel make erts/emulator/Makefile.in: Support parallel make erts: Fix dependency generation ...
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile
index 84b122b5e4..f34adc0a65 100644
--- a/lib/common_test/src/Makefile
+++ b/lib/common_test/src/Makefile
@@ -39,8 +39,9 @@ RELSYSDIR = $(RELEASE_PATH)/lib/common_test-$(VSN)
# Target Specs
# ----------------------------------------------------
+PARSE_TRANSFORMS= $(EBIN)/ct_line.$(EMULATOR)
+
MODULES= \
- ct_line \
ct \
ct_logs \
ct_framework \
@@ -72,6 +73,7 @@ MODULES= \
ct_hooks_lock
TARGET_MODULES= $(MODULES:%=$(EBIN)/%)
+BEAM_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
ERL_FILES= $(MODULES:=.erl)
HRL_FILES = \
@@ -96,8 +98,9 @@ ERL_COMPILE_FLAGS += -pa ../ebin -I../include -I $(ERL_TOP)/lib/snmp/include/ \
# Targets
# ----------------------------------------------------
TARGET_FILES = \
+ $(PARSE_TRANSFORMS) \
$(GEN_ERL_FILES:%.erl=$(EBIN)/%.$(EMULATOR)) \
- $(MODULES:%=$(EBIN)/%.$(EMULATOR)) \
+ $(BEAM_FILES) \
$(APP_TARGET) $(APPUP_TARGET)
APP_FILE= common_test.app
@@ -125,6 +128,8 @@ $(APP_TARGET): $(APP_SRC) ../vsn.mk
$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
sed -e 's;%VSN%;$(VSN);' $< > $@
+$(BEAM_FILES): $(PARSE_TRANSFORMS)
+
# ----------------------------------------------------
# Release Target
# ----------------------------------------------------