mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-30 05:20:20 +02:00
makefile_base.mak: Re-order config sections so FREETYPE_CFLAGS works
TOOLS_DIR32 needs to be defined before this chunk
This commit is contained in:
parent
c6e558f947
commit
0330fc30dc
@ -112,9 +112,27 @@ ifeq ($(NO_MAKEFILE_DEPENDENCY),1)
|
|||||||
MAKEFILE_DEP :=
|
MAKEFILE_DEP :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
##
|
||||||
|
## Global config
|
||||||
|
##
|
||||||
|
|
||||||
|
TOOLS_DIR32 := ./obj-tools32
|
||||||
|
TOOLS_DIR64 := ./obj-tools64
|
||||||
|
DST_BASE := ./dist
|
||||||
|
DST_DIR := $(DST_BASE)/dist
|
||||||
|
|
||||||
# TODO Release/debug configuration
|
# TODO Release/debug configuration
|
||||||
INSTALL_PROGRAM_FLAGS :=
|
INSTALL_PROGRAM_FLAGS :=
|
||||||
|
|
||||||
|
# All top level goals. Lazy evaluated so they can be added below.
|
||||||
|
GOAL_TARGETS = $(GOAL_TARGETS_LIBS)
|
||||||
|
# Excluding goals like wine and dist that are either long running or slow per invocation
|
||||||
|
GOAL_TARGETS_LIBS =
|
||||||
|
# Targets that have to be asked for explicitly
|
||||||
|
OPTIONAL_TARGETS =
|
||||||
|
# Any explicit thing, superset
|
||||||
|
ALL_TARGETS =
|
||||||
|
|
||||||
##
|
##
|
||||||
## Platform-specific variables
|
## Platform-specific variables
|
||||||
##
|
##
|
||||||
@ -208,11 +226,6 @@ ifeq ($(OSX),1)
|
|||||||
LICENSE := $(SRCDIR)/dist.LICENSE.osx
|
LICENSE := $(SRCDIR)/dist.LICENSE.osx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TOOLS_DIR32 := ./obj-tools32
|
|
||||||
TOOLS_DIR64 := ./obj-tools64
|
|
||||||
DST_BASE := ./dist
|
|
||||||
DST_DIR := $(DST_BASE)/dist
|
|
||||||
|
|
||||||
FREETYPE := $(SRCDIR)/freetype2
|
FREETYPE := $(SRCDIR)/freetype2
|
||||||
FREETYPE_OBJ32 := ./obj-freetype32
|
FREETYPE_OBJ32 := ./obj-freetype32
|
||||||
FREETYPE_OBJ64 := ./obj-freetype64
|
FREETYPE_OBJ64 := ./obj-freetype64
|
||||||
@ -311,15 +324,6 @@ OBJ_DIRS := $(TOOLS_DIR32) $(TOOLS_DIR64) \
|
|||||||
$(OBJ_DIRS):
|
$(OBJ_DIRS):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
# All top level goals. Lazy evaluated so they can be added below.
|
|
||||||
GOAL_TARGETS = $(GOAL_TARGETS_LIBS)
|
|
||||||
# Excluding goals like wine and dist that are either long running or slow per invocation
|
|
||||||
GOAL_TARGETS_LIBS =
|
|
||||||
# Targets that have to be asked for explicitly
|
|
||||||
OPTIONAL_TARGETS =
|
|
||||||
# Any explicit thing, superset
|
|
||||||
ALL_TARGETS =
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## dist/install -- steps to finalize the install
|
## dist/install -- steps to finalize the install
|
||||||
##
|
##
|
||||||
|
Loading…
x
Reference in New Issue
Block a user