On Apple, only use -framework Foundation and -framework AppKit to link, not

to compile


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18044 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-11-03 22:40:14 +00:00
parent 5d2e55a4b7
commit 32b8e14eab
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Mon Nov 3 23:30:47 2003 Marcus Muller <znek@mulle-kybernetik.com>
* library-combo.make (INTERNAL_OBJCFLAGS): Do not add -framework
Foundation and -framework AppKit for Apple.
Mon Nov 3 23:25:07 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Instance/framework.make (build-framework): Do not build

View file

@ -159,8 +159,7 @@ ifeq ($(FOUNDATION_LIB), sun)
endif
ifeq ($(FOUNDATION_LIB), apple)
# -framework Foundation is used both to find headers, and to link
INTERNAL_OBJCFLAGS += -framework Foundation
# -framework Foundation is used only to link
FND_LIBS = -framework Foundation
FND_DEFINE = -DNeXT_Foundation_LIBRARY=1
LIBRARIES_DEPEND_UPON += -framework Foundation
@ -200,7 +199,7 @@ GUI_LIBS =
#
ifeq ($(GUI_LIB), nx)
GUI_DEFINE = -DNeXT_GUI_LIBRARY=1
# -framework AppKit is used both to find headers, and to find the library
# -framework AppKit is used both to find headers, and to link
INTERNAL_OBJCFLAGS += -framework AppKit
GUI_LIBS = -framework AppKit
LIBRARIES_DEPEND_UPON += -framework AppKit
@ -209,8 +208,7 @@ endif
ifeq ($(GUI_LIB), apple)
GUI_DEFINE = -DNeXT_GUI_LIBRARY=1
# -framework AppKit is used both to find headers, and to find the library
INTERNAL_OBJCFLAGS += -framework AppKit
# -framework AppKit is used only to link
GUI_LIBS = -framework AppKit
LIBRARIES_DEPEND_UPON += -framework AppKit
endif