mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-19 21:27:39 +01:00
$(TOPDIR), make: Start new build architecture
Intermediate commit of half done transition to new build architecture.
This commit is contained in:
parent
fa41ecc8c4
commit
a702e5b714
9 changed files with 142 additions and 50 deletions
|
|
@ -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" ;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue