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
|
|
|
|
|
|
|
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
2011-04-07 17:25:16 +00:00
|
|
|
libgdkbroadwayincludedir = $(includedir)/gtk-3.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\" \
|
|
|
|
-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
|
|
|
|
2012-12-26 21:34:53 +00:00
|
|
|
bin_PROGRAMS = 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 \
|
|
|
|
gdkbroadwayvisual.h
|
|
|
|
|
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 \
|
|
|
|
gdkproperty-broadway.c \
|
|
|
|
gdkscreen-broadway.c \
|
|
|
|
gdkscreen-broadway.h \
|
|
|
|
gdkselection-broadway.c \
|
|
|
|
gdktestutils-broadway.c \
|
|
|
|
gdkvisual-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
|
|
|
|
2012-12-23 21:24:21 +00:00
|
|
|
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
|
2014-03-12 04:10:03 +00:00
|
|
|
broadwayd_LDADD = $(GDK_DEP_LIBS) -lws2_32
|
2013-06-13 17:35:43 +00:00
|
|
|
else
|
2014-04-17 22:59:45 +00:00
|
|
|
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)
|
|
|
|
|
2015-04-17 06:47:56 +00:00
|
|
|
# ------------------- MSVC Build Items ----------------
|
2015-08-25 09:41:55 +00:00
|
|
|
MSVCPROJS = gdk3-broadway broadwayd
|
2015-04-17 06:47:56 +00:00
|
|
|
|
2015-08-25 09:41:55 +00:00
|
|
|
gdk3_broadway_FILES = $(libgdk_broadway_la_SOURCES)
|
|
|
|
gdk3_broadway_EXCLUDES = dummy
|
|
|
|
gdk3_broadway_HEADERS_DIR = $(libgdkbroadwayincludedir)
|
2015-04-17 06:47:56 +00:00
|
|
|
|
2015-08-25 09:41:55 +00:00
|
|
|
gdk3_broadway_HEADERS_INST = $(libgdkbroadwayinclude_HEADERS)
|
2015-04-17 06:47:56 +00:00
|
|
|
|
2015-08-25 09:41:55 +00:00
|
|
|
gdk3_broadway_HEADERS_EXCLUDES = dummy
|
2015-04-17 06:47:56 +00:00
|
|
|
|
|
|
|
broadwayd_FILES = $(broadwayd_SOURCES)
|
|
|
|
broadwayd_EXCLUDES = dummy
|
|
|
|
|
|
|
|
include $(top_srcdir)/build/Makefile.msvcproj
|
|
|
|
|
|
|
|
dist-hook: \
|
2015-08-25 09:41:55 +00:00
|
|
|
$(top_builddir)/build/win32/vs9/gdk3-broadway.vcproj \
|
2015-04-17 06:47:56 +00:00
|
|
|
$(top_builddir)/build/win32/vs9/broadwayd.vcproj \
|
2015-08-25 09:41:55 +00:00
|
|
|
$(top_builddir)/build/win32/vs9/gdk3-broadway.headers
|
2015-04-17 06:47:56 +00:00
|
|
|
|
2010-11-12 12:18:58 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|