summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am.plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-04 19:25:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-01-21 14:51:33 +0100
commit21a5cd6d814a913df4cd17b12a7feb5397d65179 (patch)
tree6d8c4a719c5b14abbeb041b389f0418cff68f151 /plugingui/Makefile.am.plugingui
parentea6883e9ba851db5e6557b1d71d1268f6ab25c64 (diff)
Cocoa for the masses.
Diffstat (limited to 'plugingui/Makefile.am.plugingui')
-rw-r--r--plugingui/Makefile.am.plugingui13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index d790f64..22ca3d9 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -58,17 +58,24 @@ PLUGIN_GUI_CPPFLAGS = \
-DLODEPNG_NO_COMPILE_CPP
if ENABLE_X11
-PLUGIN_GUI_SOURCES += $(top_srcdir)/plugingui/nativewindow_x11.cc
+PLUGIN_GUI_SOURCES += \
+ $(top_srcdir)/plugingui/nativewindow_x11.cc
endif
if ENABLE_WIN32
-PLUGIN_GUI_SOURCES += $(top_srcdir)/plugingui/nativewindow_win32.cc
+PLUGIN_GUI_SOURCES += \
+ $(top_srcdir)/plugingui/nativewindow_win32.cc
endif
if ENABLE_PUGL
PLUGIN_GUI_SOURCES += \
$(top_srcdir)/plugingui/nativewindow_pugl.cc \
$(top_srcdir)/pugl/pugl/pugl_x11.c
-
PLUGIN_GUI_CPPFLAGS += -I$(top_srcdir)/pugl/pugl
endif
+
+if ENABLE_COCOA
+PLUGIN_GUI_SOURCES += \
+ $(top_srcdir)/plugingui/nativewindow_cocoa.m \
+ $(top_srcdir)/plugingui/nativewindow_cocoa.cc
+endif