Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5/build/gmake.macosx/zip-lib.make
Show All 21 Lines | ifeq ($(config),release) | ||||
endif | endif | ||||
TARGETDIR = bin/Release | TARGETDIR = bin/Release | ||||
TARGET = $(TARGETDIR)/libzip-lib.a | TARGET = $(TARGETDIR)/libzip-lib.a | ||||
OBJDIR = obj/Release/zip-lib | OBJDIR = obj/Release/zip-lib | ||||
DEFINES += -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DN_FSEEKO -DHAVE_SSIZE_T_LIBZIP | DEFINES += -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DN_FSEEKO -DHAVE_SSIZE_T_LIBZIP | ||||
INCLUDES += -I../../contrib/libzip/include | INCLUDES += -I../../contrib/libzip/include | ||||
FORCE_INCLUDE += | FORCE_INCLUDE += | ||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES) | ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES) | ||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -w -mmacosx-version-min=10.4 | ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -w -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -w -fno-stack-protector -mmacosx-version-min=10.4 | ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -w -fno-stack-protector -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES) | ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES) | ||||
LIBS += | LIBS += | ||||
LDDEPS += | LDDEPS += | ||||
ALL_LDFLAGS += $(LDFLAGS) -mmacosx-version-min=10.4 | ALL_LDFLAGS += $(LDFLAGS) -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS) | LINKCMD = $(AR) -rcs "$@" $(OBJECTS) | ||||
define PREBUILDCMDS | define PREBUILDCMDS | ||||
endef | endef | ||||
define PRELINKCMDS | define PRELINKCMDS | ||||
endef | endef | ||||
define POSTBUILDCMDS | define POSTBUILDCMDS | ||||
endef | endef | ||||
all: prebuild prelink $(TARGET) | all: prebuild prelink $(TARGET) | ||||
Show All 13 Lines | ifeq ($(config),debug) | ||||
endif | endif | ||||
TARGETDIR = bin/Debug | TARGETDIR = bin/Debug | ||||
TARGET = $(TARGETDIR)/libzip-lib.a | TARGET = $(TARGETDIR)/libzip-lib.a | ||||
OBJDIR = obj/Debug/zip-lib | OBJDIR = obj/Debug/zip-lib | ||||
DEFINES += -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -D_DEBUG -DN_FSEEKO -DHAVE_SSIZE_T_LIBZIP | DEFINES += -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -D_DEBUG -DN_FSEEKO -DHAVE_SSIZE_T_LIBZIP | ||||
INCLUDES += -I../../contrib/libzip/include | INCLUDES += -I../../contrib/libzip/include | ||||
FORCE_INCLUDE += | FORCE_INCLUDE += | ||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES) | ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES) | ||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -w -mmacosx-version-min=10.4 | ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -w -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g -w -mmacosx-version-min=10.4 | ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g -w -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES) | ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES) | ||||
LIBS += | LIBS += | ||||
LDDEPS += | LDDEPS += | ||||
ALL_LDFLAGS += $(LDFLAGS) -mmacosx-version-min=10.4 | ALL_LDFLAGS += $(LDFLAGS) -mmacosx-version-min=$(MIN_OSX_VERSION) | ||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS) | LINKCMD = $(AR) -rcs "$@" $(OBJECTS) | ||||
define PREBUILDCMDS | define PREBUILDCMDS | ||||
endef | endef | ||||
define PRELINKCMDS | define PRELINKCMDS | ||||
endef | endef | ||||
define POSTBUILDCMDS | define POSTBUILDCMDS | ||||
endef | endef | ||||
all: prebuild prelink $(TARGET) | all: prebuild prelink $(TARGET) | ||||
▲ Show 20 Lines • Show All 826 Lines • ▼ Show 20 Lines | |||||
else | else | ||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR)) | $(SILENT) mkdir $(subst /,\\,$(OBJDIR)) | ||||
endif | endif | ||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<" | $(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<" | ||||
-include $(OBJECTS:%.o=%.d) | -include $(OBJECTS:%.o=%.d) | ||||
ifneq (,$(PCH)) | ifneq (,$(PCH)) | ||||
-include $(OBJDIR)/$(notdir $(PCH)).d | -include $(OBJDIR)/$(notdir $(PCH)).d | ||||
endif | endif | ||||
No newline at end of file |
Wildfire Games · Phabricator