mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Fixed/updated flags to compile natively on Mac OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@15292 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9bd0686700
commit
e8da44cd6c
1 changed files with 6 additions and 11 deletions
|
@ -140,8 +140,9 @@ endif
|
|||
# $GNUSTEP_MAKEFILES/Additional/ to set the needed flags
|
||||
#
|
||||
ifeq ($(FOUNDATION_LIB),nx)
|
||||
FND_LDFLAGS = -framework Foundation
|
||||
FND_LIBS =
|
||||
# -framework Foundation is used both to find headers, and to link
|
||||
INTERNAL_OBJCFLAGS += -framework Foundation
|
||||
FND_LIBS = -framework Foundation
|
||||
FND_DEFINE = -DNeXT_Foundation_LIBRARY=1
|
||||
endif
|
||||
|
||||
|
@ -158,7 +159,6 @@ ifeq ($(FOUNDATION_LIB),fd)
|
|||
|
||||
GNUSTEP_FND_DIR = libFoundation
|
||||
FND_DEFINE = -DLIB_FOUNDATION_LIBRARY=1
|
||||
FND_LDFLAGS =
|
||||
FND_LIBS = -lFoundation
|
||||
|
||||
# If gc=yes was passed and libFoundation was compiled with Boehm's
|
||||
|
@ -184,14 +184,9 @@ GUI_LIBS =
|
|||
#
|
||||
ifeq ($(GUI_LIB),nx)
|
||||
GUI_DEFINE = -DNeXT_GUI_LIBRARY=1
|
||||
ifneq ($(INTERNAL_app_NAME),)
|
||||
# If we're building an application pass the following additional flags to
|
||||
# the linker
|
||||
GUI_LDFLAGS = -sectcreate __ICON __header $(INTERNAL_app_NAME).iconheader \
|
||||
-segprot __ICON r r -sectcreate __ICON app /NextLibrary/Frameworks/AppKit.framework/Resources/NSDefaultApplicationIcon.tiff \
|
||||
-framework AppKit
|
||||
GUI_LIBS =
|
||||
endif
|
||||
# -framework AppKit is used both to find headers, and to find the library
|
||||
INTERNAL_OBJCFLAGS += -framework AppKit
|
||||
GUI_LIBS = -framework AppKit
|
||||
endif
|
||||
|
||||
SYSTEM_INCLUDES = $(CONFIG_SYSTEM_INCL)
|
||||
|
|
Loading…
Reference in a new issue