mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Re-add everything necessary for building and packaging jw-python. ldlibpath.mk is not strictly necessary, but might be with other Python packages backed by compiled C-code, so leave it in. Signed-off-by: Jan Lindemann <jan@janware.com>
28 lines
649 B
Makefile
28 lines
649 B
Makefile
.NOTPARALLEL:
|
|
|
|
all: do.all
|
|
install: do.install
|
|
clean: do.clean
|
|
distclean: do.distclean
|
|
|
|
include $(JWBDIR)/make/defs.mk
|
|
|
|
SUBDIRS ?= $(FIND_SUBDIRS)
|
|
|
|
ifeq ($(FORCE_REBUILD_CLEANDIRS),true)
|
|
SUBDIRS_ALL = $(SUBDIRS)
|
|
SUBDIRS_INSTALL = $(SUBDIRS)
|
|
else
|
|
SUBDIRS_ALL ?=
|
|
SUBDIRS_INSTALL ?=
|
|
endif
|
|
|
|
do.all:
|
|
set -e; for d in $(SUBDIRS_ALL); do make -wC $$d $*; done
|
|
|
|
do.install:
|
|
set -e; for d in $(SUBDIRS_INSTALL); do make -wC $$d $*; done
|
|
|
|
do.%:
|
|
set -e; for d in $(SUBDIRS); do make -wC $$d $*; done
|
|
$(RM) -rf $(TEXTCLEAN) $(CLEAN) *.done *~ .*.swp *.tmp core *.rep dirs-*.done
|