Bug 1319350 - Add dedicated targets for some one-offs in the build. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 22 Nov 2016 16:55:58 +0900
changeset 323944 4215cd6d8d55af24fc88999ade03261fa7ce56da
parent 323943 d4006c73e308002cfefc45512dff41d92da2e0a7
child 323945 a61bb944172549590e01b811d426b4d8eef0dd78
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersmshal
bugs1319350
milestone53.0a1
Bug 1319350 - Add dedicated targets for some one-offs in the build. r=mshal
accessible/interfaces/ia2/Makefile.in
accessible/interfaces/msaa/Makefile.in
ipc/ipdl/Makefile.in
--- a/accessible/interfaces/ia2/Makefile.in
+++ b/accessible/interfaces/ia2/Makefile.in
@@ -68,17 +68,19 @@ MIDL_UNUSED_GENERATED_FILES = \
   $(MIDL_LIBRARIES:%.idl=%.c) \
   $(NULL)
 
 EMBED_MANIFEST_AT = 2
 
 INSTALL_TARGETS += midl
 midl_FILES := $(filter %.h %_i.c,$(MIDL_GENERATED_FILES))
 midl_DEST = $(DIST)/include
-midl_TARGET := export
+midl_TARGET := midl
+
+export:: midl
 
 include $(topsrcdir)/config/rules.mk
 
 # generate list of to-be-generated files that are missing
 # but ignore special file dlldata.c
 missing:=$(strip $(foreach onefile,$(strip $(subst dlldata.c,,$(MIDL_GENERATED_FILES))),$(if $(wildcard $(onefile)),,$(onefile))))
 
 missing_base:=$(sort $(basename $(subst _p.c,,$(subst _i.c,,$(missing)))))
--- a/accessible/interfaces/msaa/Makefile.in
+++ b/accessible/interfaces/msaa/Makefile.in
@@ -42,9 +42,11 @@ midl_exports := \
     ISimpleDOMNode_i.c \
     ISimpleDOMText.h \
     ISimpleDOMText_i.c \
     $(NULL)
 
 INSTALL_TARGETS += midl_exports
 midl_exports_FILES := $(midl_exports)
 midl_exports_DEST = $(DIST)/include
-midl_exports_TARGET := export
+midl_exports_TARGET := midl
+
+export:: midl
--- a/ipc/ipdl/Makefile.in
+++ b/ipc/ipdl/Makefile.in
@@ -10,18 +10,22 @@ ifdef COMPILE_ENVIRONMENT
 # This file is generated by the moz.build backend.
 include ipdlsrcs.mk
 
 include $(topsrcdir)/config/rules.mk
 
 
 # NB: the IPDL compiler manages .ipdl-->.h/.cpp dependencies itself,
 # which is why we don't have explicit .h/.cpp targets here
-export:: $(ALL_IPDLSRCS)
+ipdl: $(ALL_IPDLSRCS)
 	$(PYTHON) $(topsrcdir)/config/pythonpath.py \
 	  $(PLY_INCLUDE) \
 	  $(srcdir)/ipdl.py \
 	  --outheaders-dir=_ipdlheaders \
 	  --outcpp-dir=. \
 	  $(IPDLDIRS:%=-I%) \
 	  $^
+
+.PHONY: ipdl
+
+export:: ipdl
 endif