Commit d0ede353 authored by Partha Bagchi's avatar Partha Bagchi Committed by Jehan

Bug 793169 - Current Makefile.am not working on Mac.

parent b5cc23bf
## Process this file with automake to produce Makefile.in
if PLATFORM_OSX
xobjective_c = "-xobjective-c"
endif
AM_CPPFLAGS = \
-DISO_CODES_LOCATION=\"$(ISO_CODES_LOCATION)\" \
-DISO_CODES_LOCALEDIR=\"$(ISO_CODES_LOCALEDIR)\" \
......@@ -10,7 +14,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/app \
$(GEGL_CFLAGS) \
$(GTK_CFLAGS) \
-I$(includedir)
-I$(includedir) \
$(xobjective_c)
noinst_LIBRARIES = libappwidgets.a
......
......@@ -4,6 +4,10 @@ AUTOMAKE_OPTIONS = subdir-objects
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
if PLATFORM_OSX
xobjective_c = "-xobjective-c"
endif
if OS_WIN32
bin_PROGRAMS = \
......@@ -113,7 +117,8 @@ AM_CPPFLAGS = \
-DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
-I$(includedir)
-I$(includedir) \
$(xobjective_c)
EXTRA_DIST = \
defcheck.py \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment