Advertisement
Guest User

Untitled

a guest
Nov 27th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 17.04 KB | None | 0 0
  1. # -*- Makefile -*-
  2. #----------------------------------------------------------------------------
  3. #       GNU Makefile
  4. #
  5. # @file GNUmakefile.Messenger_Idl
  6. #
  7. # $Id: gnu.mpd 2977 2018-04-10 16:37:59Z mitza $
  8. #
  9. # This file was automatically generated by MPC.  Any changes made directly to
  10. # this file will be lost the next time it is generated.
  11. #
  12. #----------------------------------------------------------------------------
  13. MAKEFILE         = GNUmakefile.Messenger_Idl
  14. DEPENDENCY_FILE  = .depend.Messenger_Idl
  15.  
  16. IDL_DEPENDENCY_FILE1 = .depend.Messenger_Idl_Idl1
  17. IDL_DEPENDENCY_FILE2 = .depend.Messenger_Idl_Idl2
  18.  
  19. IDL_DEPENDENCY_FILES += \
  20.     .depend.Messenger_Idl_Idl1 \
  21.     .depend.Messenger_Idl_Idl2
  22.  
  23. LIB_PREFIX      ?= lib
  24.  
  25. TAO_ROOT  ?= $(ACE_ROOT)/TAO
  26.  
  27. FILES = \
  28.  
  29. IDL_DEPS_FLAGS1 = -DGEN_IDL_MAKE_DEPS
  30. IDL_DEPS1 = MessengerTypeSupport.idl
  31.  
  32. IDL_DEPS_FLAGS2 = -DGEN_IDL_MAKE_DEPS
  33. IDL_DEPS2 = Messenger.idl
  34.  
  35.  
  36.  
  37. LIBPATHS := . "$(ACE_ROOT)/lib" "../../../lib"
  38.  
  39. #----------------------------------------------------------------------------
  40. #       Include macros and targets
  41. #----------------------------------------------------------------------------
  42. TAO_IDL = $(ACE_ROOT)/bin/tao_idl
  43. TAO_IDL_DEP = $(ACE_ROOT)/bin/tao_idl$(EXEEXT)
  44. TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT)$(if $(ARCH), -g $(call ADD_QUOTE,$(call ADD_ARCH,$(ACE_ROOT)/bin/ace_gperf)))
  45.  
  46. PRJ_TYPE = library
  47.  
  48. COLLAPSE_SLASHES = $(if $(findstring //,$(1)),$(call COLLAPSE_SLASHES,$(subst //,/,$(1))),$(1))
  49. INSLIB ?= $(call COLLAPSE_SLASHES,.)
  50. ifeq ($(INSLIB),.)
  51.   ifeq ($(CURDIR),)
  52.     ifeq ($(PWD),)
  53.       PWD=$(shell pwd)
  54.     endif
  55.   else
  56.     PWD=$(CURDIR)
  57.   endif
  58.   INSLIB = $(PWD)
  59. endif
  60. OUTPUT_DIRECTORY = $(INSLIB)
  61.  
  62. include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
  63.  
  64. include $(DDS_ROOT)/rules.dds.GNU
  65.  
  66. include $(TAO_ROOT)/rules.tao.GNU
  67.  
  68. GNUACE_PROJECT_VERSION ?= $(ACE_VERSION)
  69.  
  70. # To build multiple targets in the same directory on AIX, it works
  71. # best to have a template directory per project.
  72. # The compiler/linker isn't too smart about instantiating templates...
  73. ifdef TEMPINCDIR
  74. TEMPINCDIR := $(TEMPINCDIR)/Messenger_Idl
  75. all: $(TEMPINCDIR)
  76. endif
  77.  
  78. ifneq ($(OUTPUT_DIRECTORY),)
  79. .PHONY: create_output_directory.local
  80. all: create_output_directory.local
  81. create_output_directory.local:
  82.     -@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR)
  83. endif
  84.  
  85. LIBCHECK = 1
  86. ifeq ($(no_opendds_safety_profile),1)
  87. ifneq ($(LIBCHECK), 1)
  88.   all: lib_warning
  89. endif
  90. else
  91.   all: require_warning
  92. endif
  93.  
  94. ifeq ($(no_opendds_safety_profile),1)
  95. else
  96.   all: require_warning
  97. endif
  98.  
  99. include $(ACE_ROOT)/include/makeinclude/macros.GNU
  100. include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
  101. include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
  102. include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
  103. ifeq ($(VXWORKSLINK),1)
  104. include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE)
  105. endif
  106.  
  107. ifeq ($(VXWORKSLINK),1)
  108. LDLIBPATH     = -L. -L$(ACE_ROOT)/lib -L../../../lib
  109. else
  110. LDFLAGS      += -L. $(if $(ARCH),-L./$(ARCH)) -L$(ACE_ROOT)/lib $(if $(ARCH),-L$(ACE_ROOT)/lib/$(ARCH)) -L../../../lib $(if $(ARCH),-L../../../lib/$(ARCH))
  111. endif
  112. CPPFLAGS     += -I$(ACE_ROOT) -I$(TAO_ROOT) -I../../..
  113. ifeq ($(static_libs),1)
  114.   CPPFLAGS += -DACE_AS_STATIC_LIBS -DTAO_AS_STATIC_LIBS
  115. endif
  116.  
  117. #----------------------------------------------------------------------------
  118. #       Local targets
  119. #----------------------------------------------------------------------------
  120. lib_warning:
  121.     @echo Messenger_Idl will not be built due to the following missing library: $(LIBCHECK) >&2
  122.  
  123. ifneq ($(no_opendds_safety_profile),1)
  124. requires_disabled_macros += no_opendds_safety_profile
  125. endif
  126. require_warning:
  127.     @echo Messenger_Idl will not be built due to the following disabled make macros: $(requires_disabled_macros)>&2
  128.  
  129. ## Some OS's have /bin/test others only have /usr/bin/test
  130. ifeq ($(wildcard /bin/test), /bin/test)
  131.   TEST_EXE = /bin/test
  132. else
  133. ifeq ($(wildcard /usr/bin/test), /usr/bin/test)
  134.   TEST_EXE = /usr/bin/test
  135. endif
  136. endif
  137.  
  138. SPACE = $(should_be_unset) $(should_be_unset)
  139. export DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  140. export LD_LIBRARY_PATH   := $(LD_LIBRARY_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  141. export SHLIB_PATH        := $(SHLIB_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  142. export LIBPATH           := $(LIBPATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  143. export PATH              := $(PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  144.  
  145. GENERATED_DIRTY += MessengerTypeSupportC.cpp MessengerTypeSupportS.cpp MessengerTypeSupportS.h MessengerTypeSupportC.h MessengerTypeSupportC.inl
  146. OBJS_DEPEND_ON_GENERATED = 1
  147. ## More than one file is generated by the command and therefore
  148. ## it can not be run in parallel.  Unfortunately, there is no way to
  149. ## say that only this rule can't be run in parallel.  However, we can
  150. ## determine if the generated files have already been generated.  If that's
  151. ## the case, then we don't need this special rule.
  152. ifeq ($(wildcard $(GENERATED_DIRTY)), $(GENERATED_DIRTY))
  153.   ## If we can find /bin/test, then we will continue
  154.   ifneq ($(TEST_EXE),)
  155.     ## If all of the generated files are there, then we need to check
  156.     ## and make sure that the generated files are up-to-date.  If they are not
  157.     ## then we need the special rule.
  158.     ifeq ($(shell $(TEST_EXE) "MessengerTypeSupport.idl" -nt "MessengerTypeSupportC.cpp" 2> /dev/null || $(TEST_EXE) "MessengerTypeSupport.idl" -nt "MessengerTypeSupportS.cpp" 2> /dev/null || $(TEST_EXE) "MessengerTypeSupport.idl" -nt "MessengerTypeSupportS.h" 2> /dev/null || $(TEST_EXE) "MessengerTypeSupport.idl" -nt "MessengerTypeSupportC.h" 2> /dev/null || $(TEST_EXE) "MessengerTypeSupport.idl" -nt "MessengerTypeSupportC.inl" 2> /dev/null || echo 0),)
  159.       .NOTPARALLEL:
  160.  
  161.     else
  162.       ## By this point, all of the generated files are here and up-to-date
  163.       ## with respect to the source file.  Now we need to make sure that
  164.       ## they are up-to-date with respect to the generation tool.  If the tool
  165.       ## is newer than the generated files, then we need the special rule.
  166.       ifeq ($(shell $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerTypeSupportC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerTypeSupportS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerTypeSupportS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerTypeSupportC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerTypeSupportC.inl" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerTypeSupportC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerTypeSupportS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerTypeSupportS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerTypeSupportC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerTypeSupportC.inl" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerTypeSupportC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerTypeSupportS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerTypeSupportS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerTypeSupportC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerTypeSupportC.inl" 2> /dev/null || echo 0),)
  167.         .NOTPARALLEL:
  168.       endif
  169.     endif
  170.   else
  171.     .NOTPARALLEL:
  172.   endif
  173. else
  174. .NOTPARALLEL:
  175. endif
  176. MessengerTypeSupportC.cpp MessengerTypeSupportS.cpp MessengerTypeSupportS.h MessengerTypeSupportC.h MessengerTypeSupportC.inl: MessengerTypeSupport.idl $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(TAO_IDL_DEP)))
  177.     $(if $(findstring ",$(TAO_IDL)),$(TAO_IDL),$(call ADD_QUOTE,$(call ADD_ARCH,$(TAO_IDL)))) $(TAO_IDLFLAGS) -Sa -St -I../../.. MessengerTypeSupport.idl
  178.  
  179.  
  180. ifneq ($(static_libs_only),1)
  181. ifneq ($(CROSS-COMPILE),1)
  182. MessengerTypeSupportC.cpp MessengerTypeSupportS.cpp MessengerTypeSupportS.h MessengerTypeSupportC.h MessengerTypeSupportC.inl: $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))) $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT)))
  183. endif
  184. endif
  185.  
  186. GENERATED_DIRTY += MessengerC.cpp MessengerS.cpp MessengerS.h MessengerC.h MessengerC.inl
  187. OBJS_DEPEND_ON_GENERATED = 1
  188. ## More than one file is generated by the command and therefore
  189. ## it can not be run in parallel.  Unfortunately, there is no way to
  190. ## say that only this rule can't be run in parallel.  However, we can
  191. ## determine if the generated files have already been generated.  If that's
  192. ## the case, then we don't need this special rule.
  193. ifeq ($(wildcard $(GENERATED_DIRTY)), $(GENERATED_DIRTY))
  194.  ## If we can find /bin/test, then we will continue
  195.  ifneq ($(TEST_EXE),)
  196.    ## If all of the generated files are there, then we need to check
  197.    ## and make sure that the generated files are up-to-date.  If they are not
  198.    ## then we need the special rule.
  199.    ifeq ($(shell $(TEST_EXE) "Messenger.idl" -nt "MessengerC.cpp" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerS.cpp" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerS.h" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerC.h" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerC.inl" 2> /dev/null || echo 0),)
  200.      .NOTPARALLEL:
  201.  
  202.    else
  203.      ## By this point, all of the generated files are here and up-to-date
  204.      ## with respect to the source file.  Now we need to make sure that
  205.      ## they are up-to-date with respect to the generation tool.  If the tool
  206.      ## is newer than the generated files, then we need the special rule.
  207.      ifeq ($(shell $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(TAO_IDL_DEP))" -nt "MessengerC.inl" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))" -nt "MessengerC.inl" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerC.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerS.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerS.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerC.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT))" -nt "MessengerC.inl" 2> /dev/null || echo 0),)
  208.        .NOTPARALLEL:
  209.      endif
  210.    endif
  211.  else
  212.    .NOTPARALLEL:
  213.  endif
  214. else
  215. .NOTPARALLEL:
  216. endif
  217. MessengerC.cpp MessengerS.cpp MessengerS.h MessengerC.h MessengerC.inl: Messenger.idl $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(TAO_IDL_DEP)))
  218.     $(if $(findstring ",$(TAO_IDL)),$(TAO_IDL),$(call ADD_QUOTE,$(call ADD_ARCH,$(TAO_IDL)))) $(TAO_IDLFLAGS) -Sa -St -I../../.. Messenger.idl
  219.  
  220.  
  221. ifneq ($(static_libs_only),1)
  222. ifneq ($(CROSS-COMPILE),1)
  223. MessengerC.cpp MessengerS.cpp MessengerS.h MessengerC.h MessengerC.inl: $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_BE.$(SOEXT))) $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(ACE_ROOT)/lib/$(LIB_PREFIX)TAO_IDL_FE.$(SOEXT)))
  224. endif
  225. endif
  226.  
  227. export DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  228. export LD_LIBRARY_PATH   := $(LD_LIBRARY_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  229. export SHLIB_PATH        := $(SHLIB_PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  230. export LIBPATH           := $(LIBPATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  231. export PATH              := $(PATH):$(ACE_ROOT)/lib$(if $(ARCH),:$(ACE_ROOT)/lib/$(ARCH))
  232.  
  233. GENERATED_DIRTY += MessengerTypeSupportImpl.cpp MessengerTypeSupportImpl.h MessengerTypeSupport.idl
  234. OBJS_DEPEND_ON_GENERATED = 1
  235. ## More than one file is generated by the command and therefore
  236. ## it can not be run in parallel.  Unfortunately, there is no way to
  237. ## say that only this rule can't be run in parallel.  However, we can
  238. ## determine if the generated files have already been generated.  If that's
  239. ## the case, then we don't need this special rule.
  240. ifeq ($(wildcard $(GENERATED_DIRTY)), $(GENERATED_DIRTY))
  241.   ## If we can find /bin/test, then we will continue
  242.   ifneq ($(TEST_EXE),)
  243.     ## If all of the generated files are there, then we need to check
  244.     ## and make sure that the generated files are up-to-date.  If they are not
  245.     ## then we need the special rule.
  246.     ifeq ($(shell $(TEST_EXE) "Messenger.idl" -nt "MessengerTypeSupportImpl.cpp" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerTypeSupportImpl.h" 2> /dev/null || $(TEST_EXE) "Messenger.idl" -nt "MessengerTypeSupport.idl" 2> /dev/null || echo 0),)
  247.       .NOTPARALLEL:
  248.  
  249.     else
  250.       ## By this point, all of the generated files are here and up-to-date
  251.       ## with respect to the source file.  Now we need to make sure that
  252.       ## they are up-to-date with respect to the generation tool.  If the tool
  253.       ## is newer than the generated files, then we need the special rule.
  254.       ifeq ($(shell $(TEST_EXE) "$(call ADD_ARCH,$(OPENDDS_IDL_DEP))" -nt "MessengerTypeSupportImpl.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(OPENDDS_IDL_DEP))" -nt "MessengerTypeSupportImpl.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,$(OPENDDS_IDL_DEP))" -nt "MessengerTypeSupport.idl" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,../../../dds/idl/IDLTemplate.txt)" -nt "MessengerTypeSupportImpl.cpp" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,../../../dds/idl/IDLTemplate.txt)" -nt "MessengerTypeSupportImpl.h" 2> /dev/null || $(TEST_EXE) "$(call ADD_ARCH,../../../dds/idl/IDLTemplate.txt)" -nt "MessengerTypeSupport.idl" 2> /dev/null || echo 0),)
  255.         .NOTPARALLEL:
  256.       endif
  257.     endif
  258.   else
  259.     .NOTPARALLEL:
  260.   endif
  261. else
  262. .NOTPARALLEL:
  263. endif
  264. MessengerTypeSupportImpl.cpp MessengerTypeSupportImpl.h MessengerTypeSupport.idl: Messenger.idl $(subst $(SPACE),\$(SPACE),$(call ADD_ARCH,$(OPENDDS_IDL_DEP))) $(call ADD_ARCH,../../../dds/idl/IDLTemplate.txt)
  265.     $(if $(findstring ",$(OPENDDS_IDL)),$(OPENDDS_IDL),$(call ADD_QUOTE,$(call ADD_ARCH,$(OPENDDS_IDL)))) -Sa -St Messenger.idl
  266.  
  267.  
  268. ifneq ($(GENERATED_DIRTY),)
  269. .PRECIOUS: $(GENERATED_DIRTY)
  270. ifeq ($(no_opendds_safety_profile),1)
  271. all: $(GENERATED_DIRTY)
  272. endif
  273. endif
  274.  
  275. ADDITIONAL_IDL_TARGETS += MessengerTypeSupport$(IDL_CLIENT_HDR_EXT) Messenger$(IDL_CLIENT_HDR_EXT)
  276. idl_stubs: $(ADDITIONAL_IDL_TARGETS)
  277.  
  278. incremental_depend_idl::
  279.     @$(RM) $(IDL_DEPENDENCY_FILE1)_idl.old
  280.     @cp $(IDL_DEPENDENCY_FILE1) $(IDL_DEPENDENCY_FILE1)_idl.old
  281.     $(DEPGEN_ENV) $(DEPGEN) -A $(DEPEND_CMD_ARGS) -f $(IDL_DEPENDENCY_FILE1) \
  282.     $(IDL_DEPS_FLAGS1) -t gnuidl -DMAKEDEPEND $(IDL_DEPS1)
  283.     @if cmp -s $(IDL_DEPENDENCY_FILE1) $(IDL_DEPENDENCY_FILE1)_idl.old ;\
  284.     then echo "GNUmakefile idl dependencies unchanged for $(IDL_DEPS1)." ;\
  285.     else \
  286.         echo "GNUmakefile idl dependencies updated for $(IDL_DEPS1)." ;\
  287.     fi ;\
  288.     $(RM) $(IDL_DEPENDENCY_FILE1)_idl.old ;
  289.     @$(RM) $(IDL_DEPENDENCY_FILE2)_idl.old
  290.     @cp $(IDL_DEPENDENCY_FILE2) $(IDL_DEPENDENCY_FILE2)_idl.old
  291.     $(DEPGEN_ENV) $(DEPGEN) -A $(DEPEND_CMD_ARGS) -f $(IDL_DEPENDENCY_FILE2) \
  292.     $(IDL_DEPS_FLAGS2) -t gnuidl -DMAKEDEPEND $(IDL_DEPS2)
  293.     @if cmp -s $(IDL_DEPENDENCY_FILE2) $(IDL_DEPENDENCY_FILE2)_idl.old ;\
  294.     then echo "GNUmakefile idl dependencies unchanged for $(IDL_DEPS2)." ;\
  295.     else \
  296.         echo "GNUmakefile idl dependencies updated for $(IDL_DEPS2)." ;\
  297.     fi ;\
  298.     $(RM) $(IDL_DEPENDENCY_FILE2)_idl.old ;
  299.  
  300. realclean: clean
  301. ifneq ($(GENERATED_DIRTY),)
  302.     -$(RM) -r $(GENERATED_DIRTY)
  303. endif
  304.  
  305. __prebuild__:
  306. ifeq ($(no_opendds_safety_profile),1)
  307.     @-:
  308. endif
  309.  
  310.  
  311. .PHONY: install
  312. install: all
  313. INSTALL_LIB ?= lib
  314. ifneq ($(INSTALL_PREFIX),)
  315. ifneq ($(install_rpath),0)
  316. LD_RPATH ?= -Wl,-rpath,
  317. LDFLAGS += $(LD_RPATH)$(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
  318. endif
  319. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement