mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
* Clean up all the shared library output on uninstall
* Provide the correct set of input directories to the TAGS target * Provide a CTAGS target for building Vi style ctags files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17688 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -482,7 +482,7 @@ $(DestSharedLib): $(libdir) $(LibName.LA)
|
|||||||
|
|
||||||
uninstall-local::
|
uninstall-local::
|
||||||
$(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
|
$(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
|
||||||
-$(Verb) $(RM) -f $(DestSharedLib)
|
-$(Verb) $(RM) -f $(libdir)/lib$(LIBRARYNAME).*
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -922,11 +922,25 @@ clean-all-local::
|
|||||||
-$(Verb) $(RM) -rf Debug Release Profile
|
-$(Verb) $(RM) -rf Debug Release Profile
|
||||||
|
|
||||||
# Build tags database for Emacs/Xemacs:
|
# Build tags database for Emacs/Xemacs:
|
||||||
tags:: TAGS
|
tags:: TAGS CTAGS
|
||||||
|
|
||||||
TAGS:
|
TAGS:
|
||||||
find include lib tools examples -name '*.cpp' -o -name '*.h' | \
|
find $(BUILD_SRC_ROOT)/include $(BUILD_SRC_ROOT)/lib \
|
||||||
|
$(BUILD_SRC_ROOT)/tools $(BUILD_SRC_ROOT)/examples \
|
||||||
|
$(BUILD_OBJ_ROOT)/include $(BUILD_OBJ_ROOT)/lib \
|
||||||
|
$(BUILD_OBJ_ROOT)/tools $(BUILD_OBJ_ROOT)/examples \
|
||||||
|
-name '*.cpp' -o -name '*.h' | \
|
||||||
$(ETAGS) $(ETAGSFLAGS) -
|
$(ETAGS) $(ETAGSFLAGS) -
|
||||||
|
|
||||||
|
CTAGS:
|
||||||
|
find $(BUILD_SRC_ROOT)/include $(BUILD_SRC_ROOT)/lib \
|
||||||
|
$(BUILD_SRC_ROOT)/tools $(BUILD_SRC_ROOT)/examples \
|
||||||
|
$(BUILD_OBJ_ROOT)/include $(BUILD_OBJ_ROOT)/lib \
|
||||||
|
$(BUILD_OBJ_ROOT)/tools $(BUILD_OBJ_ROOT)/examples \
|
||||||
|
\( -name '*.cpp' -o -name '*.h' \) -print | \
|
||||||
|
ctags -ImtT -o $(BUILD_OBJ_ROOT)/CTAGS -L -
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# DEPENDENCIES: Include the dependency files if we should
|
# DEPENDENCIES: Include the dependency files if we should
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Reference in New Issue
Block a user