]> granicus.if.org Git - clang/commitdiff
Rename lib/Headers/module.map to module.modulemap
authorBen Langmuir <blangmuir@apple.com>
Thu, 17 Apr 2014 00:52:48 +0000 (00:52 +0000)
committerBen Langmuir <blangmuir@apple.com>
Thu, 17 Apr 2014 00:52:48 +0000 (00:52 +0000)
Don't install a file using the legacy spelling.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206431 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Modules.rst
lib/Headers/CMakeLists.txt
lib/Headers/Makefile
lib/Headers/module.modulemap [moved from lib/Headers/module.map with 100% similarity]

index eec0b774cf6894cef9e26f669a7c6f3577af1b09..183a8f208f661ca39f87bb91642eede98aaa229a 100644 (file)
@@ -839,7 +839,7 @@ Where To Learn More About Modules
 =================================
 The Clang source code provides additional information about modules:
 
-``clang/lib/Headers/module.map``
+``clang/lib/Headers/module.modulemap``
   Module map for Clang's compiler-specific header files.
 
 ``clang/test/Modules/``
index d0c26848a3a552b2f723455f93771323ed2eb991..23b2446cffeee518701b3354911e98f03be31296 100644 (file)
@@ -45,7 +45,7 @@ set(files
   xopintrin.h
   cpuid.h
   unwind.h
-  module.map
+  module.modulemap
   )
 
 set(output_dir ${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION}/include)
index 42219c4082be839fb08817d107464d49d4778ddc..903acacc8ac66808675e4fb64cae79875d3b4d5d 100644 (file)
@@ -32,13 +32,13 @@ $(HeaderDir)/arm_neon.h: $(BUILT_SOURCES) $(HeaderDir)/.dir
        $(Verb) cp $< $@
        $(Echo) Copying $(notdir $<) to build dir
 
-$(HeaderDir)/module.map: $(PROJ_SRC_DIR)/module.map $(HeaderDir)/.dir
+$(HeaderDir)/module.modulemap: $(PROJ_SRC_DIR)/module.modulemap $(HeaderDir)/.dir
        $(Verb) cp $< $@
        $(Echo) Copying $(notdir $<) to build dir
 
 
 # Hook into the standard Makefile rules.
-all-local:: $(OBJHEADERS) $(HeaderDir)/module.map
+all-local:: $(OBJHEADERS) $(HeaderDir)/module.modulemap
 
 PROJ_headers := $(DESTDIR)$(PROJ_prefix)/lib/clang/$(CLANG_VERSION)/include
 
@@ -52,12 +52,12 @@ $(INSTHEADERS): $(PROJ_headers)/%.h: $(HeaderDir)/%.h | $(PROJ_headers)
        $(Verb) $(DataInstall) $< $(PROJ_headers)
        $(Echo) Installing compiler include file: $(notdir $<)
 
-$(PROJ_headers)/module.map: $(HeaderDir)/module.map | $(PROJ_headers)
+$(PROJ_headers)/module.modulemap: $(HeaderDir)/module.modulemap | $(PROJ_headers)
        $(Verb) $(DataInstall) $< $(PROJ_headers)
        $(Echo) Installing compiler module map file: $(notdir $<)
 
 
-install-local:: $(INSTHEADERS) $(PROJ_headers)/module.map
+install-local:: $(INSTHEADERS) $(PROJ_headers)/module.modulemap
 
 $(ObjDir)/arm_neon.h.inc.tmp : $(CLANG_LEVEL)/include/clang/Basic/arm_neon.td $(CLANG_TBLGEN) $(ObjDir)/.dir
        $(Echo) "Building Clang arm_neon.h.inc with tblgen"