2010-11-12 12:18:58 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
LDADDS = $(GDK_DEP_LIBS)
|
|
|
|
|
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 = \
|
|
|
|
gdkbroadwaywindow.h \
|
|
|
|
gdkbroadwaycursor.h \
|
|
|
|
gdkbroadwayvisual.h
|
|
|
|
|
2010-11-18 20:26:40 +00:00
|
|
|
clienthtml.h: client.html
|
2012-10-15 14:16:51 +00:00
|
|
|
$(PERL) $(srcdir)/toarray.pl $(srcdir)/client.html client_html > $@
|
2010-11-18 20:26:40 +00:00
|
|
|
|
2011-04-13 21:48:48 +00:00
|
|
|
EXTRA_DIST += client.html
|
|
|
|
|
2010-11-18 20:26:40 +00:00
|
|
|
broadwayjs.h: broadway.js
|
2012-10-15 14:16:51 +00:00
|
|
|
$(PERL) $(srcdir)/toarray.pl $(srcdir)/broadway.js broadway_js > $@
|
2010-11-18 20:26:40 +00:00
|
|
|
|
2011-04-13 21:48:48 +00:00
|
|
|
EXTRA_DIST += broadway.js
|
|
|
|
|
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 = \
|
|
|
|
-lrt
|
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 \
|
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
|
|
|
|
broadwayd_LDADD = $(GDK_DEP_LIBS) -lcrypt -lws2_32
|
|
|
|
else
|
2013-03-28 21:57:33 +00:00
|
|
|
broadwayd_LDADD = $(GDK_DEP_LIBS) -lrt -lcrypt
|
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
|