aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-07-01 14:49:18 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 13:13:54 +0200
commitf387b628694c98982568b8fcb112dba855767bea (patch)
treec7f574db132f084c3298e37ec4871ddbbcb0d5c3 /lib/orber/test/Makefile
parentbbbd3314da94ebb87a872e3af1288f780a278faa (diff)
downloadotp-f387b628694c98982568b8fcb112dba855767bea.tar.gz
otp-f387b628694c98982568b8fcb112dba855767bea.tar.bz2
otp-f387b628694c98982568b8fcb112dba855767bea.zip
orber: Support parallel make
Diffstat (limited to 'lib/orber/test/Makefile')
-rw-r--r--lib/orber/test/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/lib/orber/test/Makefile b/lib/orber/test/Makefile
index b682bcf24b..996d0d1874 100644
--- a/lib/orber/test/Makefile
+++ b/lib/orber/test/Makefile
@@ -184,31 +184,17 @@ docs:
# Special Targets
# ----------------------------------------------------
-#
-# Each IDL file produces many target files so no pattern
-# rule can be used.
-#
-TGT_ORBER = \
- $(GEN_HRL_ORBER:%=$(IDLOUTDIR)/%) \
- $(GEN_MOD_ORBER:%=$(IDLOUTDIR)/%.erl)
-TGT_IIOP = \
- $(GEN_HRL_IIOP:%=$(IDLOUTDIR)/%) \
- $(GEN_MOD_IIOP:%=$(IDLOUTDIR)/%.erl)
-
-TGT_TEST_SERVER = \
- $(GEN_HRL_TEST_SERVER:%=$(IDLOUTDIR)/%) \
- $(GEN_MOD_TEST_SERVER:%=$(IDLOUTDIR)/%.erl)
-
-$(TGT_ORBER): orber_test.idl
+IDL-GENERATED: orber_test.idl iiop_test.idl orber_test_server.idl
erlc $(ERL_IDL_FLAGS) -o$(IDLOUTDIR) orber_test.idl
-
-$(TGT_IIOP): iiop_test.idl
erlc $(ERL_IDL_FLAGS) -o$(IDLOUTDIR) \
+'{preproc_flags,"-I../COSS/CosNaming"}' iiop_test.idl
-
-$(TGT_TEST_SERVER): orber_test_server.idl
erlc $(ERL_IDL_FLAGS) -o$(IDLOUTDIR) \
+'{cfgfile,"orber_test_server.cfg"}' orber_test_server.idl
+ >IDL-GENERATED
+
+$(GEN_FILES): IDL-GENERATED
+
+$(TARGET_FILES): IDL-GENERATED
# ----------------------------------------------------
# Release Targets