mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Rename BUILD_* to PROJ_*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39865c052d
commit
bdf6a39d1c
@ -44,13 +44,13 @@ LEVEL := ../..
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
POD := $(wildcard $(BUILD_SRC_DIR)/*.pod)
|
POD := $(wildcard $(PROJ_SRC_DIR)/*.pod)
|
||||||
|
|
||||||
EXTRA_DIST := $(POD) index.html
|
EXTRA_DIST := $(POD) index.html
|
||||||
|
|
||||||
HTML = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.html, $(POD))
|
HTML = $(patsubst $(PROJ_SRC_DIR)/%.pod, $(PROJ_OBJ_DIR)/%.html, $(POD))
|
||||||
MAN = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.1, $(POD))
|
MAN = $(patsubst $(PROJ_SRC_DIR)/%.pod, $(PROJ_OBJ_DIR)/%.1, $(POD))
|
||||||
PS = $(patsubst $(BUILD_SRC_DIR)/%.pod, $(BUILD_OBJ_DIR)/%.ps, $(POD))
|
PS = $(patsubst $(PROJ_SRC_DIR)/%.pod, $(PROJ_OBJ_DIR)/%.ps, $(POD))
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .html .pod .1 .ps
|
.SUFFIXES: .html .pod .1 .ps
|
||||||
@ -59,30 +59,30 @@ $(HTML) : html/.dir man/.dir man/man1/.dir ps/.dir
|
|||||||
|
|
||||||
html: $(HTML)
|
html: $(HTML)
|
||||||
|
|
||||||
$(BUILD_OBJ_DIR)/%.html: %.pod
|
$(PROJ_OBJ_DIR)/%.html: %.pod
|
||||||
$(POD2HTML) --css=manpage.css --htmlroot=. --podpath=. \
|
$(POD2HTML) --css=manpage.css --htmlroot=. --podpath=. \
|
||||||
--noindex --infile=$< --outfile=$@ --title=$*
|
--noindex --infile=$< --outfile=$@ --title=$*
|
||||||
|
|
||||||
$(BUILD_OBJ_DIR)/%.1: %.pod
|
$(PROJ_OBJ_DIR)/%.1: %.pod
|
||||||
$(POD2MAN) --release=$(PACKAGE_VERSION) \
|
$(POD2MAN) --release=$(LLVMVersion) \
|
||||||
--center="LLVM Command Guide" $< $@
|
--center="LLVM Command Guide" $< $@
|
||||||
|
|
||||||
$(BUILD_OBJ_DIR)/%.ps: $(BUILD_OBJ_DIR)/%.1
|
$(PROJ_OBJ_DIR)/%.ps: $(PROJ_OBJ_DIR)/%.1
|
||||||
$(GROFF) -Tps -man $< > $@
|
$(GROFF) -Tps -man $< > $@
|
||||||
|
|
||||||
clean-local::
|
clean-local::
|
||||||
$(Verb) $(RM) -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
|
$(Verb) $(RM) -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
|
||||||
|
|
||||||
HTML_DIR := $(LLVM_DOCSDIR)/html/CommandGuide
|
HTML_DIR := $(PROJ_docsdir)/html/CommandGuide
|
||||||
MAN_DIR := $(LLVM_MANDIR)/man1
|
MAN_DIR := $(PROJ_mandir)/man1
|
||||||
PS_DIR := $(LLVM_DOCSDIR)/ps
|
PS_DIR := $(PROJ_docsdir)/ps
|
||||||
|
|
||||||
install-local:: $(HTML) $(MAN) $(PS)
|
install-local:: $(HTML) $(MAN) $(PS)
|
||||||
$(Echo) Installing HTML CommandGuide Documentation
|
$(Echo) Installing HTML CommandGuide Documentation
|
||||||
$(Verb) $(INSTALL) -d $(HTML_DIR)
|
$(Verb) $(INSTALL) -d $(HTML_DIR)
|
||||||
$(Verb) $(INSTALL) -C $(HTML) $(HTML_DIR)
|
$(Verb) $(INSTALL) -C $(HTML) $(HTML_DIR)
|
||||||
$(Verb) $(INSTALL) -C $(BUILD_SRC_DIR)/index.html $(HTML_DIR)
|
$(Verb) $(INSTALL) -C $(PROJ_SRC_DIR)/index.html $(HTML_DIR)
|
||||||
$(Verb) $(INSTALL) -C $(BUILD_SRC_DIR)/manpage.css $(HTML_DIR)
|
$(Verb) $(INSTALL) -C $(PROJ_SRC_DIR)/manpage.css $(HTML_DIR)
|
||||||
$(Echo) Installing MAN CommandGuide Documentation
|
$(Echo) Installing MAN CommandGuide Documentation
|
||||||
$(Verb) $(INSTALL) -d $(MAN_DIR)
|
$(Verb) $(INSTALL) -d $(MAN_DIR)
|
||||||
$(Verb) $(INSTALL) -C $(MAN) $(MAN_DIR)
|
$(Verb) $(INSTALL) -C $(MAN) $(MAN_DIR)
|
||||||
|
@ -12,9 +12,9 @@ DIRS := CommandGuide
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
HTML := $(wildcard $(BUILD_SRC_DIR)/*.html) \
|
HTML := $(wildcard $(PROJ_SRC_DIR)/*.html) \
|
||||||
$(wildcard $(BUILD_SRC_DIR)/*.css)
|
$(wildcard $(PROJ_SRC_DIR)/*.css)
|
||||||
IMAGES := $(wildcard $(BUILD_SRC_DIR)/img/*.*)
|
IMAGES := $(wildcard $(PROJ_SRC_DIR)/img/*.*)
|
||||||
DOXYFILES := doxygen.cfg.in doxygen.css doxygen.footer doxygen.header \
|
DOXYFILES := doxygen.cfg.in doxygen.css doxygen.footer doxygen.header \
|
||||||
doxygen.intro
|
doxygen.intro
|
||||||
EXTRA_DIST := $(HTML) $(DOXYFILES) llvm.css CommandGuide img
|
EXTRA_DIST := $(HTML) $(DOXYFILES) llvm.css CommandGuide img
|
||||||
@ -27,40 +27,40 @@ else
|
|||||||
install-local:: install-html
|
install-local:: install-html
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-html: $(BUILD_OBJ_DIR)/html.tar.gz
|
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
|
||||||
$(Echo) Installing HTML documentation
|
$(Echo) Installing HTML documentation
|
||||||
$(Verb) $(INSTALL) -d $(LLVM_DOCSDIR)/html
|
$(Verb) $(INSTALL) -d $(PROJ_docsdir)/html
|
||||||
$(Verb) $(INSTALL) -d $(LLVM_DOCSDIR)/html/img
|
$(Verb) $(INSTALL) -d $(PROJ_docsdir)/html/img
|
||||||
$(Verb) $(INSTALL) -C $(HTML) $(LLVM_DOCSDIR)/html
|
$(Verb) $(INSTALL) -C $(HTML) $(PROJ_docsdir)/html
|
||||||
$(Verb) $(INSTALL) -C $(IMAGES) $(LLVM_DOCSDIR)/html/img
|
$(Verb) $(INSTALL) -C $(IMAGES) $(PROJ_docsdir)/html/img
|
||||||
$(Verb) $(INSTALL) -C $(BUILD_OBJ_DIR)/html.tar.gz $(LLVM_DOCSDIR)
|
$(Verb) $(INSTALL) -C $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
|
||||||
|
|
||||||
$(BUILD_OBJ_DIR)/html.tar.gz: $(HTML)
|
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
|
||||||
$(Echo) Packaging HTML documentation
|
$(Echo) Packaging HTML documentation
|
||||||
$(Verb) $(RM) -rf $@ $(BUILD_OBJ_DIR)/html.tar
|
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/html.tar
|
||||||
$(Verb) cd $(BUILD_SRC_DIR) && \
|
$(Verb) cd $(PROJ_SRC_DIR) && \
|
||||||
$(TAR) cf $(BUILD_OBJ_DIR)/html.tar *.html
|
$(TAR) cf $(PROJ_OBJ_DIR)/html.tar *.html
|
||||||
$(Verb) $(GZIP) $(BUILD_OBJ_DIR)/html.tar
|
$(Verb) $(GZIP) $(PROJ_OBJ_DIR)/html.tar
|
||||||
|
|
||||||
install-doxygen: doxygen
|
install-doxygen: doxygen
|
||||||
$(Echo) Installing doxygen documentation
|
$(Echo) Installing doxygen documentation
|
||||||
$(Echo) Installing doxygen documentation
|
$(Echo) Installing doxygen documentation
|
||||||
$(Verb) $(INSTALL) -d $(LLVM_DOCSDIR)/html/doxygen
|
$(Verb) $(INSTALL) -d $(PROJ_docsdir)/html/doxygen
|
||||||
$(Verb) $(INSTALL) $(BUILD_OBJ_DIR)/doxygen.tar.gz $(LLVM_DOCSDIR)
|
$(Verb) $(INSTALL) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
|
||||||
$(Verb) cd $(BUILD_OBJ_DIR)/doxygen && \
|
$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
|
||||||
$(FIND) . -type f -exec \
|
$(FIND) . -type f -exec \
|
||||||
$(INSTALL) -C {} $(LLVM_DOCSDIR)/html/doxygen \;
|
$(INSTALL) -C {} $(PROJ_docsdir)/html/doxygen \;
|
||||||
|
|
||||||
doxygen: $(BUILD_OBJ_DIR)/doxygen.tar.gz
|
doxygen: $(PROJ_OBJ_DIR)/doxygen.tar.gz
|
||||||
|
|
||||||
$(BUILD_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(BUILD_OBJ_DIR)/doxygen.cfg
|
$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
|
||||||
$(Echo) Building doxygen documentation
|
$(Echo) Building doxygen documentation
|
||||||
$(Verb) if test -e $(BUILD_OBJ_DIR)/doxygen ; then \
|
$(Verb) if test -e $(PROJ_OBJ_DIR)/doxygen ; then \
|
||||||
$(RM) -rf $(BUILD_OBJ_DIR)/doxygen ; \
|
$(RM) -rf $(PROJ_OBJ_DIR)/doxygen ; \
|
||||||
fi
|
fi
|
||||||
$(Verb) $(DOXYGEN) $(BUILD_OBJ_DIR)/doxygen.cfg
|
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
|
||||||
$(Echo) Packaging doxygen documentation
|
$(Echo) Packaging doxygen documentation
|
||||||
$(Verb) $(RM) -rf $@ $(BUILD_OBJ_DIR)/doxygen.tar
|
$(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/doxygen.tar
|
||||||
$(Verb) $(TAR) cf $(BUILD_OBJ_DIR)/doxygen.tar doxygen
|
$(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen
|
||||||
$(Verb) $(GZIP) $(BUILD_OBJ_DIR)/doxygen.tar
|
$(Verb) $(GZIP) $(PROJ_OBJ_DIR)/doxygen.tar
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ BUILT_SOURCES = \
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
SparcV9.burg.in1 : $(BUILD_SRC_DIR)/SparcV9.burg.in
|
SparcV9.burg.in1 : $(PROJ_SRC_DIR)/SparcV9.burg.in
|
||||||
$(Echo) Pre-processing SparcV9.burg.in
|
$(Echo) Pre-processing SparcV9.burg.in
|
||||||
$(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
|
$(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ LEVEL=..
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
DIRS:= $(filter-out llvm-test,$(patsubst $(BUILD_SRC_DIR)/%/Makefile,%,$(wildcard $(BUILD_SRC_DIR)/*/Makefile)))
|
DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
|
||||||
|
|
||||||
# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
|
# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
|
||||||
ifeq ($(ARCH), Sparc)
|
ifeq ($(ARCH), Sparc)
|
||||||
@ -18,4 +18,4 @@ DIRS := $(filter-out Stacker, $(DIRS))
|
|||||||
DIRS := $(filter-out sample, $(DIRS))
|
DIRS := $(filter-out sample, $(DIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(BUILD_SRC_ROOT)/Makefile.rules
|
include $(PROJ_SRC_ROOT)/Makefile.rules
|
||||||
|
@ -22,4 +22,4 @@ ifneq ($(LLVM_ON_UNIX),1)
|
|||||||
PARALLEL_DIRS := $(filter-out bugpoint llvm-db,$(PARALLEL_DIRS))
|
PARALLEL_DIRS := $(filter-out bugpoint llvm-db,$(PARALLEL_DIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(BUILD_SRC_ROOT)/Makefile.rules
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|
||||||
|
@ -15,8 +15,8 @@ EXTRA_DIST = c cpp ll st
|
|||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
install::
|
install::
|
||||||
@$(ECHO) Installing additional C++ configuration clones
|
$(Echo) Installing additional C++ configuration clones
|
||||||
$(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cc
|
$(Verb)$(INSTALL) $(PROJ_OBJ_DIR)/cpp $(sysconfdir)/cc
|
||||||
$(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/c++
|
$(Verb)$(INSTALL) $(PROJ_OBJ_DIR)/cpp $(sysconfdir)/c++
|
||||||
$(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cxx
|
$(Verb)$(INSTALL) $(PROJ_OBJ_DIR)/cpp $(sysconfdir)/cxx
|
||||||
$(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/C
|
$(Verb)$(INSTALL) $(PROJ_OBJ_DIR)/cpp $(sysconfdir)/C
|
||||||
|
Loading…
Reference in New Issue
Block a user