2010-11-12 12:18:58 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
include $(top_srcdir)/Makefile.decl
|
2014-04-17 22:59:45 +00:00
|
|
|
NULL =
|
2010-11-12 12:18:58 +00:00
|
|
|
|
2016-10-05 19:38:34 +00:00
|
|
|
libgdkincludedir = $(includedir)/gtk-4.0/gdk
|
|
|
|
libgdkbroadwayincludedir = $(includedir)/gtk-4.0/gdk/broadway
|
2010-11-12 12:18:58 +00:00
|
|
|
|
2013-03-15 10:35:30 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gdk\" \
|
2016-07-23 03:11:44 +00:00
|
|
|
-DG_LOG_USE_STRUCTURED=1 \
|
2013-03-15 10:35:30 +00:00
|
|
|
-DGDK_COMPILATION \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
2010-11-12 12:18:58 +00:00
|
|
|
$(GDK_DEP_CFLAGS)
|
|
|
|
|
2014-09-08 01:30:01 +00:00
|
|
|
LDADDS = $(GDK_DEP_LIBS) -lrt
|
2010-11-12 12:18:58 +00:00
|
|
|
|
2012-12-23 21:12:08 +00:00
|
|
|
noinst_LTLIBRARIES = libgdk-broadway.la
|
2010-11-16 11:42:53 +00:00
|
|
|
|
2016-11-18 18:40:37 +00:00
|
|
|
bin_PROGRAMS = gtk4-broadwayd
|
2012-12-19 11:37:02 +00:00
|
|
|
|
2011-04-07 17:25:16 +00:00
|
|
|
libgdkinclude_HEADERS = \
|
|
|
|
gdkbroadway.h
|
|
|
|
|
|
|
|
libgdkbroadwayinclude_HEADERS = \
|
2013-11-06 12:11:54 +00:00
|
|
|
gdkbroadwaydisplay.h \
|
2011-04-07 17:25:16 +00:00
|
|
|
gdkbroadwaywindow.h \
|
|
|
|
gdkbroadwaycursor.h \
|
2016-11-03 23:15:07 +00:00
|
|
|
gdkbroadwaymonitor.h
|
2011-04-07 17:25:16 +00:00
|
|
|
|
2015-09-24 07:27:45 +00:00
|
|
|
EXTRA_DIST += toarray.pl
|
|
|
|
|
2010-11-18 20:26:40 +00:00
|
|
|
clienthtml.h: client.html
|
2014-11-30 22:18:31 +00:00
|
|
|
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl client_html $(srcdir)/client.html > $@
|
2010-11-18 20:26:40 +00:00
|
|
|
|
2011-04-13 21:48:48 +00:00
|
|
|
EXTRA_DIST += client.html
|
|
|
|
|
2013-11-07 12:54:54 +00:00
|
|
|
broadwayjs.h: broadway.js rawinflate.min.js
|
2014-11-30 22:18:31 +00:00
|
|
|
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl broadway_js $(srcdir)/broadway.js $(srcdir)/rawinflate.min.js > $@
|
2010-11-18 20:26:40 +00:00
|
|
|
|
2013-11-07 16:44:08 +00:00
|
|
|
EXTRA_DIST += broadway.js rawinflate.min.js
|
2011-04-13 21:48:48 +00:00
|
|
|
|
2010-11-18 20:26:40 +00:00
|
|
|
# built headers that don't get installed
|
|
|
|
broadway_built_private_headers = \
|
|
|
|
clienthtml.h \
|
|
|
|
broadwayjs.h
|
|
|
|
|
|
|
|
broadway_built_sources = \
|
|
|
|
${broadway_built_private_headers}
|
|
|
|
|
2010-11-12 12:18:58 +00:00
|
|
|
libgdk_broadway_la_SOURCES = \
|
2010-11-18 20:26:40 +00:00
|
|
|
${broadway_built_private_headers}\
|
2010-11-12 12:18:58 +00:00
|
|
|
gdkcursor-broadway.c \
|
|
|
|
gdkdevice-broadway.h \
|
|
|
|
gdkdevice-broadway.c \
|
|
|
|
gdkdevicemanager-broadway.h \
|
|
|
|
gdkdevicemanager-broadway.c \
|
|
|
|
gdkdisplay-broadway.c \
|
|
|
|
gdkdisplay-broadway.h \
|
|
|
|
gdkdnd-broadway.c \
|
|
|
|
gdkeventsource.c \
|
|
|
|
gdkeventsource.h \
|
|
|
|
gdkglobals-broadway.c \
|
|
|
|
gdkkeys-broadway.c \
|
2016-04-03 03:42:40 +00:00
|
|
|
gdkmonitor-broadway.c \
|
|
|
|
gdkmonitor-broadway.h \
|
2010-11-12 12:18:58 +00:00
|
|
|
gdkproperty-broadway.c \
|
|
|
|
gdkscreen-broadway.c \
|
|
|
|
gdkscreen-broadway.h \
|
|
|
|
gdkselection-broadway.c \
|
|
|
|
gdkwindow-broadway.c \
|
|
|
|
gdkwindow-broadway.h \
|
2012-12-21 23:02:55 +00:00
|
|
|
gdkprivate-broadway.h \
|
|
|
|
gdkbroadway-server.h \
|
2012-12-27 20:10:44 +00:00
|
|
|
gdkbroadway-server.c
|
2010-11-16 11:42:53 +00:00
|
|
|
|
2013-07-01 12:46:25 +00:00
|
|
|
if OS_UNIX
|
2013-06-17 19:55:30 +00:00
|
|
|
libgdk_broadway_la_LIBADD = \
|
2014-04-17 22:59:45 +00:00
|
|
|
$(SHM_LIBS) \
|
|
|
|
$(NULL)
|
2013-07-01 12:46:25 +00:00
|
|
|
endif
|
2013-06-17 19:55:30 +00:00
|
|
|
|
2016-11-18 18:40:37 +00:00
|
|
|
gtk4_broadwayd_SOURCES = \
|
2012-12-23 21:12:08 +00:00
|
|
|
broadway-protocol.h \
|
2012-12-23 21:24:21 +00:00
|
|
|
broadwayd.c \
|
2012-12-23 22:35:03 +00:00
|
|
|
broadway-server.h \
|
2012-12-23 21:27:20 +00:00
|
|
|
broadway-server.c \
|
2013-11-07 11:22:38 +00:00
|
|
|
broadway-buffer.c \
|
|
|
|
broadway-buffer.h \
|
2012-12-23 21:12:08 +00:00
|
|
|
broadway-output.h \
|
|
|
|
broadway-output.c
|
2012-12-19 11:37:02 +00:00
|
|
|
|
2013-06-13 17:35:43 +00:00
|
|
|
if OS_WIN32
|
2016-11-18 18:40:37 +00:00
|
|
|
gtk4_broadwayd_LDADD = $(GDK_DEP_LIBS) -lws2_32
|
2013-06-13 17:35:43 +00:00
|
|
|
else
|
2016-11-18 18:40:37 +00:00
|
|
|
gtk4_broadwayd_LDADD = $(GDK_DEP_LIBS) @SHM_LIBS@
|
2013-06-13 17:35:43 +00:00
|
|
|
endif
|
2012-12-19 11:37:02 +00:00
|
|
|
|
2010-11-18 20:26:40 +00:00
|
|
|
MAINTAINERCLEANFILES = $(broadway_built_sources)
|
|
|
|
EXTRA_DIST += $(broadway_built_sources)
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(broadway_built_sources)
|
|
|
|
|
2010-11-12 12:18:58 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|