mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
This commit takes the MinGW cross compilation further into the direction of being a more general framework for cross compilation. Changed some variable names that are too specialized, notably MinGW tool chain directories, compilers, utilities. Signed-off-by: Jan Lindemann <jan@janware.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
TOPDIR = ..
|
|
|
|
CACHED_FILES := defs.mk projects.mk platform.mk Makefile
|
|
#CACHED_VARS = $(shell sed '/^[ \t]*\([A-Z_]\+\) *\(.=\).*$$.shell/!d; s/ *.=.*//' $(CACHED_FILES))
|
|
CACHED_VARS := WHICH BROWSER SED RM PWD ID CUT TR AWK GETENT XARGS FIND PRINTF HOST_TUPLE OS_NAME_VERSION OS_NAME CAT BIN_INSTALL SUDO
|
|
#CACHED_VARS += TARGET_ARCH RPM_ARCH
|
|
CACHED_VARS += TARGET_ARCH
|
|
#CACHED_VARS += DEVELOPMENT
|
|
|
|
include $(TOPDIR)/make/proj.mk
|
|
include $(MODDIR)/make/make.mk
|
|
ifneq ($(MAKECMDGOALS),install-links)
|
|
ifneq ($(MAKECMDGOALS),do-install-links)
|
|
include $(MODDIR)/make/dirs.mk
|
|
endif
|
|
endif
|
|
|
|
include $(MODDIR)/make/dev-utils.mk
|
|
#include $(MODDIR)/make/cache.mk
|
|
|
|
all:
|
|
|
|
ifeq ($(TARGET),mingw)
|
|
install: $(INSTALL_MAKEDIR)/winres.rc.tmpl
|
|
endif
|
|
|
|
grep-vars:
|
|
@sed '/^ *[A-Z]/!d; s/^[ ]*//g; s/[=+?:].*//g; s/[ ]*//g' *.mk | sort -u
|
|
|
|
$(INSTALL_MAKEDIR)/%.tmpl: %.tmpl $(TOPDIR)/dir_install_MAKE.done
|
|
$(INSTALL) -o $(MAKEOWNER) -g $(MAKEGROUP) -m $(MAKEMODE) $< $@A
|
|
|