gtk2/gdk/broadway/Makefile.am

132 lines
3.1 KiB
Makefile
Raw Normal View History

2010-11-12 12:18:58 +00:00
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/Makefile.decl
NULL =
2010-11-12 12:18:58 +00:00
libgdkincludedir = $(includedir)/gtk-4.0/gdk
libgdkbroadwayincludedir = $(includedir)/gtk-4.0/gdk/broadway
2010-11-12 12:18:58 +00:00
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gdk\" \
-DG_LOG_USE_STRUCTURED=1 \
-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) -lrt
2010-11-12 12:18:58 +00:00
noinst_LTLIBRARIES = libgdk-broadway.la
2012-12-26 21:34:53 +00:00
bin_PROGRAMS = broadwayd
libgdkinclude_HEADERS = \
gdkbroadway.h
libgdkbroadwayinclude_HEADERS = \
gdkbroadwaydisplay.h \
gdkbroadwaywindow.h \
gdkbroadwaycursor.h \
2016-04-03 03:42:40 +00:00
gdkbroadwaymonitor.h \
gdkbroadwayvisual.h
EXTRA_DIST += toarray.pl
clienthtml.h: client.html
2014-11-30 22:18:31 +00:00
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl client_html $(srcdir)/client.html > $@
2011-04-13 21:48:48 +00:00
EXTRA_DIST += client.html
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 > $@
EXTRA_DIST += broadway.js rawinflate.min.js
2011-04-13 21:48:48 +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 = \
${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 \
gdktestutils-broadway.c \
gdkvisual-broadway.c \
gdkwindow-broadway.c \
gdkwindow-broadway.h \
gdkprivate-broadway.h \
gdkbroadway-server.h \
gdkbroadway-server.c
2013-07-01 12:46:25 +00:00
if OS_UNIX
libgdk_broadway_la_LIBADD = \
$(SHM_LIBS) \
$(NULL)
2013-07-01 12:46:25 +00:00
endif
broadwayd_SOURCES = \
broadway-protocol.h \
broadwayd.c \
broadway-server.h \
broadway-server.c \
broadway-buffer.c \
broadway-buffer.h \
broadway-output.h \
broadway-output.c
2013-06-13 17:35:43 +00:00
if OS_WIN32
broadwayd_LDADD = $(GDK_DEP_LIBS) -lws2_32
2013-06-13 17:35:43 +00:00
else
broadwayd_LDADD = $(GDK_DEP_LIBS) @SHM_LIBS@
2013-06-13 17:35:43 +00:00
endif
MAINTAINERCLEANFILES = $(broadway_built_sources)
EXTRA_DIST += $(broadway_built_sources)
BUILT_SOURCES = $(broadway_built_sources)
# ------------------- MSVC Build Items ----------------
MSVCPROJS = gdk3-broadway broadwayd
gdk3_broadway_FILES = $(libgdk_broadway_la_SOURCES)
gdk3_broadway_EXCLUDES = dummy
gdk3_broadway_HEADERS_DIR = $(libgdkbroadwayincludedir)
gdk3_broadway_HEADERS_INST = $(libgdkbroadwayinclude_HEADERS)
gdk3_broadway_HEADERS_EXCLUDES = dummy
broadwayd_FILES = $(broadwayd_SOURCES)
broadwayd_EXCLUDES = dummy
include $(top_srcdir)/build/Makefile.msvcproj
dist-hook: \
$(top_builddir)/build/win32/vs9/gdk3-broadway.vcproj \
$(top_builddir)/build/win32/vs9/broadwayd.vcproj \
$(top_builddir)/build/win32/vs9/gdk3-broadway.headers
2010-11-12 12:18:58 +00:00
-include $(top_srcdir)/git.mk