-CY_EXECUTE :=
+CY_EXECUTE := 1
flags += -DCY_EXECUTE
code += sig/ffi_type.o sig/parse.o sig/copy.o
code += Execute.o Bridge.o
-export PATH := /usr/local/bin:$(PATH)
-include Execute.mk
-flags += -I/usr/local/include -I/usr/local/include/webkit-1.0
-library += -lwebkit-1.0
+export PATH := /usr/local/bin:/usr/local/GNUstep/System/Tools:$(PATH)
+include PkgConfig.mk
-export PATH := /usr/local/bin:$(PATH)
-
-ifneq ($(shell pkg-config webkit-1.0 --modversion 2>/dev/null),)
-flags += $(shell pkg-config --cflags webkit-1.0)
-library += -lwebkit-1.0
-include Execute.mk
-else
-ifneq ($(shell pkg-config WebKitGtk --modversion 2>/dev/null),)
-flags += $(shell pkg-config --cflags WebKitGtk)
-library += $(shell pkg-config --libs WebKitGtk)
-include Execute.mk
-endif
-endif
+include PkgConfig.mk
--- /dev/null
+ifneq ($(shell pkg-config webkit-1.0 --modversion 2>/dev/null),)
+flags += $(shell pkg-config --cflags webkit-1.0)
+library += -lwebkit-1.0
+include Execute.mk
+else
+ifneq ($(shell pkg-config WebKitGtk --modversion 2>/dev/null),)
+flags += $(shell pkg-config --cflags WebKitGtk)
+library += $(shell pkg-config --libs WebKitGtk)
+include Execute.mk
+endif
+endif