commit
6fc8e07d62
|
@ -23,15 +23,11 @@ DEPDIR=.dep
|
|||
D=d
|
||||
MKDIR=mkdir -p
|
||||
|
||||
# note: these are defined by lazy expansions
|
||||
# as some parts of the makefiles change BINDIR, etc.
|
||||
# and expect INSTALL_BINDIR, etc. to stay in synch
|
||||
# (see `shellquote` in tools/Makefile)
|
||||
DESTDIR ?=
|
||||
INSTALL_BINDIR = $(DESTDIR)$(BINDIR)
|
||||
INSTALL_LIBDIR = $(DESTDIR)$(LIBDIR)
|
||||
INSTALL_STUBLIBDIR = $(DESTDIR)$(STUBLIBDIR)
|
||||
INSTALL_MANDIR = $(DESTDIR)$(MANDIR)
|
||||
INSTALL_BINDIR := $(DESTDIR)$(BINDIR)
|
||||
INSTALL_LIBDIR := $(DESTDIR)$(LIBDIR)
|
||||
INSTALL_STUBLIBDIR := $(DESTDIR)$(STUBLIBDIR)
|
||||
INSTALL_MANDIR := $(DESTDIR)$(MANDIR)
|
||||
|
||||
ifeq "$(UNIX_OR_WIN32)" "win32"
|
||||
FLEXDLL_SUBMODULE_PRESENT := $(wildcard $(ROOTDIR)/flexdll/Makefile)
|
||||
|
|
|
@ -18,13 +18,6 @@ ROOTDIR = ..
|
|||
|
||||
include $(ROOTDIR)/Makefile.common
|
||||
|
||||
ifeq ($(SYSTEM),unix)
|
||||
override define shellquote
|
||||
$i := $$(subst ",\",$$(subst $$$$,\$$$$,$$(subst `,\`,$i)))#")#
|
||||
endef
|
||||
$(foreach i,BINDIR LIBDIR STUBLIBDIR MANDIR,$(eval $(shellquote)))
|
||||
endif
|
||||
|
||||
DESTDIR ?=
|
||||
# Setup GNU make variables storing per-target source and target,
|
||||
# a list of installed tools, and a function to quote a filename for
|
||||
|
|
Loading…
Reference in New Issue