aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/app/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-06-30 10:47:37 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 11:59:12 +0200
commit7d461f371e2aa8268fc1b65472a5d98182b7e711 (patch)
tree5b0d02def4000bec50e2ae9de396790f947c9a0c /lib/diameter/src/app/Makefile
parent2c500da4ba53574e239fd18ee86bd87f802e4f9d (diff)
downloadotp-7d461f371e2aa8268fc1b65472a5d98182b7e711.tar.gz
otp-7d461f371e2aa8268fc1b65472a5d98182b7e711.tar.bz2
otp-7d461f371e2aa8268fc1b65472a5d98182b7e711.zip
diameter: Support parallel make
Diffstat (limited to 'lib/diameter/src/app/Makefile')
-rw-r--r--lib/diameter/src/app/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/diameter/src/app/Makefile b/lib/diameter/src/app/Makefile
index 6de220d282..31344fa80b 100644
--- a/lib/diameter/src/app/Makefile
+++ b/lib/diameter/src/app/Makefile
@@ -52,6 +52,14 @@ INCDIR = ../../include
include modules.mk
+diameter_gen_base_accounting.erl: \
+ $(EBIN)/diameter_gen_base_rfc3588.beam
+diameter_gen_relay.erl: \
+ $(EBIN)/diameter_gen_base_rfc3588.beam
+
+SPEC_MODULES = \
+ $(SPEC_FILES:%.dia=%)
+
SPEC_ERL_FILES = \
$(SPEC_FILES:%.dia=%.erl)
@@ -60,7 +68,7 @@ SPEC_HRL_FILES = \
APP_MODULES = \
$(MODULES) \
- $(SPEC_FILES:%.dia=%)
+ $(SPEC_MODULES)
TARGET_FILES = \
$(APP_MODULES:%=$(EBIN)/%.$(EMULATOR)) \
@@ -150,6 +158,7 @@ app: $(APP_TARGET) $(APPUP_TARGET)
diameter_gen_%.erl diameter_gen_%.hrl: diameter_gen_%.dia
../../bin/diameterc -i $(EBIN) -o $(@D) $<
+$(SPEC_MODULES:%=$(EBIN)/%.$(EMULATOR)): $(EBIN)/diameter_exprecs.$(EMULATOR)
# ----------------------------------------------------
# Release Target