From: Ben Langmuir Date: Thu, 17 Apr 2014 00:52:48 +0000 (+0000) Subject: Rename lib/Headers/module.map to module.modulemap X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f05339023653484ae706c00594778674c95c6210;p=clang Rename lib/Headers/module.map to module.modulemap 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 --- diff --git a/docs/Modules.rst b/docs/Modules.rst index eec0b774cf..183a8f208f 100644 --- a/docs/Modules.rst +++ b/docs/Modules.rst @@ -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/`` diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt index d0c26848a3..23b2446cff 100644 --- a/lib/Headers/CMakeLists.txt +++ b/lib/Headers/CMakeLists.txt @@ -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) diff --git a/lib/Headers/Makefile b/lib/Headers/Makefile index 42219c4082..903acacc8a 100644 --- a/lib/Headers/Makefile +++ b/lib/Headers/Makefile @@ -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" diff --git a/lib/Headers/module.map b/lib/Headers/module.modulemap similarity index 100% rename from lib/Headers/module.map rename to lib/Headers/module.modulemap