gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use gnustep-make for SimpleWebKit on Mac


From: Yen-Ju Chen
Subject: Use gnustep-make for SimpleWebKit on Mac
Date: Thu, 12 Jul 2007 11:44:23 -0700

I use gnustep-make on Mac and GNUstep.
Here is a patch to make it work for SimpleWebKit.
I know there is a xcode project for Mac.
So developers can decide whether to use this patch.

Index: SWKBrowser/GNUmakefile
===================================================================
--- SWKBrowser/GNUmakefile      (revision 25328)
+++ SWKBrowser/GNUmakefile      (working copy)
@@ -2,8 +2,13 @@

APP_NAME = SWKBrowser

+ifeq ($(FOUNDATION_LIB), apple)
ADDITIONAL_GUI_LIBS += \
-       -lSimpleWebKit
+       -framework SimpleWebKit
+else
+ADDITIONAL_GUI_LIBS += \
+       -framework SimpleWebKit
+endif

SWKBrowser_OBJC_FILES = \
       main.m \
@@ -23,4 +28,4 @@

include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make
-
+-include GNUmakefile.postamble


And this is the SWKBrowser/GNUmakefile.postamble:

after-all::
ifeq ($(FOUNDATION_LIB), apple)
       @cp -f SWKBrowser-Info.plist $(APP_NAME).app/Contents/Info.plist
endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]