$(TOPDIR), make: Start new build architecture

Intermediate commit of half done transition to new build
architecture.
This commit is contained in:
Jan Lindemann 2002-06-10 14:28:18 +00:00 committed by Jan Lindemann
commit a702e5b714
9 changed files with 142 additions and 50 deletions

View file

@ -74,6 +74,9 @@ $(INSTALL_HDRDIR) $(INSTALL_BINDIR) $(INSTALL_LIBDIR):
$(INSTALLED_LIB_SO) $(INSTALLED_LIB_A): $(INSTALL_LIBDIR)
$(INSTALLED_LINKS_SO) $(LINKS_SO):
cd $(dir $@); ln -sf $(notdir $(shell echo $@ | sed -e 's/\.so$$\|\.so.*$$//').$(SO_SUFFIX)) $(notdir $@)
#$(INSTALL_BINDIR)/%.bin: %.bin
# $(INSTALL) -o $(EXEOWNER) -g $(EXEGROUP) -m $(EXEMODE) $< $@
@ -92,7 +95,10 @@ $(INSTALL_LIBDIR)/%.$(SO_SUFFIX): %.$(SO_SUFFIX)
$(INSTALL_HDRDIR)/%.h: %.h
install -o $(HDROWNER) -g $(HDRGROUP) -m $(HDRMODE) $< $@
$(INSTALL_DOCDIR_DIST)/% $(INSTALL_DOCDIR_DEVEL)/%: %
mkdir -p $(dir $@)
install -o $(HDROWNER) -g $(HDRGROUP) -m $(HDRMODE) $< $@
checkroot:
@if [ "$(CHECK_ROOT)" = true -o "$(CHECK_ROOT)" = TRUE ] ; then \
echo "Error: You can only do this if either" ;\