build: Remove the Autotools build
CI and downstream packagers have been using the Meson build for a while now, and we checked that it's idempotent to the Autotools build. Having two build systems in tree doesn't make maintaining and releasing GTK any easier, even if it's the stable/frozen branch.
This commit is contained in:
parent
4b8cdeec09
commit
2b0a605c5d
@ -6,12 +6,6 @@ cache:
|
||||
paths:
|
||||
- _ccache/
|
||||
|
||||
fedora-autotools:
|
||||
image: registry.gitlab.gnome.org/gnome/gtk/fedora-gtk3:v3
|
||||
stage: build
|
||||
script:
|
||||
- bash -x ./.gitlab-ci/test-docker-autotools.sh
|
||||
|
||||
fedora-distcheck:
|
||||
image: registry.gitlab.gnome.org/gnome/gtk/fedora-gtk3:v3
|
||||
variables:
|
||||
@ -81,15 +75,3 @@ msys2-mingw64-meson:
|
||||
- "_build/meson-logs"
|
||||
- "_build/gdk/libgdk-3-0.dll"
|
||||
- "_build/gtk/libgtk-3-0.dll"
|
||||
|
||||
msys2-mingw64-autotools:
|
||||
when: manual
|
||||
variables:
|
||||
MSYSTEM: "MINGW64"
|
||||
CHERE_INVOKING: "yes"
|
||||
stage: build
|
||||
tags:
|
||||
- win32-ps
|
||||
script:
|
||||
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
|
||||
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2-autotools.sh"
|
||||
|
@ -1,35 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p _ccache
|
||||
export CCACHE_BASEDIR="$(pwd)"
|
||||
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
||||
export N_PROCS=$(($(nproc) - 1))
|
||||
|
||||
EXTRA_CONFIGURE_OPT=""
|
||||
|
||||
# Only enable documentation when distchecking, since it's required
|
||||
if [ -n "${DO_DISTCHECK-}" ]; then
|
||||
EXTRA_CONFIGURE_OPTS="${EXTRA_CONFIGURE_OPTS} --enable-gtk-doc"
|
||||
fi
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
||||
mkdir _build
|
||||
cd _build
|
||||
|
||||
../configure \
|
||||
--enable-cloudproviders \
|
||||
--enable-broadway-backend \
|
||||
--enable-wayland-backend \
|
||||
--enable-x11-backend \
|
||||
--enable-xinerama \
|
||||
${EXTRA_CONFIGURE_OPTS}
|
||||
|
||||
make -j${N_PROCS}
|
||||
|
||||
if [ -n "${DO_DISTCHECK-}" ]; then
|
||||
make -j${N_PROCS} check SKIP_GDKTARGET="echo Not actually running tests for now"
|
||||
make -j${N_PROCS} distcheck SKIP_GDKTARGET="echo Not actually running tests for now"
|
||||
fi
|
@ -1,44 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$MSYSTEM" == "MINGW32" ]]; then
|
||||
export MSYS2_ARCH="i686"
|
||||
else
|
||||
export MSYS2_ARCH="x86_64"
|
||||
fi
|
||||
|
||||
# Update everything
|
||||
pacman --noconfirm -Suy
|
||||
|
||||
# Install the required packages
|
||||
pacman --noconfirm -S --needed \
|
||||
base-devel \
|
||||
mingw-w64-$MSYS2_ARCH-toolchain \
|
||||
mingw-w64-$MSYS2_ARCH-ccache \
|
||||
mingw-w64-$MSYS2_ARCH-pkg-config \
|
||||
mingw-w64-$MSYS2_ARCH-gobject-introspection \
|
||||
mingw-w64-$MSYS2_ARCH-adwaita-icon-theme \
|
||||
mingw-w64-$MSYS2_ARCH-atk \
|
||||
mingw-w64-$MSYS2_ARCH-cairo \
|
||||
mingw-w64-$MSYS2_ARCH-gdk-pixbuf2 \
|
||||
mingw-w64-$MSYS2_ARCH-glib2 \
|
||||
mingw-w64-$MSYS2_ARCH-json-glib \
|
||||
mingw-w64-$MSYS2_ARCH-libepoxy \
|
||||
mingw-w64-$MSYS2_ARCH-pango \
|
||||
mingw-w64-$MSYS2_ARCH-shared-mime-info \
|
||||
mingw-w64-$MSYS2_ARCH-gtk-doc
|
||||
|
||||
mkdir -p _ccache
|
||||
export CCACHE_BASEDIR="$(pwd)"
|
||||
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
||||
export CC="ccache gcc"
|
||||
|
||||
# Build
|
||||
ccache --zero-stats
|
||||
ccache --show-stats
|
||||
|
||||
./autogen.sh
|
||||
make -j4
|
||||
|
||||
ccache --show-stats
|
124
Makefile.am
124
Makefile.am
@ -1,124 +0,0 @@
|
||||
## Makefile.am for GTK+
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SRC_SUBDIRS = gdk gtk libgail-util modules demos tests testsuite examples
|
||||
SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros win32
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||
|
||||
EXTRA_DIST += \
|
||||
autogen.sh \
|
||||
HACKING \
|
||||
README \
|
||||
README.in \
|
||||
INSTALL \
|
||||
INSTALL.in \
|
||||
NEWS.pre-1-0 \
|
||||
README.commits \
|
||||
README.win32.md \
|
||||
check-version.py \
|
||||
config.h.win32 \
|
||||
makefile.msc \
|
||||
gtk-zip.sh.in \
|
||||
sanitize-la.sh \
|
||||
po/README.translators \
|
||||
po/po2tbl.sed.in \
|
||||
make-pot \
|
||||
meson_options.txt \
|
||||
meson.build \
|
||||
po/meson.build \
|
||||
po-properties/meson.build \
|
||||
build-aux/meson/post-install.py \
|
||||
config.h.meson \
|
||||
gtk.supp
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
|
||||
$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
|
||||
$(srcdir)/m4/gtk-doc.m4 \
|
||||
$(srcdir)/INSTALL \
|
||||
$(srcdir)/README \
|
||||
$(srcdir)/gtk-doc.make \
|
||||
$(srcdir)/ChangeLog
|
||||
|
||||
if OS_UNIX
|
||||
valgrinddir = $(datadir)/gtk-3.0/valgrind
|
||||
valgrind_DATA = gtk.supp
|
||||
endif
|
||||
|
||||
## Copy .pc files to target-specific names
|
||||
gtk+-x11-3.0.pc gtk+-win32-3.0.pc gtk+-quartz-3.0.pc gtk+-broadway-3.0.pc gtk+-wayland-3.0.pc: gtk+-3.0.pc
|
||||
rm -f $@ && \
|
||||
cp gtk+-3.0.pc $@
|
||||
|
||||
gdk-x11-3.0.pc gdk-win32-3.0.pc gdk-quartz-3.0.pc gdk-broadway-3.0.pc gdk-wayland-3.0.pc: gdk-3.0.pc
|
||||
rm -f $@ && \
|
||||
cp gdk-3.0.pc $@
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gdk-3.0.pc gtk+-3.0.pc gail-3.0.pc
|
||||
pkgconfig_DATA += ${GDK_BACKENDS:%=gtk+-%-3.0.pc}
|
||||
pkgconfig_DATA += ${GDK_BACKENDS:%=gdk-%-3.0.pc}
|
||||
|
||||
if OS_UNIX
|
||||
pkgconfig_DATA += gtk+-unix-print-3.0.pc
|
||||
endif
|
||||
|
||||
DISTCLEANFILES = \
|
||||
gtk+-unix-print-3.0.pc \
|
||||
gtk+-3.0.pc \
|
||||
gtk+-x11-3.0.pc \
|
||||
gtk+-win32-3.0.pc \
|
||||
gtk+-quartz-3.0.pc \
|
||||
gtk+-broadway-3.0.pc \
|
||||
gtk+-wayland-3.0.pc \
|
||||
gdk-3.0.pc \
|
||||
gdk-x11-3.0.pc \
|
||||
gdk-win32-3.0.pc \
|
||||
gdk-quartz-3.0.pc \
|
||||
gdk-broadway-3.0.pc \
|
||||
gdk-wayland-3.0.pc \
|
||||
gail-3.0.pc \
|
||||
config.lt
|
||||
|
||||
dist-hook:
|
||||
mkdir $(distdir)/subprojects
|
||||
cp -p $(srcdir)/subprojects/*.wrap $(distdir)/subprojects
|
||||
$(top_srcdir)/check-version.py $(top_srcdir)/configure.ac $(top_srcdir)/meson.build
|
||||
|
||||
distclean-local:
|
||||
if test "$(srcdir)" = "."; then :; else \
|
||||
rm -f ChangeLog; \
|
||||
fi
|
||||
|
||||
ChangeLog:
|
||||
$(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
|
||||
(GIT_DIR=$(top_srcdir)/.git $(top_builddir)/build-aux/missing git log GTK_2_16_0^^.. --stat) | fmt --split-only > $@.tmp \
|
||||
&& mv -f $@.tmp $@ \
|
||||
|| ($(RM) $@.tmp; \
|
||||
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
|
||||
(test -f $@ || echo git-log is required to generate this file >> $@)); \
|
||||
else \
|
||||
test -f $@ || \
|
||||
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
|
||||
echo A git checkout and git-log is required to generate this file >> $@); \
|
||||
fi
|
||||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(pkgconfigdir)/gtk+-3.0.pc
|
||||
|
||||
AM_DISTCHECK_CONFIGURE_FLAGS = \
|
||||
--enable-gtk-doc \
|
||||
--disable-doc-cross-references \
|
||||
--enable-man \
|
||||
--disable-maintainer-mode \
|
||||
--enable-introspection \
|
||||
--enable-installed-tests
|
||||
|
||||
GITIGNORE_TRANSLATION_DIRS = po-properties
|
||||
GITIGNOREFILES = po-properties/gtk30-properties.pot
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,96 +0,0 @@
|
||||
# GTK+ - The GIMP Toolkit
|
||||
|
||||
GTESTER = gtester -k # in $PATH for non-GLIB packages
|
||||
GTESTER_REPORT = gtester-report # in $PATH for non-GLIB packages
|
||||
|
||||
# initialize variables for unconditional += appending
|
||||
EXTRA_DIST =
|
||||
TEST_PROGS =
|
||||
|
||||
### testing rules
|
||||
|
||||
# Xvfb based test rules
|
||||
XVFB = Xvfb -ac -noreset -screen 0 1024x768x16
|
||||
XIDS = 101 102 103 104 105 106 107 197 199 211 223 227 293 307 308 309 310 311 \
|
||||
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 \
|
||||
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 \
|
||||
1008 1009 4703 4721 4723 4729 4733 4751 9973 9974 9975 9976 9977 9978 9979 \
|
||||
9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 \
|
||||
9995 9996 9997 9998 9999
|
||||
|
||||
if USE_X11
|
||||
SKIP_GDKTARGET = \
|
||||
false
|
||||
else
|
||||
SKIP_GDKTARGET = \
|
||||
echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target."
|
||||
endif
|
||||
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
XVFB_START = \
|
||||
${XVFB} -help 2>/dev/null 1>&2 \
|
||||
&& XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \
|
||||
&& { ${XVFB} :$$XID -nolisten tcp -auth /dev/null >/dev/null 2>&1 & \
|
||||
trap "kill -15 $$! " 0 HUP INT QUIT TRAP USR1 PIPE TERM ; } \
|
||||
|| { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
|
||||
&& DISPLAY=:$$XID && export DISPLAY
|
||||
# call as: $(XVFB_START) && someprogram
|
||||
|
||||
# test: run all tests in cwd and subdirs
|
||||
test: test-cwd test-recurse
|
||||
# test-cwd: run tests in cwd
|
||||
test-cwd: ${TEST_PROGS}
|
||||
@$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
||||
$(XVFB_START) && { set -e; $(TESTS_ENVIRONMENT) G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose ${TEST_PROGS}; }; \
|
||||
}
|
||||
# test-recurse: run tests in subdirs
|
||||
test-recurse:
|
||||
@ for subdir in $(SUBDIRS) ; do \
|
||||
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) test ) || exit $? ; \
|
||||
done
|
||||
# test-report: run tests in subdirs and generate report
|
||||
# perf-report: run tests in subdirs with -m perf and generate report
|
||||
# full-report: like test-report: with -m perf and -m slow
|
||||
test-report perf-report full-report: ${TEST_PROGS}
|
||||
@ ignore_logdir=true ; \
|
||||
if test -z "$$GTESTER_LOGDIR" ; then \
|
||||
GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
|
||||
ignore_logdir=false ; \
|
||||
fi ; \
|
||||
for subdir in $(SUBDIRS) ; do \
|
||||
test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "po-properties" || \
|
||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
|
||||
done ; \
|
||||
$(SKIP_GDKTARGET) || test -z "${TEST_PROGS}" || { \
|
||||
case $@ in \
|
||||
test-report) test_options="-k";; \
|
||||
perf-report) test_options="-k -m=perf";; \
|
||||
full-report) test_options="-k -m=perf -m=slow";; \
|
||||
esac ; \
|
||||
$(XVFB_START) && { \
|
||||
set -e; \
|
||||
if test -z "$$GTESTER_LOGDIR" ; then \
|
||||
G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
|
||||
elif test -n "${TEST_PROGS}" ; then \
|
||||
G_TEST_SRCDIR="${abs_srcdir}" G_TEST_BUILDDIR="${abs_builddir}" ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
|
||||
fi ; \
|
||||
}; \
|
||||
}; \
|
||||
$$ignore_logdir || { \
|
||||
echo '<?xml version="1.0"?>' > $@.xml ; \
|
||||
echo '<report-collection>' >> $@.xml ; \
|
||||
for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
|
||||
sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
|
||||
done ; \
|
||||
echo >> $@.xml ; \
|
||||
echo '</report-collection>' >> $@.xml ; \
|
||||
rm -rf "$$GTESTER_LOGDIR"/ ; \
|
||||
${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
|
||||
}
|
||||
.PHONY: test test-cwd test-recurse test-report perf-report full-report
|
||||
# run make test-cwd as part of make check
|
||||
check-local: test-cwd
|
79
acinclude.m4
79
acinclude.m4
@ -1,79 +0,0 @@
|
||||
# autoconf 2.13 / 2.50 compatibility macro
|
||||
|
||||
# GLIB_AC_DIVERT_BEFORE_HELP(STUFF)
|
||||
# ---------------------------------
|
||||
# Put STUFF early enough so that they are available for $ac_help expansion.
|
||||
# Handle both classic (<= v2.13) and modern autoconf
|
||||
AC_DEFUN([GLIB_AC_DIVERT_BEFORE_HELP],
|
||||
[ifdef([m4_divert_text], [m4_divert_text([NOTICE],[$1])],
|
||||
[ifdef([AC_DIVERT], [AC_DIVERT([NOTICE],[$1])],
|
||||
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
$1
|
||||
AC_DIVERT_POP()])])])
|
||||
|
||||
# GTK_ADD_LIB(VAR,LIBNAME)
|
||||
# ---------------------------------
|
||||
# Helper macro to add a -lBlah to a variable, avoiding repeats
|
||||
# Note that this needs to be quoted when used in an enclosing macro
|
||||
AC_DEFUN([GTK_ADD_LIB],
|
||||
[ case "$$1 " in
|
||||
*-l$2[[\ \ ]]*) ;;
|
||||
*) $1="-l$2 $$1" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
|
||||
# Checks the location of the XML Catalog
|
||||
# Usage:
|
||||
# JH_PATH_XML_CATALOG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
# Defines XMLCATALOG and XML_CATALOG_FILE substitutions
|
||||
AC_DEFUN([JH_PATH_XML_CATALOG],
|
||||
[
|
||||
# check for the presence of the XML catalog
|
||||
AC_ARG_WITH([xml-catalog],
|
||||
AC_HELP_STRING([--with-xml-catalog=CATALOG],
|
||||
[path to xml catalog to use]),,
|
||||
[with_xml_catalog=/etc/xml/catalog])
|
||||
jh_found_xmlcatalog=true
|
||||
XML_CATALOG_FILE="$with_xml_catalog"
|
||||
AC_SUBST([XML_CATALOG_FILE])
|
||||
AC_MSG_CHECKING([for XML catalog ($XML_CATALOG_FILE)])
|
||||
if test -f "$XML_CATALOG_FILE"; then
|
||||
AC_MSG_RESULT([found])
|
||||
else
|
||||
jh_found_xmlcatalog=false
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
|
||||
# check for the xmlcatalog program
|
||||
AC_PATH_PROG(XMLCATALOG, xmlcatalog, no)
|
||||
if test "x$XMLCATALOG" = xno; then
|
||||
jh_found_xmlcatalog=false
|
||||
fi
|
||||
|
||||
if $jh_found_xmlcatalog; then
|
||||
ifelse([$1],,[:],[$1])
|
||||
else
|
||||
ifelse([$2],,[AC_MSG_ERROR([could not find XML catalog])],[$2])
|
||||
fi
|
||||
])
|
||||
|
||||
# Checks if a particular URI appears in the XML catalog
|
||||
# Usage:
|
||||
# JH_CHECK_XML_CATALOG(URI, [FRIENDLY-NAME], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
AC_DEFUN([JH_CHECK_XML_CATALOG],
|
||||
[
|
||||
AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl
|
||||
AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog])
|
||||
if $jh_found_xmlcatalog && \
|
||||
AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then
|
||||
AC_MSG_RESULT([found])
|
||||
ifelse([$3],,,[$3
|
||||
])dnl
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
ifelse([$4],,
|
||||
[AC_MSG_ERROR([could not find ifelse([$2],,[$1],[$2]) in XML catalog])],
|
||||
[$4])
|
||||
fi
|
||||
])
|
46
autogen.sh
46
autogen.sh
@ -1,46 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||
test -n "$srcdir" || srcdir=.
|
||||
|
||||
olddir=`pwd`
|
||||
cd "$srcdir"
|
||||
|
||||
mkdir -p m4
|
||||
|
||||
GTKDOCIZE=`which gtkdocize`
|
||||
if test -z $GTKDOCIZE; then
|
||||
echo "*** No GTK-Doc found, please install it ***"
|
||||
exit 1
|
||||
else
|
||||
gtkdocize || exit $?
|
||||
fi
|
||||
|
||||
PKGCONFIG=`which pkg-config`
|
||||
if test -z "$PKGCONFIG"; then
|
||||
echo "*** pkg-config not found, please install it ***"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pkg-config --print-errors gobject-introspection-1.0
|
||||
if [ $? != 0 ]; then
|
||||
echo "You probably need to install 'libgirepository1.0-dev'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# README and INSTALL are required by automake, but may be deleted by clean
|
||||
# up rules. to get automake to work, simply touch these here, they will be
|
||||
# regenerated from their corresponding *.in files by ./configure anyway.
|
||||
touch README INSTALL
|
||||
|
||||
AUTORECONF=`which autoreconf`
|
||||
if test -z $AUTORECONF; then
|
||||
echo "*** No autoreconf found, please install it ***"
|
||||
exit 1
|
||||
else
|
||||
autoreconf --force --install --verbose || exit $?
|
||||
fi
|
||||
|
||||
cd "$olddir"
|
||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
200
check-version.py
200
check-version.py
@ -1,200 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
||||
try:
|
||||
configure_ac = sys.argv[1]
|
||||
except Exception:
|
||||
configure_ac = 'configure.ac'
|
||||
|
||||
try:
|
||||
meson_build = sys.argv[2]
|
||||
except Exception:
|
||||
meson_build = 'meson.build'
|
||||
|
||||
CONFIGURE_MAJOR_VERSION_RE = re.compile(
|
||||
r'''
|
||||
^
|
||||
\s*
|
||||
m4_define\(
|
||||
\s*
|
||||
\[gtk_major_version\]
|
||||
\s*
|
||||
,
|
||||
\s*
|
||||
\[
|
||||
(?P<version>[0-9]+)
|
||||
\]
|
||||
\s*
|
||||
\)
|
||||
$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
CONFIGURE_MINOR_VERSION_RE = re.compile(
|
||||
r'''
|
||||
^
|
||||
\s*
|
||||
m4_define\(
|
||||
\s*
|
||||
\[gtk_minor_version\]
|
||||
\s*
|
||||
,
|
||||
\s*
|
||||
\[
|
||||
(?P<version>[0-9]+)
|
||||
\]
|
||||
\s*
|
||||
\)
|
||||
$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
CONFIGURE_MICRO_VERSION_RE = re.compile(
|
||||
r'''
|
||||
^
|
||||
\s*
|
||||
m4_define\(
|
||||
\s*
|
||||
\[gtk_micro_version\]
|
||||
\s*
|
||||
,
|
||||
\s*
|
||||
\[
|
||||
(?P<version>[0-9]+)
|
||||
\]
|
||||
\s*
|
||||
\)
|
||||
$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
CONFIGURE_INTERFACE_AGE_RE = re.compile(
|
||||
r'''
|
||||
^
|
||||
\s*
|
||||
m4_define\(
|
||||
\s*
|
||||
\[gtk_interface_age\]
|
||||
\s*
|
||||
,
|
||||
\s*
|
||||
\[
|
||||
(?P<age>[0-9]+)
|
||||
\]
|
||||
\s*
|
||||
\)
|
||||
$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
MESON_VERSION_RE = re.compile(
|
||||
r'''
|
||||
^
|
||||
\s*
|
||||
version
|
||||
\s*
|
||||
:{1}
|
||||
\s*
|
||||
\'{1}
|
||||
(?P<major>[0-9]+)
|
||||
\.{1}
|
||||
(?P<minor>[0-9]+)
|
||||
\.{1}
|
||||
(?P<micro>[0-9]+)
|
||||
\'{1}
|
||||
\s*
|
||||
,?
|
||||
$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
MESON_INTERFACE_AGE_RE = re.compile(
|
||||
r'''
|
||||
^\s*gtk_interface_age\s*={1}\s*(?P<age>[0-9]+)\s*$
|
||||
''',
|
||||
re.UNICODE | re.VERBOSE
|
||||
)
|
||||
|
||||
version = {}
|
||||
|
||||
with open(configure_ac, 'r') as f:
|
||||
line = f.readline()
|
||||
while line:
|
||||
res = CONFIGURE_MAJOR_VERSION_RE.match(line)
|
||||
if res:
|
||||
if 'major' in version:
|
||||
print(f'Redefinition of major version; version is already set to {version["major"]}')
|
||||
sys.exit(1)
|
||||
version['major'] = res.group('version')
|
||||
line = f.readline()
|
||||
continue
|
||||
res = CONFIGURE_MINOR_VERSION_RE.match(line)
|
||||
if res:
|
||||
if 'minor' in version:
|
||||
print(f'Redefinition of minor version; version is already set to {version["minor"]}')
|
||||
sys.exit(1)
|
||||
version['minor'] = res.group('version')
|
||||
line = f.readline()
|
||||
continue
|
||||
res = CONFIGURE_MICRO_VERSION_RE.match(line)
|
||||
if res:
|
||||
if 'micro' in version:
|
||||
print(f'Redefinition of micro version; version is already set to {version["micro"]}')
|
||||
sys.exit(1)
|
||||
version['micro'] = res.group('version')
|
||||
line = f.readline()
|
||||
continue
|
||||
res = CONFIGURE_INTERFACE_AGE_RE.match(line)
|
||||
if res:
|
||||
if 'age' in version:
|
||||
print(f'Redefinition of interface age; age is already set to {version["age"]}')
|
||||
sys.exit(1)
|
||||
version['age'] = res.group('age')
|
||||
line = f.readline()
|
||||
continue
|
||||
if ('major', 'minor', 'micro', 'age') in version:
|
||||
break
|
||||
line = f.readline()
|
||||
|
||||
print(f'GTK version defined in {configure_ac}: {version["major"]}.{version["minor"]}.{version["micro"]} (age: {version["age"]})')
|
||||
|
||||
configure_version = version
|
||||
version = {}
|
||||
|
||||
with open(meson_build, 'r') as f:
|
||||
line = f.readline()
|
||||
inside_project = False
|
||||
while line:
|
||||
if line.startswith('project('):
|
||||
inside_project = True
|
||||
if inside_project:
|
||||
res = MESON_VERSION_RE.match(line)
|
||||
if res:
|
||||
version['major'] = res.group('major')
|
||||
version['minor'] = res.group('minor')
|
||||
version['micro'] = res.group('micro')
|
||||
if inside_project and line.endswith(')'):
|
||||
inside_project = False
|
||||
res = MESON_INTERFACE_AGE_RE.match(line)
|
||||
if res:
|
||||
version['age'] = res.group('age')
|
||||
if ('major', 'minor', 'micro', 'age') in version:
|
||||
break
|
||||
line = f.readline()
|
||||
|
||||
print(f'GTK version defined in {meson_build}: {version["major"]}.{version["minor"]}.{version["micro"]} (age: {version["age"]})')
|
||||
|
||||
meson_version = version
|
||||
|
||||
if configure_version != meson_version:
|
||||
print('Version mismatch between Autotools and Meson builds')
|
||||
sys.exit(1)
|
||||
|
||||
sys.exit(0)
|
@ -1,336 +0,0 @@
|
||||
/* config.h.win32.in. Merged from two versions generated by configure for gcc and MSVC. */
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* always defined to indicate that i18n is enabled */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* define to enable packagekit */
|
||||
/* #undef ENABLE_PACKAGEKIT */
|
||||
|
||||
/* The prefix for our gettext translation domains. */
|
||||
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
|
||||
|
||||
/* Disable deprecation warnings from glib */
|
||||
/* #undef GLIB_DISABLE_DEPRECATION_WARNINGS */
|
||||
|
||||
/* Define if debugging is enabled */
|
||||
#define GTK_COMPILED_WITH_DEBUGGING "yes"
|
||||
|
||||
/* Define the location where the catalogs will be installed */
|
||||
#define GTK_LOCALEDIR "NONE/share/locale"
|
||||
|
||||
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
|
||||
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
|
||||
|
||||
/* define if we have colord */
|
||||
/* #undef HAVE_COLORD */
|
||||
|
||||
/* Define to 1 if you have the `dcgettext' function. */
|
||||
#define HAVE_DCGETTEXT 1
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_DECL_ISINF 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_DECL_ISNAN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
/* #undef HAVE_DLFCN_H */
|
||||
|
||||
/* Define to 1 if you have the `exp2' function. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_EXP2 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `flockfile' function. */
|
||||
#undef HAVE_FLOCKFILE
|
||||
|
||||
/* Define to 1 if you have the `fmin' function. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
# define HAVE_FMIN 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <ftw.h> header file. */
|
||||
/* #undef HAVE_FTW_H */
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
#else
|
||||
/* #undef HAVE_GETPAGESIZE */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `getresuid' function. */
|
||||
/* #undef HAVE_GETRESUID */
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Define if gio-unix is available */
|
||||
/* #undef HAVE_GIO_UNIX */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#else
|
||||
/* #undef HAVE_INTTYPES_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if the system has the type `IPrintDialogCallback'. */
|
||||
#define HAVE_IPRINTDIALOGCALLBACK 1
|
||||
|
||||
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||
/* #undef HAVE_LC_MESSAGES */
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_LIBM 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define to 1 if you have the `localtime_r' function. */
|
||||
/* #undef HAVE_LOCALTIME_R */
|
||||
|
||||
/* Define to 1 if you have the `log2' function. */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_LOG2 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `lstat' function. */
|
||||
/* #undef HAVE_LSTAT */
|
||||
|
||||
/* Define to 1 if you have the `mallinfo' function. */
|
||||
/* #undef HAVE_MALLINFO */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
/* #undef HAVE_MKSTEMP */
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
/* #undef HAVE_MMAP */
|
||||
|
||||
/* Define to 1 if nearbyint() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_NEARBYINT 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if libpapi available */
|
||||
/* #undef HAVE_PAPI */
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
/* #undef HAVE_PWD_H */
|
||||
|
||||
/* Have the Xrandr extension library */
|
||||
/* #undef HAVE_RANDR */
|
||||
|
||||
/* Define to 1 if rint() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_RINT 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if round() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
#define HAVE_ROUND 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if SetupDiGetDevicePropertyW() is available */
|
||||
#ifdef _MSC_VER
|
||||
#define HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if sincos() is available */
|
||||
/* #undef HAVE_SINCOS */
|
||||
|
||||
/* Define to 1 if solaris xinerama is available */
|
||||
/* #undef HAVE_SOLARIS_XINERAMA */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_STDINT_H 1
|
||||
#else
|
||||
#if (_MSC_VER >= 1600) /* VS 2010+ ships with stdint.h */
|
||||
#define HAVE_STDINT_H 1
|
||||
#endif
|
||||
/* #undef HAVE_STDINT_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_STRINGS_H 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||
/* #undef HAVE_SYS_MMAN_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
/* #undef HAVE_SYS_PARAM_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if sys/sysinfo.h is available */
|
||||
/* #undef HAVE_SYS_SYSINFO_H */
|
||||
|
||||
/* Define to 1 if sys/systeminfo.h is available */
|
||||
/* #undef HAVE_SYS_SYSTEMINFO_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
#else /* _MSC_VER */
|
||||
/* #undef HAVE_SYS_TIME_H */
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if trunc() is available */
|
||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||
# define HAVE_TRUNC 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#ifndef _MSC_VER
|
||||
#define HAVE_UNISTD_H 1
|
||||
#else
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
#endif
|
||||
|
||||
/* Have the XCOMPOSITE X extension */
|
||||
/* #undef HAVE_XCOMPOSITE */
|
||||
|
||||
/* Have the Xcursor library */
|
||||
/* #undef HAVE_XCURSOR */
|
||||
|
||||
/* Have the XDAMAGE X extension */
|
||||
/* #undef HAVE_XDAMAGE */
|
||||
|
||||
/* Have the XFIXES X extension */
|
||||
/* #undef HAVE_XFIXES */
|
||||
|
||||
/* Define to 1 if XFree Xinerama is available */
|
||||
/* #undef HAVE_XFREE_XINERAMA */
|
||||
|
||||
/* Have XGenericEvent */
|
||||
/* #undef HAVE_XGENERICEVENTS */
|
||||
|
||||
/* Define to 1 if xinerama is available */
|
||||
/* #undef HAVE_XINERAMA */
|
||||
|
||||
/* Define to use XKB extension */
|
||||
/* #undef HAVE_XKB */
|
||||
|
||||
/* Have the SYNC extension library */
|
||||
/* #undef HAVE_XSYNC */
|
||||
|
||||
/* Define to 1 if you have the `_lock_file' function. */
|
||||
#define HAVE__LOCK_FILE
|
||||
|
||||
/* Define if _NL_MEASUREMENT_MEASUREMENT is available */
|
||||
/* #undef HAVE__NL_MEASUREMENT_MEASUREMENT */
|
||||
|
||||
/* Define if _NL_PAPER_HEIGHT is available */
|
||||
/* #undef HAVE__NL_PAPER_HEIGHT */
|
||||
|
||||
/* Define if _NL_PAPER_WIDTH is available */
|
||||
/* #undef HAVE__NL_PAPER_WIDTH */
|
||||
|
||||
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
|
||||
/* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#define LT_OBJDIR ".libs/"
|
||||
|
||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||
#ifndef _MSC_VER
|
||||
/* #undef NO_MINUS_C_MINUS_O */
|
||||
#else
|
||||
#define NO_MINUS_C_MINUS_O 1
|
||||
#endif
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "gtk+"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "gtk+ @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "gtk+"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
|
||||
|
||||
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||
etc. */
|
||||
/* #undef QUARTZ_RELOCATION */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if gmodule works and should be used */
|
||||
#define USE_GMODULE 1
|
||||
|
||||
/* Define to 1 if XInput 2.0 is available */
|
||||
/* #undef XINPUT_2 */
|
||||
|
||||
/* Define to 1 if XInput 2.2 is available */
|
||||
/* #undef XINPUT_2_2 */
|
||||
|
||||
/* Define to 1 if XInput 2.4 is available */
|
||||
/* #undef XINPUT_2_4 */
|
||||
|
||||
/* Define to 1 if the X Window System is missing or not being used. */
|
||||
/* #undef X_DISPLAY_MISSING */
|
||||
|
||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
/* # define _DARWIN_USE_64_BIT_INODE 1 */
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
/* #undef _FILE_OFFSET_BITS */
|
||||
|
||||
/* Define when building a shared library for Windows */
|
||||
#define DLL_EXPORT 1
|
||||
|
||||
/* defines how to decorate public symbols while building */
|
||||
#ifdef DLL_EXPORT
|
||||
# ifdef _MSC_VER
|
||||
# define _GDK_EXTERN __declspec (dllexport) extern
|
||||
# else
|
||||
# define _GDK_EXTERN __attribute__((visibility("default"))) __declspec (dllexport) extern
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
/* #undef _LARGE_FILES */
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#define gid_t int
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#define uid_t int
|
2031
configure.ac
2031
configure.ac
File diff suppressed because it is too large
Load Diff
@ -1,9 +0,0 @@
|
||||
## Makefile.am for gtk+/demos
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gtk-demo widget-factory icon-browser
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,132 +0,0 @@
|
||||
## Makefile.am for gtk+/demos
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
include $(srcdir)/demos-sources.mak
|
||||
|
||||
demos_opt =
|
||||
|
||||
if BUILD_FONT_DEMO
|
||||
demos_opt += $(font_features_demo)
|
||||
endif
|
||||
|
||||
if OS_UNIX
|
||||
demos_opt += $(page_setup_demo)
|
||||
endif
|
||||
|
||||
demos = $(demos_base) $(demos_opt)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
bin_PROGRAMS = gtk3-demo gtk3-demo-application
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk3-demo.desktop
|
||||
|
||||
BUILT_SOURCES = demos.h demo_resources.c
|
||||
|
||||
EXTRA_DIST += \
|
||||
data/source.svg \
|
||||
data/symbolic-source.svg \
|
||||
demo.gresource.xml \
|
||||
$(resource_files) \
|
||||
makefile.msc.in \
|
||||
org.gtk.Demo.gschema.xml \
|
||||
demos.h.win32 \
|
||||
meson.build \
|
||||
geninclude.py
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.Demo.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
demos.h: $(demos) geninclude.pl
|
||||
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
||||
|
||||
demos.h.win32: $(demos_base) geninclude.pl
|
||||
$(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos_base)) > demos.h.win32
|
||||
|
||||
nodist_gtk3_demo_SOURCES = demos.h demo_resources.c
|
||||
|
||||
gtk3_demo_SOURCES = \
|
||||
$(demos) \
|
||||
gtkfishbowl.c \
|
||||
gtkfishbowl.h \
|
||||
main.c
|
||||
|
||||
gtk3_demo_DEPENDENCIES = $(DEPS)
|
||||
gtk3_demo_LDADD = $(LDADDS)
|
||||
gtk3_demo_LDFLAGS = -export-dynamic
|
||||
|
||||
nodist_gtk3_demo_application_SOURCES = demo_resources.c
|
||||
|
||||
gtk3_demo_application_SOURCES = application.c
|
||||
|
||||
gtk3_demo_application_LDADD = $(LDADDS)
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/demo.gresource.xml)
|
||||
|
||||
demo_resources.c: demo.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
||||
|
||||
iconthemedir = $(datadir)/icons/hicolor
|
||||
|
||||
appsicon16dir = $(iconthemedir)/16x16/apps
|
||||
appsicon22dir = $(iconthemedir)/22x22/apps
|
||||
appsicon24dir = $(iconthemedir)/24x24/apps
|
||||
appsicon32dir = $(iconthemedir)/32x32/apps
|
||||
appsicon48dir = $(iconthemedir)/48x48/apps
|
||||
appsicon256dir = $(iconthemedir)/256x256/apps
|
||||
appsicon512dir = $(iconthemedir)/512x512/apps
|
||||
appsiconscalabledir = $(iconthemedir)/scalable/apps
|
||||
|
||||
dist_appsicon16_DATA = data/16x16/gtk3-demo.png data/16x16/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon22_DATA = data/22x22/gtk3-demo.png data/22x22/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon24_DATA = data/24x24/gtk3-demo.png data/24x24/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon32_DATA = data/32x32/gtk3-demo.png data/32x32/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon48_DATA = data/48x48/gtk3-demo.png data/48x48/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon256_DATA = data/256x256/gtk3-demo.png data/256x256/gtk3-demo-symbolic.symbolic.png
|
||||
dist_appsicon512_DATA = data/512x512/gtk3-demo.png data/512x512/gtk3-demo-symbolic.symbolic.png
|
||||
|
||||
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||
|
||||
install-data-hook: install-update-icon-cache
|
||||
uninstall-hook: uninstall-update-icon-cache
|
||||
|
||||
install-update-icon-cache:
|
||||
$(AM_V_at)$(POST_INSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
uninstall-update-icon-cache:
|
||||
$(AM_V_at)$(POST_UNINSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gtk3-demo
|
||||
|
||||
gtk3_demo_FILES = $(gtk3_demo_SOURCES)
|
||||
gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gtk3-demo.vcproj
|
||||
|
||||
DISTCLEANFILES = demos.h demos.h.win32 demo_resources.c
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,43 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
bin_PROGRAMS = gtk3-icon-browser
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk3-icon-browser.desktop
|
||||
|
||||
nodist_gtk3_icon_browser_SOURCES = resources.c
|
||||
|
||||
gtk3_icon_browser_SOURCES = \
|
||||
main.c \
|
||||
iconbrowserapp.c iconbrowserapp.h \
|
||||
iconbrowserwin.c iconbrowserwin.h \
|
||||
iconstore.c iconstore.h
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c
|
||||
|
||||
DISTCLEANFILES = resources.c
|
||||
|
||||
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
menus.ui \
|
||||
iconbrowser.gresource.xml \
|
||||
window.ui \
|
||||
icon.list \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,76 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
bin_PROGRAMS = gtk3-widget-factory
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
dist_desktop_DATA = gtk3-widget-factory.desktop
|
||||
|
||||
nodist_gtk3_widget_factory_SOURCES = widget_factory_resources.c
|
||||
|
||||
gtk3_widget_factory_SOURCES = widget-factory.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
widget_factory_resources.c
|
||||
|
||||
gtk3_widget_factory_DEPENDENCIES = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
gtk3_widget_factory_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
gtk3_widget_factory_LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
widget_factory_resources.c: widget-factory.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/widget-factory.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
||||
|
||||
|
||||
iconthemedir = $(datadir)/icons/hicolor
|
||||
|
||||
appsicon16dir = $(iconthemedir)/16x16/apps
|
||||
appsicon22dir = $(iconthemedir)/22x22/apps
|
||||
appsicon24dir = $(iconthemedir)/24x24/apps
|
||||
appsicon32dir = $(iconthemedir)/32x32/apps
|
||||
appsicon48dir = $(iconthemedir)/48x48/apps
|
||||
appsicon256dir = $(iconthemedir)/256x256/apps
|
||||
appsicon512dir = $(iconthemedir)/512x512/apps
|
||||
|
||||
dist_appsicon16_DATA = data/16x16/gtk3-widget-factory.png data/16x16/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon22_DATA = data/22x22/gtk3-widget-factory.png data/22x22/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon24_DATA = data/24x24/gtk3-widget-factory.png data/24x24/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon32_DATA = data/32x32/gtk3-widget-factory.png data/32x32/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon48_DATA = data/48x48/gtk3-widget-factory.png data/48x48/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon256_DATA = data/256x256/gtk3-widget-factory.png data/256x256/gtk3-widget-factory-symbolic.symbolic.png
|
||||
dist_appsicon512_DATA = data/512x512/gtk3-widget-factory.png
|
||||
|
||||
update_icon_cache = $(top_builddir)/gtk/gtk-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
||||
|
||||
install-data-hook: install-update-icon-cache
|
||||
uninstall-hook: uninstall-update-icon-cache
|
||||
|
||||
install-update-icon-cache:
|
||||
$(AM_V_at)$(POST_INSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
uninstall-update-icon-cache:
|
||||
$(AM_V_at)$(POST_UNINSTALL)
|
||||
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
||||
|
||||
EXTRA_DIST += \
|
||||
widget-factory.ui \
|
||||
widget-factory.css \
|
||||
help-overlay.ui \
|
||||
widget-factory.gresource.xml \
|
||||
data/source.svg \
|
||||
data/symbolic-source.svg \
|
||||
meson.build
|
||||
|
||||
DISTCLEANFILES = widget_factory_resources.c
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,21 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = reference tools
|
||||
|
||||
EXTRA_DIST += \
|
||||
CODING-STYLE \
|
||||
developers.txt \
|
||||
dnd_internals.txt \
|
||||
focus_tracking.txt \
|
||||
iconcache.txt \
|
||||
RELEASE-HOWTO \
|
||||
sizing-test.txt \
|
||||
styles.txt \
|
||||
text_widget_internals.txt \
|
||||
tree-column-sizing.png \
|
||||
tree-column-sizing.txt \
|
||||
widget_geometry.txt \
|
||||
widget_system.txt
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,11 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gdk gtk libgail-util
|
||||
|
||||
GITIGNOREFILES = */*.1
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,212 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.6
|
||||
|
||||
# The name of the module.
|
||||
DOC_MODULE=gdk3
|
||||
|
||||
# The top-level SGML file.
|
||||
DOC_MAIN_SGML_FILE=gdk-docs.sgml
|
||||
|
||||
# Extra options to supply to gtkdoc-scan
|
||||
SCAN_OPTIONS=--deprecated-guards=GDK_DISABLE_DEPRECATED \
|
||||
--ignore-decorators=G_GNUC_WARN_UNUSED_RESULT
|
||||
|
||||
# The directory containing the source code. Relative to $(srcdir)
|
||||
DOC_SOURCE_DIR=$(top_srcdir)/gdk $(top_srcdir)/gdk/x11
|
||||
|
||||
# Used for dependencies
|
||||
HFILE_GLOB=$(top_srcdir)/gdk/*.h $(top_srcdir)/gdk/x11/gdkx.h
|
||||
CFILE_GLOB=$(top_srcdir)/gdk/*.c
|
||||
|
||||
# Header files to ignore when scanning
|
||||
IGNORE_HFILES= \
|
||||
gdkintl.h \
|
||||
gdkmarshalers.h \
|
||||
gdkkeysyms.h \
|
||||
gdkinternals.h \
|
||||
gdkprivate.h \
|
||||
gdk-private.h \
|
||||
gdkapplaunchcontextprivate.h \
|
||||
gdkcursorprivate.h \
|
||||
gdkdevicemanagerprivate.h \
|
||||
gdkdeviceprivate.h \
|
||||
gdkdisplaymanagerprivate.h \
|
||||
gdkdisplayprivate.h \
|
||||
gdkdndprivate.h \
|
||||
gdkframeclockprivate.h \
|
||||
gdkglcontextprivate.h \
|
||||
gdkkeysprivate.h \
|
||||
gdkscreenprivate.h \
|
||||
gdkseatdefaultprivate.h \
|
||||
gdkseatprivate.h \
|
||||
gdkvisualprivate.h \
|
||||
keyname-table.h \
|
||||
win32 \
|
||||
x11 \
|
||||
quartz \
|
||||
broadway \
|
||||
wayland
|
||||
|
||||
# Extra files to add when scanning
|
||||
EXTRA_HFILES= \
|
||||
$(top_srcdir)/gdk/x11/gdkx.h
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
GTKDOC_LIBS = $(top_builddir)/gdk/libgdk-3.la $(GDK_DEP_LIBS)
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS=--output-format=xml --name-space=gdk
|
||||
|
||||
# Extra SGML files that are included by DOC_MAIN_SGML_FILE
|
||||
content_files = \
|
||||
version.xml
|
||||
|
||||
# Images to copy into HTML directory
|
||||
HTML_IMAGES = \
|
||||
images/rotated-text.png \
|
||||
images/X_cursor.png \
|
||||
images/arrow.png \
|
||||
images/based_arrow_down.png \
|
||||
images/based_arrow_up.png \
|
||||
images/boat.png \
|
||||
images/bogosity.png \
|
||||
images/bottom_left_corner.png \
|
||||
images/bottom_right_corner.png \
|
||||
images/bottom_side.png \
|
||||
images/bottom_tee.png \
|
||||
images/box_spiral.png \
|
||||
images/center_ptr.png \
|
||||
images/circle.png \
|
||||
images/clock.png \
|
||||
images/coffee_mug.png \
|
||||
images/cross.png \
|
||||
images/cross_reverse.png \
|
||||
images/crosshair.png \
|
||||
images/diamond_cross.png \
|
||||
images/dot.png \
|
||||
images/dotbox.png \
|
||||
images/double_arrow.png \
|
||||
images/draft_large.png \
|
||||
images/draft_small.png \
|
||||
images/draped_box.png \
|
||||
images/exchange.png \
|
||||
images/fleur.png \
|
||||
images/gobbler.png \
|
||||
images/gumby.png \
|
||||
images/hand1.png \
|
||||
images/hand2.png \
|
||||
images/heart.png \
|
||||
images/icon.png \
|
||||
images/iron_cross.png \
|
||||
images/left_ptr.png \
|
||||
images/left_side.png \
|
||||
images/left_tee.png \
|
||||
images/leftbutton.png \
|
||||
images/ll_angle.png \
|
||||
images/lr_angle.png \
|
||||
images/man.png \
|
||||
images/middlebutton.png \
|
||||
images/mouse.png \
|
||||
images/pencil.png \
|
||||
images/pirate.png \
|
||||
images/plus.png \
|
||||
images/question_arrow.png \
|
||||
images/right_ptr.png \
|
||||
images/right_side.png \
|
||||
images/right_tee.png \
|
||||
images/rightbutton.png \
|
||||
images/rtl_logo.png \
|
||||
images/sailboat.png \
|
||||
images/sb_down_arrow.png \
|
||||
images/sb_h_double_arrow.png \
|
||||
images/sb_left_arrow.png \
|
||||
images/sb_right_arrow.png \
|
||||
images/sb_up_arrow.png \
|
||||
images/sb_v_double_arrow.png \
|
||||
images/shuttle.png \
|
||||
images/sizing.png \
|
||||
images/spider.png \
|
||||
images/spraycan.png \
|
||||
images/star.png \
|
||||
images/target.png \
|
||||
images/tcross.png \
|
||||
images/top_left_arrow.png \
|
||||
images/top_left_corner.png \
|
||||
images/top_right_corner.png \
|
||||
images/top_side.png \
|
||||
images/top_tee.png \
|
||||
images/trek.png \
|
||||
images/ul_angle.png \
|
||||
images/umbrella.png \
|
||||
images/ur_angle.png \
|
||||
images/watch.png \
|
||||
images/xterm.png \
|
||||
images/alias_cursor.png \
|
||||
images/all_scroll_cursor.png \
|
||||
images/cell_cursor.png \
|
||||
images/col_resize_cursor.png \
|
||||
images/copy_cursor.png \
|
||||
images/crosshair_cursor.png \
|
||||
images/default_cursor.png \
|
||||
images/e_resize_cursor.png \
|
||||
images/ew_resize_cursor.png \
|
||||
images/grabbing_cursor.png \
|
||||
images/grab_cursor.png \
|
||||
images/hand_cursor.png \
|
||||
images/context_menu_cursor.png \
|
||||
images/help_cursor.png \
|
||||
images/move_cursor.png \
|
||||
images/ne_resize_cursor.png \
|
||||
images/nesw_resize_cursor.png \
|
||||
images/no_drop_cursor.png \
|
||||
images/not_allowed_cursor.png \
|
||||
images/n_resize_cursor.png \
|
||||
images/ns_resize_cursor.png \
|
||||
images/nw_resize_cursor.png \
|
||||
images/nwse_resize_cursor.png \
|
||||
images/pointer_cursor.png \
|
||||
images/progress_cursor.png \
|
||||
images/row_resize_cursor.png \
|
||||
images/se_resize_cursor.png \
|
||||
images/s_resize_cursor.png \
|
||||
images/sw_resize_cursor.png \
|
||||
images/text_cursor.png \
|
||||
images/vertical_text_cursor.png \
|
||||
images/wait_cursor.png \
|
||||
images/w_resize_cursor.png \
|
||||
images/X_cursor.png \
|
||||
images/zoom_in_cursor.png \
|
||||
images/zoom_out_cursor.png
|
||||
|
||||
if ENABLE_DOC_CROSS_REFERENCES
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS= \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += \
|
||||
version.xml.in \
|
||||
meson.build
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
#TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,562 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.6
|
||||
|
||||
# The name of the module.
|
||||
DOC_MODULE=gtk3
|
||||
|
||||
# The top-level SGML file.
|
||||
DOC_MAIN_SGML_FILE=gtk-docs.sgml
|
||||
|
||||
# Extra options to supply to gtkdoc-scan
|
||||
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
|
||||
|
||||
# The directory containing the source code. Relative to $(srcdir)
|
||||
DOC_SOURCE_DIR=$(top_srcdir)/gtk
|
||||
|
||||
# Used for dependencies
|
||||
HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||
CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||
|
||||
# Header files to ignore when scanning
|
||||
IGNORE_HFILES = \
|
||||
inspector \
|
||||
a11y \
|
||||
gtkaccelgroupprivate.h \
|
||||
gtkaccelmapprivate.h \
|
||||
gtkadjustmentprivate.h \
|
||||
gtkallocatedbitmaskprivate.h \
|
||||
gtkappchooserprivate.h \
|
||||
gtkapplicationaccelsprivate.h \
|
||||
gtkapplicationprivate.h \
|
||||
gtkbindingsprivate.h \
|
||||
gtkbitmaskprivate.h \
|
||||
gtkboxprivate.h \
|
||||
gtkbuilderprivate.h \
|
||||
gtkbuttonprivate.h \
|
||||
gtkcairoblurprivate.h \
|
||||
gtkcellareaboxcontextprivate.h \
|
||||
gtkclipboardprivate.h \
|
||||
gtkcolorchooserprivate.h \
|
||||
gtkcoloreditorprivate.h \
|
||||
gtkcolorplaneprivate.h \
|
||||
gtkcolorscaleprivate.h \
|
||||
gtkcolorswatchprivate.h \
|
||||
gtkcomboboxprivate.h \
|
||||
gtkcontainerprivate.h \
|
||||
gtkcssanimatedstyleprivate.h \
|
||||
gtkcssanimationprivate.h \
|
||||
gtkcssarrayvalueprivate.h \
|
||||
gtkcssbgsizevalueprivate.h \
|
||||
gtkcssbordervalueprivate.h \
|
||||
gtkcsscolorvalueprivate.h \
|
||||
gtkcsscornervalueprivate.h \
|
||||
gtkcsscustompropertyprivate.h \
|
||||
gtkcsseasevalueprivate.h \
|
||||
gtkcssenginevalueprivate.h \
|
||||
gtkcssenumvalueprivate.h \
|
||||
gtkcssiconthemevalueprivate.h \
|
||||
gtkcssimagebuiltinprivate.h \
|
||||
gtkcssimagecrossfadeprivate.h \
|
||||
gtkcssimagegradientprivate.h \
|
||||
gtkcssimageiconthemeprivate.h \
|
||||
gtkcssimagelinearprivate.h \
|
||||
gtkcssimageprivate.h \
|
||||
gtkcssimagescaledprivate.h \
|
||||
gtkcssimagesurfaceprivate.h \
|
||||
gtkcssimageurlprivate.h \
|
||||
gtkcssimagevalueprivate.h \
|
||||
gtkcssimagewin32private.h \
|
||||
gtkcssinheritvalueprivate.h \
|
||||
gtkcssinitialvalueprivate.h \
|
||||
gtkcsskeyframesprivate.h \
|
||||
gtkcsslookupprivate.h \
|
||||
gtkcssmatcherprivate.h \
|
||||
gtkcssnodeprivate.h \
|
||||
gtkcssnodedeclarationprivate.h \
|
||||
gtkcssnumbervalueprivate.h \
|
||||
gtkcsspathnodeprivate.h \
|
||||
gtkcssparserprivate.h \
|
||||
gtkcsspositionvalueprivate.h \
|
||||
gtkcssproviderprivate.h \
|
||||
gtkcssrepeatvalueprivate.h \
|
||||
gtkcssrgbavalueprivate.h \
|
||||
gtkcsssectionprivate.h \
|
||||
gtkcssselectorprivate.h \
|
||||
gtkcssshadowsvalueprivate.h \
|
||||
gtkcssshadowvalueprivate.h \
|
||||
gtkcssshorthandpropertyprivate.h\
|
||||
gtkcssstaticstyleprivate.h \
|
||||
gtkcssstringvalueprivate.h \
|
||||
gtkcssstylefuncsprivate.h \
|
||||
gtkcssstyleprivate.h \
|
||||
gtkcssstylepropertyprivate.h \
|
||||
gtkcsstransformvalueprivate.h \
|
||||
gtkcsstransientnodeprivate.h \
|
||||
gtkcsstransitionprivate.h \
|
||||
gtkcsstypedvalueprivate.h \
|
||||
gtkcsstypesprivate.h \
|
||||
gtkcssunsetvalueprivate.h \
|
||||
gtkcssvalueprivate.h \
|
||||
gtkcsswidgetnodeprivate.h \
|
||||
gtkdialogprivate.h \
|
||||
gtkentryprivate.h \
|
||||
gtkeventcontrollerprivate.h \
|
||||
gtkfilechooserprivate.h \
|
||||
gtkfilechooserwidgetprivate.h \
|
||||
gtkfontchooserprivate.h \
|
||||
gtkgesturedragprivate.h \
|
||||
gtkgesturelongpressprivate.h \
|
||||
gtkgesturemultipressprivate.h \
|
||||
gtkgesturepanprivate.h \
|
||||
gtkgestureprivate.h \
|
||||
gtkgesturerotateprivate.h \
|
||||
gtkgesturesingleprivate.h \
|
||||
gtkgestureswipeprivate.h \
|
||||
gtkgesturezoomprivate.h \
|
||||
gtkheaderbarprivate.h \
|
||||
gtkhslaprivate.h \
|
||||
gtkiconhelperprivate.h \
|
||||
gtkiconviewprivate.h \
|
||||
gtkimageprivate.h \
|
||||
gtkimmoduleprivate.h \
|
||||
gtklabelprivate.h \
|
||||
gtklockbuttonprivate.h \
|
||||
gtkmagnifierprivate.h \
|
||||
gtkmenubuttonprivate.h \
|
||||
gtkmenuitemprivate.h \
|
||||
gtkmenuprivate.h \
|
||||
gtkmenushellprivate.h \
|
||||
gtkmodulesprivate.h \
|
||||
gtkmountoperationprivate.h \
|
||||
gtkorientableprivate.h \
|
||||
gtkpixelcacheprivate.h \
|
||||
gtkplacessidebarprivate.h \
|
||||
gtkplacesviewprivate.h \
|
||||
gtkplacesviewrowprivate.h \
|
||||
gtkpopoverprivate.h \
|
||||
gtkprinter-private.h \
|
||||
gtkprintoperation-private.h \
|
||||
gtkprivate.h \
|
||||
gtkrangeprivate.h \
|
||||
gtkrecentchooserprivate.h \
|
||||
gtkrenderbackgroundprivate.h \
|
||||
gtkrenderborderprivate.h \
|
||||
gtkrendericonprivate.h \
|
||||
gtkrenderprivate.h \
|
||||
gtkroundedboxprivate.h \
|
||||
gtkscaleprivate.h \
|
||||
gtksearchengine.h \
|
||||
gtksearchenginemodel.h \
|
||||
gtksearchenginequartz.h \
|
||||
gtksearchenginesimple.h \
|
||||
gtksearchenginetracker.h \
|
||||
gtksearchentryprivate.h \
|
||||
gtkselectionprivate.h \
|
||||
gtksettingsprivate.h \
|
||||
gtksidebarrowprivate.h \
|
||||
gtksizegroup-private.h \
|
||||
gtksizerequestcacheprivate.h \
|
||||
gtksocketprivate.h \
|
||||
gtkstyleanimationprivate.h \
|
||||
gtkstylecascadeprivate.h \
|
||||
gtkstylecontextprivate.h \
|
||||
gtkstylepropertyprivate.h \
|
||||
gtkstyleproviderprivate.h \
|
||||
gtktextattributesprivate.h \
|
||||
gtktextchildprivate.h \
|
||||
gtktexthandleprivate.h \
|
||||
gtktextiterprivate.h \
|
||||
gtktextmarkprivate.h \
|
||||
gtktexttagprivate.h \
|
||||
gtktogglebuttonprivate.h \
|
||||
gtktoolbarprivate.h \
|
||||
gtktoolpaletteprivate.h \
|
||||
gtktooltipprivate.h \
|
||||
gtktooltipwindowprivate.h \
|
||||
gtktreeprivate.h \
|
||||
gtkwidgetprivate.h \
|
||||
gtkwin32themeprivate.h \
|
||||
gtkwindowprivate.h \
|
||||
fnmatch.h \
|
||||
gtkactionmuxer.h \
|
||||
gtkactionobserver.h \
|
||||
gtkactionobservable.h \
|
||||
gtk9slice.h \
|
||||
gtkanimationdescription.h \
|
||||
gtkbitmaskprivateimpl.h \
|
||||
gtkbookmarksmanager.h \
|
||||
gtkdbusgenerated.c \
|
||||
gtkdbusgenerated.h \
|
||||
gtkdebug.h \
|
||||
gtkactionhelper.h \
|
||||
gtkdndcursors.h \
|
||||
gtkfilechooserdefault.h \
|
||||
gtkfilechooserembed.h \
|
||||
gtkfilechooserentry.h \
|
||||
gtkfilechoosersettings.h \
|
||||
gtkfilechooserutils.h \
|
||||
gtkfilesystem.h \
|
||||
gtkfilesystemmodel.h \
|
||||
gtkfilesystemunix.h \
|
||||
gtkfilesystemwin32.h \
|
||||
gtkfontchooserutils.h \
|
||||
gtkiconcache.h \
|
||||
gtkiconcachevalidator.h \
|
||||
gtkiconthemeparser.h \
|
||||
gtkintl.h \
|
||||
gtkkeyhash.h \
|
||||
gtkkineticscrolling.h \
|
||||
gtkmarshal.h \
|
||||
gtkmnemonichash.h \
|
||||
gtkmenutracker.h \
|
||||
gtkmenutrackeritem.h \
|
||||
gtkmenusectionbox.h \
|
||||
gtkmodelmenu.h \
|
||||
gtkmodelmenuitem.h \
|
||||
gtkmodifierstyle.h \
|
||||
gtkpathbar.h \
|
||||
gtkprintbackend.h \
|
||||
gtkprinteroption.h \
|
||||
gtkprinteroptionset.h \
|
||||
gtkprinteroptionwidget.h \
|
||||
gtkprint-win32.h \
|
||||
gtkprintutils.h \
|
||||
gtkprivate.h \
|
||||
gtkprivatetypebuiltins.h \
|
||||
gtkquery.h \
|
||||
gtkrbtree.h \
|
||||
gtkrecentchooserdefault.h \
|
||||
gtkrecentchooserutils.h \
|
||||
gtksearchengine.h \
|
||||
gtksearchenginetracker.h \
|
||||
gtksearchenginesimple.h \
|
||||
gtksearchenginequartz.h \
|
||||
gtksequence.h \
|
||||
gtksocketprivate.h \
|
||||
gtktextbtree.h \
|
||||
gtktextbufferserialize.h \
|
||||
gtktextdisplay.h \
|
||||
gtktextlayout.h \
|
||||
gtktextsegment.h \
|
||||
gtktexttypes.h \
|
||||
gtktextutil.h \
|
||||
gtktimeline.h \
|
||||
gtkthemes.h \
|
||||
gtktrashmonitor.h \
|
||||
gtktrayicon.h \
|
||||
gtktreedatalist.h \
|
||||
gtktreemenu.h \
|
||||
gtktypebuiltins.h \
|
||||
gtkxembed.h \
|
||||
gtkwin32embed.h \
|
||||
gtkwin32embedwidget.h \
|
||||
gtkwindow-decorate.h \
|
||||
xdgmime \
|
||||
xembed.h
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_ENABLE_BROKEN \
|
||||
-Wno-deprecated-declarations \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
CPPFLAGS += \
|
||||
-UGTK_DISABLE_SINGLE_INCLUDES
|
||||
|
||||
GTKDOC_LIBS = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb
|
||||
MKDB_OPTIONS=--output-format=xml --name-space=gtk --default-includes=gtk/gtk.h
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
||||
content_files = \
|
||||
broadway.xml \
|
||||
broadwayd.xml \
|
||||
building.sgml \
|
||||
compiling.sgml \
|
||||
css-overview.xml \
|
||||
css-properties.xml \
|
||||
drawing-model.xml \
|
||||
$(builddir)/getting_started.xml \
|
||||
glossary.xml \
|
||||
gtk3-demo-application.xml \
|
||||
gtk3-demo.xml \
|
||||
gtk3-icon-browser.xml \
|
||||
gtk3-widget-factory.xml \
|
||||
gtk-builder-tool.xml \
|
||||
gtk-encode-symbolic-svg.xml \
|
||||
gtk-launch.xml \
|
||||
gtk-query-immodules-3.0.xml \
|
||||
gtk-query-settings.xml \
|
||||
gtk-update-icon-cache.xml \
|
||||
input-handling.xml \
|
||||
migrating-2to3.xml \
|
||||
migrating-3xtoy.xml \
|
||||
migrating-checklist.sgml \
|
||||
migrating-GtkGrid.xml \
|
||||
migrating-GtkStyleContext.xml \
|
||||
migrating-smclient-GtkApplication.xml \
|
||||
migrating-unique-GtkApplication.xml \
|
||||
osx.sgml \
|
||||
overview.xml \
|
||||
question_index.sgml \
|
||||
resources.sgml \
|
||||
running.sgml \
|
||||
text_widget.sgml \
|
||||
tree_widget.sgml \
|
||||
version.xml \
|
||||
visual_index.xml \
|
||||
wayland.xml \
|
||||
windows.sgml \
|
||||
x11.sgml
|
||||
|
||||
expand_content_files = \
|
||||
compiling.sgml \
|
||||
drawing-model.xml \
|
||||
$(builddir)/getting_started.xml \
|
||||
glossary.xml \
|
||||
input-handling.xml \
|
||||
migrating-2to3.xml \
|
||||
migrating-3xtoy.xml \
|
||||
migrating-checklist.sgml \
|
||||
migrating-GtkGrid.xml \
|
||||
migrating-GtkStyleContext.xml \
|
||||
migrating-smclient-GtkApplication.xml \
|
||||
migrating-unique-GtkApplication.xml \
|
||||
question_index.sgml \
|
||||
text_widget.sgml \
|
||||
tree_widget.sgml
|
||||
|
||||
# Images to copy into HTML directory
|
||||
HTML_IMAGES = \
|
||||
$(srcdir)/images/aboutdialog.png \
|
||||
$(srcdir)/images/accel-label.png \
|
||||
$(srcdir)/images/action-bar.png \
|
||||
$(srcdir)/images/appchooserbutton.png \
|
||||
$(srcdir)/images/appchooserdialog.png \
|
||||
$(srcdir)/images/assistant.png \
|
||||
$(srcdir)/images/box-packing.png \
|
||||
$(srcdir)/images/box-expand.png \
|
||||
$(srcdir)/images/button.png \
|
||||
$(srcdir)/images/check-button.png \
|
||||
$(srcdir)/images/color-button.png \
|
||||
$(srcdir)/images/colorchooser.png \
|
||||
$(srcdir)/images/combo-box.png \
|
||||
$(srcdir)/images/combo-box-entry.png \
|
||||
$(srcdir)/images/combo-box-text.png \
|
||||
$(srcdir)/images/entry.png \
|
||||
$(srcdir)/images/figure-hierarchical-drawing.png \
|
||||
$(srcdir)/images/figure-windowed-label.png \
|
||||
$(srcdir)/images/file-button.png \
|
||||
$(srcdir)/images/filechooser.png \
|
||||
$(srcdir)/images/font-button.png \
|
||||
$(srcdir)/images/fontchooser.png \
|
||||
$(srcdir)/images/frame.png \
|
||||
$(srcdir)/images/glarea.png \
|
||||
$(srcdir)/images/headerbar.png \
|
||||
$(srcdir)/images/icon-view.png \
|
||||
$(srcdir)/images/image.png \
|
||||
$(srcdir)/images/info-bar.png \
|
||||
$(srcdir)/images/label.png \
|
||||
$(srcdir)/images/levelbar.png \
|
||||
$(srcdir)/images/link-button.png \
|
||||
$(srcdir)/images/list-and-tree.png \
|
||||
$(srcdir)/images/lock-button.png \
|
||||
$(srcdir)/images/lockbutton.png \
|
||||
$(srcdir)/images/lockbutton-locked.png \
|
||||
$(srcdir)/images/lockbutton-unlocked.png \
|
||||
$(srcdir)/images/lockbutton-sorry.png \
|
||||
$(srcdir)/images/menubar.png \
|
||||
$(srcdir)/images/menu-button.png \
|
||||
$(srcdir)/images/messagedialog.png \
|
||||
$(srcdir)/images/multiline-text.png \
|
||||
$(srcdir)/images/notebook.png \
|
||||
$(srcdir)/images/panes.png \
|
||||
$(srcdir)/images/pagesetupdialog.png \
|
||||
$(srcdir)/images/placessidebar.png \
|
||||
$(srcdir)/images/popup-anchors.png \
|
||||
$(srcdir)/images/popup-at.svg \
|
||||
$(srcdir)/images/popup-flip.png \
|
||||
$(srcdir)/images/popup-slide.png \
|
||||
$(srcdir)/images/printdialog.png \
|
||||
$(srcdir)/images/progressbar.png \
|
||||
$(srcdir)/images/radio-group.png \
|
||||
$(srcdir)/images/recentchooserdialog.png \
|
||||
$(srcdir)/images/scales.png \
|
||||
$(srcdir)/images/scrollbar.png \
|
||||
$(srcdir)/images/scrolledwindow.png \
|
||||
$(srcdir)/images/search-bar.png \
|
||||
$(srcdir)/images/search-entry.png \
|
||||
$(srcdir)/images/separator.png \
|
||||
$(srcdir)/images/sidebar.png \
|
||||
$(srcdir)/images/spinbutton.png \
|
||||
$(srcdir)/images/spinner.png \
|
||||
$(srcdir)/images/stack.png \
|
||||
$(srcdir)/images/stackswitcher.png \
|
||||
$(srcdir)/images/statusbar.png \
|
||||
$(srcdir)/images/toggle-button.png \
|
||||
$(srcdir)/images/toolbar.png \
|
||||
$(srcdir)/images/toolpalette.png \
|
||||
$(srcdir)/images/tree-view-coordinates.png \
|
||||
$(srcdir)/images/volumebutton.png \
|
||||
$(srcdir)/images/window.png \
|
||||
$(srcdir)/images/layout-btlr.png \
|
||||
$(srcdir)/images/layout-btrl.png \
|
||||
$(srcdir)/images/layout-lrbt.png \
|
||||
$(srcdir)/images/layout-lrtb.png \
|
||||
$(srcdir)/images/layout-rlbt.png \
|
||||
$(srcdir)/images/layout-rltb.png \
|
||||
$(srcdir)/images/layout-tblr.png \
|
||||
$(srcdir)/images/layout-tbrl.png \
|
||||
$(srcdir)/images/widget-hvalign.png \
|
||||
$(srcdir)/images/window-default.png \
|
||||
$(srcdir)/images/hello-world.png \
|
||||
$(srcdir)/images/grid-packing.png \
|
||||
$(srcdir)/images/drawing.png \
|
||||
$(srcdir)/images/switch.png \
|
||||
$(srcdir)/images/linear.png \
|
||||
$(srcdir)/images/ease.png \
|
||||
$(srcdir)/images/ease-in-out.png \
|
||||
$(srcdir)/images/ease-in.png \
|
||||
$(srcdir)/images/ease-out.png \
|
||||
$(srcdir)/images/gradient1.png \
|
||||
$(srcdir)/images/gradient2.png \
|
||||
$(srcdir)/images/gradient3.png \
|
||||
$(srcdir)/images/gradient4.png \
|
||||
$(srcdir)/images/border1.png \
|
||||
$(srcdir)/images/border2.png \
|
||||
$(srcdir)/images/border3.png \
|
||||
$(srcdir)/images/slices.png \
|
||||
$(srcdir)/images/checks.png \
|
||||
$(srcdir)/images/options.png \
|
||||
$(srcdir)/images/arrows.png \
|
||||
$(srcdir)/images/expanders.png \
|
||||
$(srcdir)/images/background.png \
|
||||
$(srcdir)/images/frames.png \
|
||||
$(srcdir)/images/frame-gap.png \
|
||||
$(srcdir)/images/sliders.png \
|
||||
$(srcdir)/images/focus.png \
|
||||
$(srcdir)/images/handles.png \
|
||||
$(srcdir)/images/extensions.png \
|
||||
$(srcdir)/images/numerableicon.png \
|
||||
$(srcdir)/images/numerableicon2.png \
|
||||
$(srcdir)/images/bloatpad-osx.png \
|
||||
$(srcdir)/images/bloatpad-gnome.png \
|
||||
$(srcdir)/images/bloatpad-xfce.png \
|
||||
$(srcdir)/images/down-center.png \
|
||||
$(srcdir)/images/down-end.png \
|
||||
$(srcdir)/images/down-start.png \
|
||||
$(srcdir)/images/left-center.png \
|
||||
$(srcdir)/images/left-end.png \
|
||||
$(srcdir)/images/left-start.png \
|
||||
$(srcdir)/images/right-center.png \
|
||||
$(srcdir)/images/right-end.png \
|
||||
$(srcdir)/images/right-start.png \
|
||||
$(srcdir)/images/up-center.png \
|
||||
$(srcdir)/images/up-end.png \
|
||||
$(srcdir)/images/up-start.png \
|
||||
$(srcdir)/images/list-box.png \
|
||||
$(srcdir)/images/getting-started-app1.png \
|
||||
$(srcdir)/images/getting-started-app2.png \
|
||||
$(srcdir)/images/getting-started-app3.png \
|
||||
$(srcdir)/images/getting-started-app4.png \
|
||||
$(srcdir)/images/getting-started-app6.png \
|
||||
$(srcdir)/images/getting-started-app7.png \
|
||||
$(srcdir)/images/getting-started-app8.png \
|
||||
$(srcdir)/images/getting-started-app9.png \
|
||||
$(srcdir)/images/getting-started-app10.png \
|
||||
$(srcdir)/images/exampleapp.png \
|
||||
$(srcdir)/images/flow-box.png \
|
||||
$(srcdir)/images/inspector.png \
|
||||
$(srcdir)/images/gedit-shortcuts.png \
|
||||
$(srcdir)/images/clocks-shortcuts.png \
|
||||
$(srcdir)/images/builder-shortcuts.png
|
||||
|
||||
if ENABLE_DOC_CROSS_REFERENCES
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS=--extra-dir=../gdk/html \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
||||
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
|
||||
--extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
|
||||
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
|
||||
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += version.xml.in gtk3.types.in getting_started.xml.in
|
||||
|
||||
########################################################################
|
||||
|
||||
man_MANS = \
|
||||
gtk-query-immodules-3.0.1 \
|
||||
gtk-update-icon-cache.1 \
|
||||
gtk-encode-symbolic-svg.1 \
|
||||
gtk-launch.1 \
|
||||
gtk3-demo.1 \
|
||||
gtk3-demo-application.1 \
|
||||
gtk3-widget-factory.1 \
|
||||
gtk3-icon-browser.1 \
|
||||
broadwayd.1 \
|
||||
gtk-builder-tool.1 \
|
||||
gtk-query-settings.1
|
||||
|
||||
if ENABLE_MAN
|
||||
|
||||
XSLTPROC_FLAGS = \
|
||||
--nonet \
|
||||
--stringparam man.output.quietly 1 \
|
||||
--stringparam funcsynopsis.style ansi \
|
||||
--stringparam man.th.extra1.suppress 1 \
|
||||
--stringparam man.authors.section.enabled 0 \
|
||||
--stringparam man.copyright.section.enabled 0
|
||||
|
||||
.xml.1:
|
||||
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
||||
|
||||
dist-local-check-mans-enabled:
|
||||
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
|
||||
|
||||
else
|
||||
|
||||
$(man_MANS):
|
||||
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
||||
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
||||
|
||||
dist-local-check-mans-enabled:
|
||||
echo "*** --enable-man must be used in order to make dist"
|
||||
false
|
||||
|
||||
endif
|
||||
|
||||
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(man_MANS) \
|
||||
meson.build
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||
DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
|
||||
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
|
||||
#TESTS = $(GTKDOC_CHECK)
|
||||
endif
|
||||
|
||||
dist-hook-local: dist-local-check-mans-enabled all-local
|
||||
|
||||
gtk-docs-clean: clean
|
||||
cd $(srcdir) && rm -rf xml html
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,41 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.7
|
||||
|
||||
# The name of the module.
|
||||
DOC_MODULE=gail-libgail-util3
|
||||
|
||||
# The top-level SGML file.
|
||||
DOC_MAIN_SGML_FILE=gail-libgail-util-docs.sgml
|
||||
|
||||
# The directory containing the source code (if it contains documentation).
|
||||
DOC_SOURCE_DIR=$(top_srcdir)/libgail-util
|
||||
|
||||
# Used for dependencies
|
||||
HFILE_GLOB = $(top_srcdir)/libgail-util/*.h
|
||||
CFILE_GLOB = $(top_srcdir)/libgail-util/*.c
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
||||
# if $(DOC_MODULE).types is non-empty.
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
$(DEP_CFLAGS)
|
||||
|
||||
GTKDOC_LIBS = $(top_builddir)/libgail-util/libgailutil-3.la
|
||||
|
||||
# gtkdoc-mkdb related varaibles
|
||||
MKDB_OPTIONS =
|
||||
content_files = \
|
||||
version.xml
|
||||
|
||||
HTML_IMAGES =
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
EXTRA_DIST += \
|
||||
version.xml.in \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,48 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_srcdir)/gdk/x11 \
|
||||
-I$(top_srcdir)/tests \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/tests/gtkgears.o \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
if USE_X11
|
||||
noinst_PROGRAMS = \
|
||||
doc-shooter
|
||||
endif
|
||||
|
||||
doc_shooter_DEPENDENCIES = $(DEPS)
|
||||
doc_shooter_LDADD = $(LDADDS)
|
||||
doc_shooter_SOURCES = \
|
||||
shadow.c \
|
||||
shadow.h \
|
||||
shooter.c \
|
||||
widgets.c \
|
||||
widgets.h
|
||||
|
||||
clean-local:
|
||||
for file in *.png; do \
|
||||
case "$$file" in \
|
||||
folder.png|gnome.png) ;; \
|
||||
*) rm -f $$file ;; \
|
||||
esac ; \
|
||||
done
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,38 +0,0 @@
|
||||
SUBDIRS = \
|
||||
bp \
|
||||
application1 application2 application3 \
|
||||
application4 application5 application6 \
|
||||
application7 application8 application9 \
|
||||
application10
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
hello-world \
|
||||
window-default \
|
||||
plugman \
|
||||
sunny \
|
||||
action-namespace \
|
||||
grid-packing \
|
||||
drawing \
|
||||
builder \
|
||||
search-bar \
|
||||
listbox-dnd
|
||||
|
||||
EXTRA_DIST = \
|
||||
builder.ui \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,24 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
exampleapp.desktop \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,50 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,32 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
exampleapp.gresource.xml \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,32 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
exampleapp.gresource.xml \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,33 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui app-menu.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,47 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml window.ui app-menu.ui
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,49 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,49 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,50 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,50 +0,0 @@
|
||||
GTK_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
GTK_LIBS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
|
||||
noinst_PROGRAMS = exampleapp
|
||||
|
||||
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
||||
exampleapp_LDADD = $(GTK_LIBS)
|
||||
exampleapp_SOURCES = \
|
||||
main.c \
|
||||
exampleapp.c exampleapp.h \
|
||||
exampleappwin.c exampleappwin.h \
|
||||
exampleappprefs.c exampleappprefs.h
|
||||
nodist_exampleapp_SOURCES = resources.c
|
||||
|
||||
BUILT_SOURCES = \
|
||||
resources.c \
|
||||
gschemas.compiled
|
||||
|
||||
resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
|
||||
--target=$@ --sourcedir=$(srcdir) --generate-source
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.exampleapp.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
||||
$(GLIB_COMPILE_SCHEMAS) .
|
||||
|
||||
EXTRA_DIST = \
|
||||
window.ui \
|
||||
app-menu.ui \
|
||||
prefs.ui \
|
||||
gears-menu.ui \
|
||||
exampleapp.gresource.xml \
|
||||
org.gtk.exampleapp.gschema.xml \
|
||||
meson.build
|
||||
|
||||
CLEANFILES = \
|
||||
gschemas.compiled
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,34 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-DSRCDIR=\"$(abs_srcdir)\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_PROGRAMS = bloatpad
|
||||
|
||||
|
||||
bloatpad_SOURCES = bloatpad.c
|
||||
nodist_bloatpad_SOURCES = bloatpad-gresources.c
|
||||
|
||||
resource_files = \
|
||||
bloatpad.gresources.xml \
|
||||
gtk/menus.ui \
|
||||
gtk/help-overlay.ui
|
||||
|
||||
bloatpad-gresources.c: $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
||||
|
||||
CLEANFILES = bloatpad-gresources.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(resource_files) \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
319
gdk/Makefile.am
319
gdk/Makefile.am
@ -1,319 +0,0 @@
|
||||
## Makefile.am for gtk+/gdk
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
include gdk-sources.inc
|
||||
|
||||
-include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_GIRS =
|
||||
INTROSPECTION_SCANNER_ENV = \
|
||||
CC="$(CC)"
|
||||
INTROSPECTION_SCANNER_ARGS = \
|
||||
--add-include-path=../gdk \
|
||||
--warn-all
|
||||
INTROSPECTION_COMPILER_ARGS = \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=.
|
||||
|
||||
SUBDIRS = $(GDK_BACKENDS) .
|
||||
|
||||
DIST_SUBDIRS = win32 x11 quartz broadway wayland
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
EXTRA_DIST += \
|
||||
keynames.txt \
|
||||
keynames-translate.txt \
|
||||
keyname-table.h \
|
||||
gdkkeynames.c \
|
||||
gen-keyname-table.pl \
|
||||
gdkconfig.h.win32 \
|
||||
gdkconfig.h.win32_broadway \
|
||||
gdkkeysyms-update.pl \
|
||||
gdkmarshalers.list \
|
||||
gdkwindowimpl.h \
|
||||
makefile.msc \
|
||||
gdkenumtypes.c.template \
|
||||
gdkenumtypes.h.template \
|
||||
gdkversionmacros.h.in \
|
||||
meson.build \
|
||||
gen-gdk-gresources-xml.py \
|
||||
gdkconfig.h.meson
|
||||
|
||||
GDK_CFLAGS_DEFINES = \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION
|
||||
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
$(GDK_CFLAGS_DEFINES) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
# libtool stuff: set version and export symbols for resolving
|
||||
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
|
||||
# we use the general approach here
|
||||
LDADD = \
|
||||
$(GTK_LINK_FLAGS) \
|
||||
-version-info $(LT_VERSION_INFO) \
|
||||
-export-dynamic \
|
||||
-rpath $(libdir) \
|
||||
$(no_undefined)
|
||||
|
||||
#
|
||||
# setup GDK sources and their dependencies
|
||||
#
|
||||
|
||||
gdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
gdkinclude_HEADERS = $(gdk_public_h_sources)
|
||||
nodist_gdkinclude_HEADERS = gdkconfig.h gdkenumtypes.h gdkversionmacros.h
|
||||
|
||||
deprecatedincludedir = $(includedir)/gtk-3.0/gdk/deprecated
|
||||
deprecatedinclude_HEADERS = $(gdk_deprecated_h_sources)
|
||||
|
||||
common_sources = \
|
||||
$(gdk_private_headers) \
|
||||
$(gdk_c_sources) \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.c \
|
||||
gdkmarshalers.h \
|
||||
gdkresources.h \
|
||||
gdkresources.c
|
||||
|
||||
libgdk_3_la_SOURCES = $(common_sources)
|
||||
libgdk_3_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||||
libgdk_3_la_LIBADD = $(GDK_DEP_LIBS) $(SHM_LIBS)
|
||||
libgdk_3_la_LDFLAGS = $(LDADD)
|
||||
|
||||
if USE_X11
|
||||
libgdk_3_la_LIBADD += x11/libgdk-x11.la
|
||||
endif # USE_X11
|
||||
|
||||
if USE_QUARTZ
|
||||
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
|
||||
endif # USE_QUARTZ
|
||||
|
||||
if USE_WIN32
|
||||
libgdk_3_la_LIBADD += win32/libgdk-win32.la
|
||||
libgdk_3_la_DEPENDENCIES = win32/libgdk-win32.la win32/rc/gdk-win32-res.o
|
||||
libgdk_3_la_LDFLAGS += -Wl,win32/rc/gdk-win32-res.o
|
||||
endif # USE_WIN32
|
||||
|
||||
if USE_BROADWAY
|
||||
libgdk_3_la_LIBADD += broadway/libgdk-broadway.la
|
||||
endif # USE_BROADWAY
|
||||
|
||||
if USE_WAYLAND
|
||||
libgdk_3_la_LIBADD += wayland/libgdk-wayland.la
|
||||
endif
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
|
||||
introspection_files = \
|
||||
$(filter-out gdkkeysyms-compat.h, $(gdk_h_sources)) \
|
||||
$(gdk_c_sources) \
|
||||
$(gdk_built_sources)
|
||||
|
||||
Gdk-3.0.gir: libgdk-3.la Makefile
|
||||
Gdk_3_0_gir_SCANNERFLAGS = \
|
||||
--c-include="gdk/gdk.h"
|
||||
Gdk_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 cairo-1.0
|
||||
Gdk_3_0_gir_LIBS = libgdk-3.la
|
||||
Gdk_3_0_gir_FILES = $(introspection_files)
|
||||
Gdk_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
|
||||
Gdk_3_0_gir_EXPORT_PACKAGES = gdk-3.0
|
||||
INTROSPECTION_GIRS += Gdk-3.0.gir
|
||||
if OS_WIN32
|
||||
Gdk_3_0_gir_CFLAGS += -I$(srcdir)/win32 -I$(srcdir)
|
||||
endif
|
||||
if USE_X11
|
||||
GdkX11-3.0.gir: libgdk-3.la Gdk-3.0.gir Makefile
|
||||
GdkX11_3_0_gir_SCANNERFLAGS = \
|
||||
--identifier-prefix=Gdk \
|
||||
--c-include="gdk/gdkx.h" \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
|
||||
GdkX11_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
|
||||
GdkX11_3_0_gir_LIBS = libgdk-3.la
|
||||
GdkX11_3_0_gir_FILES = $(x11_introspection_files)
|
||||
GdkX11_3_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk
|
||||
GdkX11_3_0_gir_EXPORT_PACKAGES = gdk-x11-3.0
|
||||
INTROSPECTION_GIRS += GdkX11-3.0.gir
|
||||
|
||||
endif # USE_X11
|
||||
|
||||
if OS_WIN32
|
||||
GdkWin32-3.0.gir: libgdk-3.la Gdk-3.0.gir Makefile
|
||||
GdkWin32_3_0_gir_SCANNERFLAGS = \
|
||||
--identifier-prefix=Gdk \
|
||||
--c-include="gdk/gdkwin32.h" \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
|
||||
GdkWin32_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0
|
||||
GdkWin32_3_0_gir_LIBS = libgdk-3.la
|
||||
GdkWin32_3_0_gir_FILES = $(w32_introspection_files)
|
||||
GdkWin32_3_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk -I$(srcdir)/win32 -I$(srcdir)
|
||||
INTROSPECTION_GIRS += GdkWin32-3.0.gir
|
||||
|
||||
endif # OS_WIN32
|
||||
|
||||
girdir = $(datadir)/gir-1.0
|
||||
gir_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
typelibsdir = $(libdir)/girepository-1.0
|
||||
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
||||
|
||||
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
||||
|
||||
endif # HAVE_INTROSPECTION
|
||||
|
||||
if OS_WIN32
|
||||
gdk.def: libgdk-3.la
|
||||
echo "LIBRARY libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@
|
||||
echo "EXPORTS" >>$@
|
||||
objdump -p .libs/libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
|
||||
install-def-file: gdk.def
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
$(INSTALL) gdk.def $(DESTDIR)$(libdir)/gdk-win32-3.0.def
|
||||
uninstall-def-file:
|
||||
-rm $(DESTDIR)$(libdir)/gdk-win32-3.0.def
|
||||
else
|
||||
install-def-file:
|
||||
uninstall-def-file:
|
||||
endif
|
||||
|
||||
if MS_LIB_AVAILABLE
|
||||
noinst_DATA = gdk-win32-$(GTK_API_VERSION).lib
|
||||
|
||||
gdk-win32-$(GTK_API_VERSION).lib: libgdk-3.la gdk.def
|
||||
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgdk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gdk.def -out:$@
|
||||
|
||||
install-ms-lib:
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
$(INSTALL) gdk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-ms-lib:
|
||||
-rm $(DESTDIR)$(libdir)/gdk-win32-$(GTK_API_VERSION).lib
|
||||
else
|
||||
install-ms-lib:
|
||||
uninstall-ms-lib:
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libgdk-3.la
|
||||
|
||||
MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
|
||||
EXTRA_DIST += \
|
||||
fallback-c89.c
|
||||
|
||||
install-exec-hook:
|
||||
if DISABLE_EXPLICIT_DEPS
|
||||
$(SHELL) $(top_srcdir)/sanitize-la.sh $(DESTDIR)$(libdir)/libgdk-3.la
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = \
|
||||
$(gdk_built_sources) \
|
||||
gdkconfig.h
|
||||
|
||||
gdkenumtypes.h: stamp-gdkenumtypes.h
|
||||
@true
|
||||
stamp-gdkenumtypes.h: $(gdk_h_sources) gdkenumtypes.h.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.h.template \
|
||||
$(gdk_h_sources) ) >> xgen-geth \
|
||||
&& (cmp -s xgen-geth gdkenumtypes.h || cp xgen-geth gdkenumtypes.h ) \
|
||||
&& rm -f xgen-geth \
|
||||
&& echo timestamp > $(@F)
|
||||
gdkenumtypes.c: $(gdk_h_sources) gdkenumtypes.c.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.c.template \
|
||||
$(gdk_h_sources) ) > xgen-getc \
|
||||
&& cp xgen-getc gdkenumtypes.c \
|
||||
&& rm -f xgen-getc
|
||||
|
||||
#
|
||||
# Marshaller generation
|
||||
#
|
||||
gdkmarshalers.h: gdkmarshalers.list
|
||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||
--prefix=_gdk_marshal \
|
||||
--valist-marshallers \
|
||||
--header \
|
||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-h.tmp \
|
||||
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
|
||||
|| ( rm -f gdkmarshalers-h.tmp && exit 1)
|
||||
gdkmarshalers.c: gdkmarshalers.list
|
||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||
--prefix=_gdk_marshal \
|
||||
--valist-marshallers \
|
||||
--body \
|
||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-c.tmp \
|
||||
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
|
||||
|| ( rm -f gdkmarshalers-c.tmp && exit 1 )
|
||||
|
||||
gdkconfig.h: stamp-gc-h
|
||||
$(AM_V_GEN) if test -f gdkconfig.h; then :; \
|
||||
else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
|
||||
stamp-gc-h: $(top_builddir)/config.status
|
||||
$(AM_V_at) cd $(top_builddir) && $(SHELL) ./config.status gdk/gdkconfig.h \
|
||||
&& echo timestamp > gdk/$(@F)
|
||||
|
||||
#
|
||||
# Resources
|
||||
#
|
||||
|
||||
glsl_sources := $(sort $(wildcard $(srcdir)/resources/glsl/*.glsl))
|
||||
|
||||
gdk.gresource.xml: Makefile.am
|
||||
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
||||
echo "<gresources>" >> $@; \
|
||||
echo " <gresource prefix='/org/gtk/libgdk'>" >> $@; \
|
||||
for f in $(glsl_sources); do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='glsl/$$n'>resources/glsl/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " </gresource>" >> $@; \
|
||||
echo "</gresources>" >> $@;
|
||||
|
||||
EXTRA_DIST += $(glsl_sources)
|
||||
CLEANFILES += gdk.gresource.xml
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/gdk.gresource.xml)
|
||||
|
||||
gdkresources.h: gdk.gresource.xml
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \
|
||||
--sourcedir=$(srcdir) --c-name _gdk --generate-header --manual-register --internal
|
||||
gdkresources.c: gdk.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \
|
||||
--sourcedir=$(srcdir) --c-name _gdk --generate-source --manual-register --internal
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gdk-3
|
||||
|
||||
gdk_3_FILES = $(gdk_c_sources)
|
||||
gdk_3_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gdk-3.vcproj
|
||||
|
||||
DISTCLEANFILES = gdkconfig.h stamp-gc-h
|
||||
|
||||
install-data-local: install-ms-lib install-def-file
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-def-file
|
||||
rm -f $(DESTDIR)$(configexecincludedir)/gdkconfig.h
|
||||
|
||||
# if srcdir!=builddir, clean out maintainer-clean files from builddir
|
||||
# this allows dist to pass.
|
||||
distclean-local:
|
||||
if test $(srcdir) != .; then \
|
||||
rm -f $(MAINTAINERCLEANFILES); \
|
||||
fi
|
||||
|
||||
.PHONY: files
|
||||
|
||||
files:
|
||||
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
|
||||
echo $$p; \
|
||||
done
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,85 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
include gdk-broadway-sources.inc
|
||||
NULL =
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
libgdkbroadwayincludedir = $(includedir)/gtk-3.0/gdk/broadway
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-DGDK_DISABLE_DEPRECATION_WARNINGS \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS) -lrt
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-broadway.la
|
||||
|
||||
bin_PROGRAMS = broadwayd
|
||||
|
||||
libgdkinclude_HEADERS = $(GDK_PUBLIC_H_SRCS_BROADWAY)
|
||||
|
||||
EXTRA_DIST += toarray.pl
|
||||
|
||||
clienthtml.h: client.html
|
||||
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl client_html $(srcdir)/client.html > $@
|
||||
|
||||
EXTRA_DIST += client.html
|
||||
|
||||
broadwayjs.h: broadway.js rawinflate.min.js
|
||||
$(AM_V_GEN) $(PERL) $(srcdir)/toarray.pl broadway_js $(srcdir)/broadway.js $(srcdir)/rawinflate.min.js > $@
|
||||
|
||||
EXTRA_DIST += broadway.js rawinflate.min.js
|
||||
|
||||
# built headers that don't get installed
|
||||
broadway_built_sources = \
|
||||
$(broadway_built_private_headers)
|
||||
|
||||
libgdk_broadway_la_SOURCES = \
|
||||
$(broadway_built_private_headers)\
|
||||
$(GDK_BROADWAY_NON_GENERATED_SOURCES)
|
||||
|
||||
if OS_UNIX
|
||||
libgdk_broadway_la_LIBADD = \
|
||||
$(SHM_LIBS) \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
if OS_WIN32
|
||||
broadwayd_LDADD = $(GDK_DEP_LIBS) -lws2_32
|
||||
else
|
||||
broadwayd_LDADD = $(GDK_DEP_LIBS) @SHM_LIBS@
|
||||
endif
|
||||
|
||||
MAINTAINERCLEANFILES = $(broadway_built_sources)
|
||||
EXTRA_DIST += $(broadway_built_sources)
|
||||
|
||||
BUILT_SOURCES = $(broadway_built_sources)
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build \
|
||||
gen-c-array.py
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gdk3-broadway broadwayd
|
||||
|
||||
gdk3_broadway_FILES = $(libgdk_broadway_la_SOURCES)
|
||||
gdk3_broadway_EXCLUDES = dummy
|
||||
|
||||
broadwayd_FILES = $(broadwayd_SOURCES)
|
||||
broadwayd_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gdk3-broadway.vcproj \
|
||||
$(top_builddir)/win32/vs9/broadwayd.vcproj
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,55 +0,0 @@
|
||||
# Public header list for GdkBroadway
|
||||
|
||||
GDK_PUBLIC_H_SRCS_BROADWAY = \
|
||||
gdkbroadway.h
|
||||
|
||||
libgdkbroadwayinclude_HEADERS = \
|
||||
gdkbroadwaydisplay.h \
|
||||
gdkbroadwaywindow.h \
|
||||
gdkbroadwaycursor.h \
|
||||
gdkbroadwaymonitor.h \
|
||||
gdkbroadwayvisual.h
|
||||
|
||||
# built headers that don't get installed
|
||||
|
||||
broadway_built_private_headers = \
|
||||
clienthtml.h \
|
||||
broadwayjs.h
|
||||
|
||||
# Other non-generated sources
|
||||
GDK_BROADWAY_NON_GENERATED_SOURCES = \
|
||||
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 \
|
||||
gdkmonitor-broadway.c \
|
||||
gdkmonitor-broadway.h \
|
||||
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
|
||||
|
||||
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
|
@ -1,213 +0,0 @@
|
||||
#
|
||||
# GDK header files for public installation (non-generated)
|
||||
#
|
||||
|
||||
#
|
||||
# setup source file variables
|
||||
#
|
||||
|
||||
gdk_public_h_sources = \
|
||||
gdk.h \
|
||||
gdk-autocleanup.h \
|
||||
gdkapplaunchcontext.h \
|
||||
gdkcairo.h \
|
||||
gdkcursor.h \
|
||||
gdkdevice.h \
|
||||
gdkdevicepad.h \
|
||||
gdkdevicetool.h \
|
||||
gdkdevicemanager.h \
|
||||
gdkdisplay.h \
|
||||
gdkdisplaymanager.h \
|
||||
gdkdnd.h \
|
||||
gdkdrawingcontext.h \
|
||||
gdkevents.h \
|
||||
gdkframetimings.h \
|
||||
gdkglcontext.h \
|
||||
gdkkeys.h \
|
||||
gdkkeysyms.h \
|
||||
gdkkeysyms-compat.h \
|
||||
gdkmain.h \
|
||||
gdkmonitor.h \
|
||||
gdkpango.h \
|
||||
gdkframeclock.h \
|
||||
gdkpixbuf.h \
|
||||
gdkprivate.h \
|
||||
gdkproperty.h \
|
||||
gdkrectangle.h \
|
||||
gdkrgba.h \
|
||||
gdkscreen.h \
|
||||
gdkseat.h \
|
||||
gdkselection.h \
|
||||
gdktestutils.h \
|
||||
gdkthreads.h \
|
||||
gdktypes.h \
|
||||
gdkvisual.h \
|
||||
gdkwindow.h
|
||||
|
||||
gdk_deprecated_h_sources = \
|
||||
deprecated/gdkcolor.h
|
||||
|
||||
gdk_h_sources = \
|
||||
$(gdk_public_h_sources) \
|
||||
$(gdk_deprecated_h_sources)
|
||||
|
||||
gdk_private_headers = \
|
||||
gdk-private.h \
|
||||
gdkapplaunchcontextprivate.h \
|
||||
gdkconstructor.h \
|
||||
gdkcursorprivate.h \
|
||||
gdkdevicemanagerprivate.h \
|
||||
gdkdeviceprivate.h \
|
||||
gdkdevicepadprivate.h \
|
||||
gdkdevicetoolprivate.h \
|
||||
gdkdisplaymanagerprivate.h \
|
||||
gdkdisplayprivate.h \
|
||||
gdkdndprivate.h \
|
||||
gdkdrawingcontextprivate.h \
|
||||
gdkframeclockidle.h \
|
||||
gdkframeclockprivate.h \
|
||||
gdkglcontextprivate.h \
|
||||
gdkmonitorprivate.h \
|
||||
gdkprofilerprivate.h \
|
||||
gdkscreenprivate.h \
|
||||
gdkseatprivate.h \
|
||||
gdkseatdefaultprivate.h \
|
||||
gdkinternals.h \
|
||||
gdkintl.h \
|
||||
gdkkeysprivate.h \
|
||||
gdkvisualprivate.h \
|
||||
gdkx.h
|
||||
|
||||
gdk_deprecated_c_sources = \
|
||||
deprecated/gdkcolor.c
|
||||
|
||||
gdk_c_sources = \
|
||||
$(gdk_deprecated_c_sources) \
|
||||
gdk-private.c \
|
||||
gdk.c \
|
||||
gdkapplaunchcontext.c \
|
||||
gdkcairo.c \
|
||||
gdkcursor.c \
|
||||
gdkdeprecated.c \
|
||||
gdkdevice.c \
|
||||
gdkdevicepad.c \
|
||||
gdkdevicetool.c \
|
||||
gdkdevicemanager.c \
|
||||
gdkdisplay.c \
|
||||
gdkdisplaymanager.c \
|
||||
gdkdnd.c \
|
||||
gdkdrawingcontext.c \
|
||||
gdkevents.c \
|
||||
gdkframetimings.c \
|
||||
gdkgl.c \
|
||||
gdkglcontext.c \
|
||||
gdkglobals.c \
|
||||
gdkkeys.c \
|
||||
gdkkeyuni.c \
|
||||
gdkmonitor.c \
|
||||
gdkoffscreenwindow.c \
|
||||
gdkframeclock.c \
|
||||
gdkframeclockidle.c \
|
||||
gdkpango.c \
|
||||
gdkpixbuf-drawable.c \
|
||||
gdkprofiler.c \
|
||||
gdkproperty.c \
|
||||
gdkrectangle.c \
|
||||
gdkrgba.c \
|
||||
gdkscreen.c \
|
||||
gdkseat.c \
|
||||
gdkseatdefault.c \
|
||||
gdkselection.c \
|
||||
gdkvisual.c \
|
||||
gdkwindow.c \
|
||||
gdkwindowimpl.c
|
||||
|
||||
gdk_built_sources = \
|
||||
gdkenumtypes.h \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.h \
|
||||
gdkmarshalers.c \
|
||||
gdkresources.h \
|
||||
gdkresources.c \
|
||||
gdkversionmacros.h
|
||||
|
||||
x11_introspection_files = \
|
||||
x11/gdkapplaunchcontext-x11.c \
|
||||
x11/gdkasync.c \
|
||||
x11/gdkcursor-x11.c \
|
||||
x11/gdkdevice-core-x11.c \
|
||||
x11/gdkdevicemanager-core-x11.c \
|
||||
x11/gdkdevicemanager-x11.c \
|
||||
x11/gdkdevicemanager-xi2.c \
|
||||
x11/gdkdevice-xi2.c \
|
||||
x11/gdkdisplay-x11.c \
|
||||
x11/gdkdisplaymanager-x11.c \
|
||||
x11/gdkdnd-x11.c \
|
||||
x11/gdkeventsource.c \
|
||||
x11/gdkeventtranslator.c \
|
||||
x11/gdkgeometry-x11.c \
|
||||
x11/gdkglcontext-x11.c \
|
||||
x11/gdkkeys-x11.c \
|
||||
x11/gdkmain-x11.c \
|
||||
x11/gdkmonitor-x11.c \
|
||||
x11/gdkproperty-x11.c \
|
||||
x11/gdkscreen-x11.c \
|
||||
x11/gdkselection-x11.c \
|
||||
x11/gdksettings.c \
|
||||
x11/gdktestutils-x11.c \
|
||||
x11/gdkvisual-x11.c \
|
||||
x11/gdkwindow-x11.c \
|
||||
x11/gdkxftdefaults.c \
|
||||
x11/gdkxid.c \
|
||||
x11/xsettings-client.c \
|
||||
x11/gdkx.h \
|
||||
x11/gdkx11applaunchcontext.h \
|
||||
x11/gdkx11cursor.h \
|
||||
x11/gdkx11device.h \
|
||||
x11/gdkx11device-core.h \
|
||||
x11/gdkx11device-xi2.h \
|
||||
x11/gdkx11devicemanager.h \
|
||||
x11/gdkx11devicemanager-core.h \
|
||||
x11/gdkx11devicemanager-xi2.h \
|
||||
x11/gdkx11display.h \
|
||||
x11/gdkx11displaymanager.h \
|
||||
x11/gdkx11dnd.h \
|
||||
x11/gdkx11glcontext.h \
|
||||
x11/gdkx11keys.h \
|
||||
x11/gdkx11monitor.h \
|
||||
x11/gdkx11property.h \
|
||||
x11/gdkx11screen.h \
|
||||
x11/gdkx11selection.h \
|
||||
x11/gdkx11utils.h \
|
||||
x11/gdkx11visual.h \
|
||||
x11/gdkx11window.h
|
||||
|
||||
w32_introspection_files = \
|
||||
win32/gdkcursor-win32.c \
|
||||
win32/gdkdevicemanager-win32.c \
|
||||
win32/gdkdevice-virtual.c \
|
||||
win32/gdkdevice-win32.c \
|
||||
win32/gdkdevice-wintab.c \
|
||||
win32/gdkdisplaymanager-win32.c \
|
||||
win32/gdkdisplay-win32.c \
|
||||
win32/gdkdnd-win32.c \
|
||||
win32/gdkevents-win32.c \
|
||||
win32/gdkgeometry-win32.c \
|
||||
win32/gdkglobals-win32.c \
|
||||
win32/gdkkeys-win32.c \
|
||||
win32/gdkmain-win32.c \
|
||||
win32/gdkproperty-win32.c \
|
||||
win32/gdkscreen-win32.c \
|
||||
win32/gdkselection-win32.c \
|
||||
win32/gdktestutils-win32.c \
|
||||
win32/gdkwin32.h \
|
||||
win32/gdkwin32cursor.h \
|
||||
win32/gdkwin32display.h \
|
||||
win32/gdkwin32displaymanager.h \
|
||||
win32/gdkwin32dnd.h \
|
||||
win32/gdkwin32id.c \
|
||||
win32/gdkwin32keys.h \
|
||||
win32/gdkwin32misc.h \
|
||||
win32/gdkwin32screen.h \
|
||||
win32/gdkwin32window.h \
|
||||
win32/gdkwindow-win32.c
|
175
gdk/makefile.msc
175
gdk/makefile.msc
@ -1,175 +0,0 @@
|
||||
## Makefile for building the GDK DLL with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## You must first build the Win32-dependent sources in the win32 subdirectory.
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
# Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
|
||||
# definition should possibly go to build/win32/module.def, too.
|
||||
!IFNDEF WTKIT
|
||||
WTKIT = $(TOP)\wtkit126
|
||||
!ENDIF
|
||||
|
||||
###############################################################
|
||||
|
||||
# Nothing much configurable below
|
||||
# overwrite version?
|
||||
GTK_VER=3.0
|
||||
|
||||
!IFNDEF PERL
|
||||
PERL = perl
|
||||
!ENDIF
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h \
|
||||
-I . -I .. \
|
||||
$(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CAIRO_CFLAGS) $(GDK_PIXBUF_CFLAGS) \
|
||||
|
||||
DEFINES = \
|
||||
-DHAVE_CONFIG_H \
|
||||
-DGDK_VERSION=\"$(GTK_VER)\" \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\"
|
||||
|
||||
EXTRALIBS = \
|
||||
$(WTKIT)\lib\i386\wntab32x.lib \
|
||||
$(GLIB_LIBS) $(GDK_PIXBUF_LIBS) \
|
||||
$(CAIRO_LIBS) $(CAIRO_GOBJECT_LIBS) \
|
||||
$(PANGOWIN32_LIBS) $(PANGOCAIRO_LIBS) $(INTL_LIBS)
|
||||
|
||||
gdk-win32-backend :
|
||||
cd win32
|
||||
nmake -nologo -f makefile.msc
|
||||
cd ..
|
||||
|
||||
all: \
|
||||
..\config.h \
|
||||
gdkconfig.h \
|
||||
gdkenumtypes.h \
|
||||
gdkenumtypes.c \
|
||||
gdkmarshalers.h \
|
||||
gdkmarshalers.c \
|
||||
gdk-win32-backend \
|
||||
libgdk-win32-$(GTK_VER)-0.dll \
|
||||
# testgdk.exe \
|
||||
# gdk-win32-$(GTK_VER)s.lib \
|
||||
# gdk-x11-$(GTK_VER).dll \
|
||||
|
||||
gdk_OBJECTS = \
|
||||
gdk.obj \
|
||||
gdkapplaunchcontext.obj \
|
||||
gdkcairo.obj \
|
||||
gdkcolor.obj \
|
||||
gdkcursor.obj \
|
||||
gdkdevice.obj \
|
||||
gdkdevicemanager.obj \
|
||||
gdkdisplay.obj \
|
||||
gdkdisplaymanager.obj \
|
||||
gdkdnd.obj \
|
||||
gdkenumtypes.obj \
|
||||
gdkevents.obj \
|
||||
gdkglobals.obj \
|
||||
gdkkeynames.obj \
|
||||
gdkkeys.obj \
|
||||
gdkkeyuni.obj \
|
||||
gdkmarshalers.obj \
|
||||
gdkoffscreenwindow.obj \
|
||||
gdkpango.obj \
|
||||
gdkpixbuf-drawable.obj \
|
||||
gdkrectangle.obj \
|
||||
gdkrgba.obj \
|
||||
gdkscreen.obj \
|
||||
gdkselection.obj \
|
||||
gdkvisual.obj \
|
||||
gdkwindow.obj \
|
||||
gdkwindowimpl.obj \
|
||||
|
||||
gdk_public_h_sources = \
|
||||
gdk.h \
|
||||
gdkapplaunchcontext.h \
|
||||
gdkcairo.h \
|
||||
gdkcolor.h \
|
||||
gdkcursor.h \
|
||||
gdkdevice.h \
|
||||
gdkdevicemanager.h \
|
||||
gdkdisplay.h \
|
||||
gdkdisplaymanager.h \
|
||||
gdkdnd.h \
|
||||
gdkevents.h \
|
||||
gdkkeys.h \
|
||||
gdkkeysyms.h \
|
||||
gdkkeysyms-compat.h \
|
||||
gdkmain.h \
|
||||
gdkpango.h \
|
||||
gdkpixbuf.h \
|
||||
gdkprivate.h \
|
||||
gdkproperty.h \
|
||||
gdkrectangle.h \
|
||||
gdkrgba.h \
|
||||
gdkscreen.h \
|
||||
gdkselection.h \
|
||||
gdktestutils.h \
|
||||
gdkthreads.h \
|
||||
gdktypes.h \
|
||||
gdkvisual.h \
|
||||
gdkwindow.h
|
||||
|
||||
# private marshalers
|
||||
gdkmarshalers.h : gdkmarshalers.list
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gdk_marshal gdkmarshalers.list --header >>gdkmarshalers.h
|
||||
|
||||
gdkmarshalers.c : gdkmarshalers.list
|
||||
$(GLIB)\gobject\glib-genmarshal --prefix=_gdk_marshal gdkmarshalers.list --body >gdkmarshalers.c
|
||||
|
||||
gdkenumtypes.h: $(gdk_public_h_sources) gdkenumtypes.h.template
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums --template gdkenumtypes.h.template \
|
||||
$(gdk_public_h_sources) > gdkenumtypes.h
|
||||
|
||||
gdkenumtypes.c: $(gdk_public_h_sources) gdkenumtypes.c.template
|
||||
$(PERL) $(GLIB)\gobject\glib-mkenums --template gdkenumtypes.c.template \
|
||||
$(gdk_public_h_sources) > gdkenumtypes.c
|
||||
|
||||
..\config.h : ..\config.h.win32
|
||||
copy ..\config.h.win32 ..\config.h
|
||||
|
||||
gdkconfig.h : gdkconfig.h.win32
|
||||
copy gdkconfig.h.win32 gdkconfig.h
|
||||
|
||||
gdk.def: gdk.symbols
|
||||
echo EXPORTS > gdk.def
|
||||
cl /EP -DG_OS_WIN32 -DGDK_WINDOWING_WIN32 \
|
||||
-DG_GNUC_CONST= \
|
||||
gdk.symbols >> gdk.def
|
||||
|
||||
# /force /verbose:lib
|
||||
libgdk-win32-$(GTK_VER)-0.dll : $(gdk_OBJECTS) gdk.def win32\gdk-win32.lib
|
||||
$(CC) $(CFLAGS) -LD -Fe$@ $(gdk_OBJECTS) win32\gdk-win32.lib $(EXTRALIBS) \
|
||||
gdi32.lib user32.lib imm32.lib shell32.lib ole32.lib uuid.lib win32\gdk.res \
|
||||
$(LDFLAGS) /implib:gdk-win32-$(GTK_VER).lib /def:gdk.def
|
||||
|
||||
gdk-win32-$(GTK_VER)s.lib : $(gdk_OBJECTS)
|
||||
lib /out:gdk-win32-$(GTK_VER)s.lib $(gdk_OBJECTS) win32\gdk-win32.lib
|
||||
|
||||
gdk-x11-$(GTK_VER).dll : $(gdk_OBJECTS) gdk.def x11\gdk-x11.lib
|
||||
$(CC) $(CFLAGS) -LD -Fegdk-x11-$(GTK_VER).dll $(gdk_OBJECTS) \
|
||||
$(PANGO)\pango\pangox-$(PANGO_VER).lib \
|
||||
x11\gdk-x11.lib $(X11_LIBS) $(EXTRALIBS) user32.lib $(LDFLAGS) /def:gdk.def
|
||||
|
||||
testgdk.exe : libgdk-win32-$(GTK_VER)-0.dll testgdk.obj
|
||||
$(CC) -Fetestgdk.exe testgdk.obj gdk-win32-$(GTK_VER).lib $(EXTRALIBS) $(LDFLAGS)
|
||||
|
||||
clean::
|
||||
cd win32
|
||||
nmake -f makefile.msc clean
|
||||
cd ..
|
||||
del gdkmarshalers.c
|
||||
del gdkmarshalers.h
|
||||
del *.dll
|
||||
del *.obj
|
||||
del *.lib
|
||||
del *.err
|
||||
del *.res
|
@ -1,84 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
libgdkquartzincludedir = $(includedir)/gtk-3.0/gdk/quartz
|
||||
|
||||
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) \
|
||||
$(GDK_DEP_CFLAGS) \
|
||||
"-xobjective-c"
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-quartz.la
|
||||
|
||||
libgdk_quartz_la_SOURCES = \
|
||||
GdkQuartzView.c \
|
||||
GdkQuartzView.h \
|
||||
GdkQuartzNSWindow.c \
|
||||
GdkQuartzNSWindow.h \
|
||||
gdkcursor-quartz.c \
|
||||
gdkdevice-core-quartz.c \
|
||||
gdkdevicemanager-core-quartz.c \
|
||||
gdkdevicemanager-core-quartz.h \
|
||||
gdkdisplay-quartz.c \
|
||||
gdkdisplay-quartz.h \
|
||||
gdkdisplaylinksource.c \
|
||||
gdkdisplaylinksource.h \
|
||||
gdkdisplaymanager-quartz.c \
|
||||
gdkdnd-quartz.c \
|
||||
gdkdnd-quartz.h \
|
||||
gdkevents-quartz.c \
|
||||
gdkeventloop-quartz.c \
|
||||
gdkglcontext-quartz.c \
|
||||
gdkglcontext-quartz.h \
|
||||
gdkglobals-quartz.c \
|
||||
gdkinternal-quartz.h \
|
||||
gdkkeys-quartz.c \
|
||||
gdkkeys-quartz.h \
|
||||
gdkmonitor-quartz.c \
|
||||
gdkmonitor-quartz.h \
|
||||
gdkprivate-quartz.h \
|
||||
gdkproperty-quartz.c \
|
||||
gdkquartz.h \
|
||||
gdkscreen-quartz.c \
|
||||
gdkscreen-quartz.h \
|
||||
gdkselection-quartz.c \
|
||||
gdktestutils-quartz.c \
|
||||
gdkutils-quartz.c \
|
||||
gdkvisual-quartz.c \
|
||||
gdkwindow-quartz.c \
|
||||
gdkwindow-quartz.h \
|
||||
xcursors.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkquartz.h
|
||||
|
||||
libgdkquartzinclude_HEADERS = \
|
||||
gdkquartz-cocoa-access.h \
|
||||
gdkquartz-gtk-only.h \
|
||||
gdkquartzcursor.h \
|
||||
gdkquartzdevice-core.h \
|
||||
gdkquartzdevicemanager-core.h \
|
||||
gdkquartzdisplay.h \
|
||||
gdkquartzdisplaymanager.h \
|
||||
gdkquartzdnd.h \
|
||||
gdkquartzglcontext.h \
|
||||
gdkquartzkeys.h \
|
||||
gdkquartzmonitor.h \
|
||||
gdkquartzscreen.h \
|
||||
gdkquartzutils.h \
|
||||
gdkquartzvisual.h \
|
||||
gdkquartzwindow.h
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,135 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
libgdkwaylandincludedir = $(includedir)/gtk-3.0/gdk/wayland
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_srcdir)/gdk/wayland/cursor \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS) $(SHM_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
libgdk-wayland.la
|
||||
|
||||
BUILT_SOURCES = \
|
||||
pointer-gestures-unstable-v1-client-protocol.h \
|
||||
pointer-gestures-unstable-v1-protocol.c \
|
||||
xdg-shell-client-protocol.h \
|
||||
xdg-shell-protocol.c \
|
||||
xdg-shell-unstable-v6-client-protocol.h \
|
||||
xdg-shell-unstable-v6-protocol.c \
|
||||
xdg-foreign-unstable-v1-client-protocol.h \
|
||||
xdg-foreign-unstable-v1-protocol.c \
|
||||
gtk-primary-selection-client-protocol.h \
|
||||
gtk-primary-selection-protocol.c \
|
||||
tablet-unstable-v2-client-protocol.h \
|
||||
tablet-unstable-v2-protocol.c \
|
||||
xdg-output-unstable-v1-protocol.c \
|
||||
xdg-output-unstable-v1-client-protocol.h \
|
||||
keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h \
|
||||
keyboard-shortcuts-inhibit-unstable-v1-protocol.c \
|
||||
server-decoration-client-protocol.h \
|
||||
server-decoration-protocol.c \
|
||||
gtk-shell-client-protocol.h \
|
||||
gtk-shell-protocol.c \
|
||||
primary-selection-unstable-v1-client-protocol.h \
|
||||
primary-selection-unstable-v1-protocol.c
|
||||
if USE_XDG_ACTIVATION
|
||||
BUILT_SOURCES += \
|
||||
xdg-activation-v1-client-protocol.h \
|
||||
xdg-activation-v1-protocol.c
|
||||
endif
|
||||
|
||||
nodist_libgdk_wayland_la_SOURCES = \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
libgdk_wayland_la_SOURCES = \
|
||||
gdkapplaunchcontext-wayland.c \
|
||||
gdkcursor-wayland.c \
|
||||
gdkdevice-wayland.c \
|
||||
gdkdisplay-wayland.c \
|
||||
gdkdisplay-wayland.h \
|
||||
gdkdnd-wayland.c \
|
||||
gdkeventsource.c \
|
||||
gdkkeys-wayland.c \
|
||||
gdkglcontext-wayland.c \
|
||||
gdkglcontext-wayland.h \
|
||||
gdkmonitor-wayland.c \
|
||||
gdkmonitor-wayland.h \
|
||||
gdkscreen-wayland.c \
|
||||
gdkseat-wayland.h \
|
||||
gdkselection-wayland.c \
|
||||
gdkwindow-wayland.c \
|
||||
gdkwayland.h \
|
||||
gdkprivate-wayland.h \
|
||||
wm-button-layout-translation.c \
|
||||
wm-button-layout-translation.h
|
||||
|
||||
libgdk_wayland_la_SOURCES += \
|
||||
cursor/os-compatibility.c \
|
||||
cursor/os-compatibility.h \
|
||||
cursor/wayland-cursor.c \
|
||||
cursor/wayland-cursor.h \
|
||||
cursor/xcursor.c \
|
||||
cursor/xcursor.h
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkwayland.h
|
||||
|
||||
libgdkwaylandinclude_HEADERS = \
|
||||
gdkwaylanddevice.h \
|
||||
gdkwaylanddisplay.h \
|
||||
gdkwaylandglcontext.h \
|
||||
gdkwaylandmonitor.h \
|
||||
gdkwaylandselection.h \
|
||||
gdkwaylandwindow.h
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
||||
define protostability
|
||||
$(if $(findstring unstable,$1),unstable,stable)
|
||||
endef
|
||||
|
||||
define protoname
|
||||
$(shell echo $1 | sed 's/\([a-z\-]\{1,\}\)-[a-z]\{1,\}-v[0-9]\{1,\}/\1/')
|
||||
endef
|
||||
|
||||
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < $< > $@
|
||||
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
xdg-activation-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/staging/xdg-activation/xdg-activation-v1.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < $< > $@
|
||||
xdg-activation-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/staging/xdg-activation/xdg-activation-v1.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
%-protocol.c : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < $< > $@
|
||||
|
||||
%-server-protocol.h : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
|
||||
%-client-protocol.h : $(srcdir)/protocol/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
protocol/gtk-primary-selection.xml \
|
||||
protocol/gtk-shell.xml \
|
||||
protocol/server-decoration.xml \
|
||||
cursor/meson.build \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,56 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
include gdk-win32-sources.inc
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
libgdkwin32includedir = $(includedir)/gtk-3.0/gdk/win32
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DINSIDE_GDK_WIN32 \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GDK_DEP_CFLAGS) \
|
||||
$(GDK_WIN32_EXTRA_CFLAGS) \
|
||||
-DGDK_COMPILATION
|
||||
|
||||
if WIN32_GLES
|
||||
AM_CPPFLAGS += "-DGDK_WIN32_ENABLE_EGL=1"
|
||||
endif #WIN32_GLES
|
||||
|
||||
libgdk_win32_DEP_LIBS = \
|
||||
-lhid
|
||||
|
||||
LDADDS = $(libgdk_win32_DEP_LIBS) $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-win32.la
|
||||
|
||||
SUBDIRS=rc
|
||||
|
||||
EXTRA_DIST += \
|
||||
bdfcursor.c \
|
||||
makefile.msc \
|
||||
meson.build
|
||||
|
||||
libgdk_win32_la_LIBADD = \
|
||||
$(LDADDS) \
|
||||
$(NULL)
|
||||
|
||||
libgdkinclude_HEADERS = $(GDK_PUBLIC_H_SRCS_WIN32)
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gdk3-win32
|
||||
|
||||
gdk3_win32_FILES = $(libgdk_win32_la_SOURCES)
|
||||
gdk3_win32_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gdk3-win32.vcproj
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,72 +0,0 @@
|
||||
# Public header list for GdkWin32
|
||||
|
||||
GDK_PUBLIC_H_SRCS_WIN32 = \
|
||||
gdkwin32.h
|
||||
|
||||
libgdkwin32include_HEADERS = \
|
||||
gdkwin32cursor.h \
|
||||
gdkwin32display.h \
|
||||
gdkwin32displaymanager.h\
|
||||
gdkwin32dnd.h \
|
||||
gdkwin32glcontext.h \
|
||||
gdkwin32keys.h \
|
||||
gdkwin32misc.h \
|
||||
gdkwin32monitor.h \
|
||||
gdkwin32screen.h \
|
||||
gdkwin32window.h
|
||||
|
||||
# Sources list for GdkWin32
|
||||
libgdk_win32_la_SOURCES = \
|
||||
gdkcursor-win32.c \
|
||||
gdkdevicemanager-win32.c \
|
||||
gdkdevicemanager-win32.h \
|
||||
gdkdevice-virtual.c \
|
||||
gdkdevice-virtual.h \
|
||||
gdkdevice-win32.c \
|
||||
gdkdevice-win32.h \
|
||||
gdkdevice-winpointer.c \
|
||||
gdkdevice-winpointer.h \
|
||||
gdkdevice-wintab.c \
|
||||
gdkdevice-wintab.h \
|
||||
gdkdisplay-win32.c \
|
||||
gdkdisplay-win32.h \
|
||||
gdkdisplaymanager-win32.c \
|
||||
gdkdnd-win32.c \
|
||||
gdkevents-win32.c \
|
||||
gdkgeometry-win32.c \
|
||||
gdkglcontext-win32.c \
|
||||
gdkglcontext-win32.h \
|
||||
gdkglobals-win32.c \
|
||||
gdkkeys-win32.c \
|
||||
gdkkeys-win32.h \
|
||||
gdkkeys-win32-impl.c \
|
||||
gdkkeys-win32-impl-wow64.c \
|
||||
gdkmain-win32.c \
|
||||
gdkmonitor-win32.c \
|
||||
gdkmonitor-win32.h \
|
||||
gdkprivate-win32.h \
|
||||
gdkproperty-win32.c \
|
||||
gdkscreen-win32.c \
|
||||
gdkselection-win32.c \
|
||||
gdkselection-win32.h \
|
||||
gdktestutils-win32.c \
|
||||
gdkwin32cursor.h \
|
||||
gdkwin32display.h \
|
||||
gdkwin32displaymanager.h \
|
||||
gdkwin32dnd.h \
|
||||
gdkwin32dnd-private.h \
|
||||
gdkwin32glcontext.h \
|
||||
gdkwin32langnotification.c \
|
||||
gdkwin32langnotification.h \
|
||||
gdkwin32.h \
|
||||
gdkwin32id.c \
|
||||
gdkwin32keys.h \
|
||||
gdkwin32monitor.h \
|
||||
gdkwin32screen.h \
|
||||
gdkwin32window.h \
|
||||
gdkwindow-win32.c \
|
||||
gdkwindow-win32.h \
|
||||
pktdef.h \
|
||||
winpointer.h \
|
||||
wintab.h \
|
||||
xcursors.h
|
@ -1,76 +0,0 @@
|
||||
## Makefile for building the GDK DLL with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
################################################################
|
||||
|
||||
# Nothing much configurable below
|
||||
|
||||
TOP = ../../..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
# Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
|
||||
# definition should possibly go to build/win32/module.def, too.
|
||||
!IFNDEF WTKIT
|
||||
WTKIT = $(TOP)\wtkit126
|
||||
!ENDIF
|
||||
|
||||
GTK_VER=3.0
|
||||
|
||||
DEFINES = \
|
||||
-DHAVE_CONFIG_H -DINSIDE_GDK_WIN32 -DGDK_VERSION=\"$(GTK_VER)\" \
|
||||
-DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\"
|
||||
|
||||
INCLUDES = -FImsvc_recommended_pragmas.h \
|
||||
-I. -I.. -I..\.. $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(CAIRO_CFLAGS) \
|
||||
$(GDK_PIXBUF_CFLAGS) -I$(WTKIT)\include -I$(GLIB) \
|
||||
|
||||
all: \
|
||||
..\..\config.h \
|
||||
..\gdkconfig.h \
|
||||
gdk-win32.lib \
|
||||
gdk.res
|
||||
|
||||
gdk_win32_DEPS = \
|
||||
hid.lib
|
||||
|
||||
gdk_win32_OBJECTS = \
|
||||
gdkcursor-win32.obj \
|
||||
gdkdevice-win32.obj \
|
||||
gdkdevice-winpointer.obj \
|
||||
gdkdevice-wintab.obj \
|
||||
gdkdevicemanager-win32.obj \
|
||||
gdkdnd-win32.obj \
|
||||
gdkdisplay-win32.obj \
|
||||
gdkdisplaymanager-win32.obj \
|
||||
gdkevents-win32.obj \
|
||||
gdkgeometry-win32.obj \
|
||||
gdkglobals-win32.obj \
|
||||
gdkinput.obj \
|
||||
gdkkeys-win32.obj \
|
||||
gdkkeys-win32-impl.obj \
|
||||
gdkkeys-win32-impl-wow64.obj \
|
||||
gdkmain-win32.obj \
|
||||
gdkproperty-win32.obj \
|
||||
gdkscreen-win32.obj \
|
||||
gdkselection-win32.obj \
|
||||
gdktestutils-win32.obj \
|
||||
gdkwin32id.obj \
|
||||
gdkwindow-win32.obj
|
||||
|
||||
..\..\config.h : ..\..\config.h.win32
|
||||
copy ..\..\config.h.win32 ..\..\config.h
|
||||
|
||||
..\gdkconfig.h : ..\gdkconfig.h.win32
|
||||
copy ..\gdkconfig.h.win32 ..\gdkconfig.h
|
||||
|
||||
gdk.res : rc\gdk.rc
|
||||
rc -DBUILDNUMBER=0 -r -fo gdk.res rc\gdk.rc
|
||||
|
||||
gdk-win32.lib : $(gdk_win32_OBJECTS)
|
||||
lib -out:gdk-win32.lib $(gdk_win32_DEPS) $(gdk_win32_OBJECTS)
|
||||
|
||||
clean::
|
||||
del *.obj
|
||||
del *.lib
|
||||
del *.err
|
||||
del *.res
|
@ -1,15 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
EXTRA_DIST += \
|
||||
gdk.rc \
|
||||
gdk.rc.in \
|
||||
gtk.ico
|
||||
|
||||
if USE_WIN32
|
||||
noinst_DATA = gdk-win32-res.o
|
||||
endif
|
||||
|
||||
gdk-win32-res.o : gdk.rc gtk.ico
|
||||
$(WINDRES) -I $(srcdir) gdk.rc $@
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,96 +0,0 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
libgdkincludedir = $(includedir)/gtk-3.0/gdk
|
||||
libgdkx11includedir = $(includedir)/gtk-3.0/gdk/x11
|
||||
|
||||
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) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
LDADDS = $(GDK_DEP_LIBS)
|
||||
|
||||
noinst_LTLIBRARIES = libgdk-x11.la
|
||||
|
||||
libgdk_x11_la_SOURCES = \
|
||||
MwmUtil.h \
|
||||
gdkapplaunchcontext-x11.c \
|
||||
gdkasync.c \
|
||||
gdkasync.h \
|
||||
gdkcursor-x11.c \
|
||||
gdkdevice-core-x11.c \
|
||||
gdkdevice-xi2.c \
|
||||
gdkdevicemanager-core-x11.c \
|
||||
gdkdevicemanager-x11.c \
|
||||
gdkdevicemanager-xi2.c \
|
||||
gdkdevicemanagerprivate-core.h \
|
||||
gdkdisplaymanager-x11.c \
|
||||
gdkdisplay-x11.c \
|
||||
gdkdisplay-x11.h \
|
||||
gdkdnd-x11.c \
|
||||
gdkeventsource.c \
|
||||
gdkeventsource.h \
|
||||
gdkeventtranslator.c \
|
||||
gdkeventtranslator.h \
|
||||
gdkgeometry-x11.c \
|
||||
gdkglcontext-x11.c \
|
||||
gdkglcontext-x11.h \
|
||||
gdkkeys-x11.c \
|
||||
gdkmain-x11.c \
|
||||
gdkmonitor-x11.c \
|
||||
gdkmonitor-x11.h \
|
||||
gdkproperty-x11.c \
|
||||
gdkscreen-x11.c \
|
||||
gdkscreen-x11.h \
|
||||
gdkselection-x11.c \
|
||||
gdktestutils-x11.c \
|
||||
gdkvisual-x11.c \
|
||||
gdkwindow-x11.c \
|
||||
gdkwindow-x11.h \
|
||||
gdkxftdefaults.c \
|
||||
gdkxid.c \
|
||||
gdkx.h \
|
||||
gdkprivate-x11.h \
|
||||
xsettings-client.h \
|
||||
xsettings-client.c
|
||||
|
||||
libgdkinclude_HEADERS = \
|
||||
gdkx.h
|
||||
|
||||
libgdkx11include_HEADERS = \
|
||||
gdkx-autocleanups.h \
|
||||
gdkx11applaunchcontext.h \
|
||||
gdkx11cursor.h \
|
||||
gdkx11device.h \
|
||||
gdkx11device-core.h \
|
||||
gdkx11device-xi2.h \
|
||||
gdkx11devicemanager.h \
|
||||
gdkx11devicemanager-core.h \
|
||||
gdkx11devicemanager-xi2.h \
|
||||
gdkx11display.h \
|
||||
gdkx11displaymanager.h \
|
||||
gdkx11dnd.h \
|
||||
gdkx11glcontext.h \
|
||||
gdkx11keys.h \
|
||||
gdkx11monitor.h \
|
||||
gdkx11property.h \
|
||||
gdkx11screen.h \
|
||||
gdkx11selection.h \
|
||||
gdkx11utils.h \
|
||||
gdkx11visual.h \
|
||||
gdkx11window.h
|
||||
|
||||
# We need to include all these C files here since the conditionals
|
||||
# don't seem to be correctly expanded for the dist files.
|
||||
EXTRA_DIST += \
|
||||
gdksettings.c \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
334
git.mk
334
git.mk
@ -1,334 +0,0 @@
|
||||
# git.mk
|
||||
#
|
||||
# Copyright 2009, Red Hat, Inc.
|
||||
# Copyright 2010,2011,2012,2013 Behdad Esfahbod
|
||||
# Written by Behdad Esfahbod
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification,
|
||||
# is permitted in any medium without royalty provided the copyright
|
||||
# notice and this notice are preserved.
|
||||
#
|
||||
# The latest version of this file can be downloaded from:
|
||||
# https://raw.github.com/behdad/git.mk/master/git.mk
|
||||
# Bugs, etc, should be reported upstream at:
|
||||
# https://github.com/behdad/git.mk
|
||||
#
|
||||
# To use in your project, import this file in your git repo's toplevel,
|
||||
# then do "make -f git.mk". This modifies all Makefile.am files in
|
||||
# your project to -include git.mk. Remember to add that line to new
|
||||
# Makefile.am files you create in your project, or just rerun the
|
||||
# "make -f git.mk".
|
||||
#
|
||||
# This enables automatic .gitignore generation. If you need to ignore
|
||||
# more files, add them to the GITIGNOREFILES variable in your Makefile.am.
|
||||
# But think twice before doing that. If a file has to be in .gitignore,
|
||||
# chances are very high that it's a generated file and should be in one
|
||||
# of MOSTLYCLEANFILES, CLEANFILES, DISTCLEANFILES, or MAINTAINERCLEANFILES.
|
||||
#
|
||||
# The only case that you need to manually add a file to GITIGNOREFILES is
|
||||
# when remove files in one of mostlyclean-local, clean-local, distclean-local,
|
||||
# or maintainer-clean-local make targets.
|
||||
#
|
||||
# Note that for files like editor backup, etc, there are better places to
|
||||
# ignore them. See "man gitignore".
|
||||
#
|
||||
# If "make maintainer-clean" removes the files but they are not recognized
|
||||
# by this script (that is, if "git status" shows untracked files still), send
|
||||
# me the output of "git status" as well as your Makefile.am and Makefile for
|
||||
# the directories involved and I'll diagnose.
|
||||
#
|
||||
# For a list of toplevel files that should be in MAINTAINERCLEANFILES, see
|
||||
# Makefile.am.sample in the git.mk git repo.
|
||||
#
|
||||
# Don't EXTRA_DIST this file. It is supposed to only live in git clones,
|
||||
# not tarballs. It serves no useful purpose in tarballs and clutters the
|
||||
# build dir.
|
||||
#
|
||||
# This file knows how to handle autoconf, automake, libtool, gtk-doc,
|
||||
# gnome-doc-utils, yelp.m4, mallard, intltool, gsettings, dejagnu, appdata,
|
||||
# appstream.
|
||||
#
|
||||
# This makefile provides the following targets:
|
||||
#
|
||||
# - all: "make all" will build all gitignore files.
|
||||
# - gitignore: makes all gitignore files in the current dir and subdirs.
|
||||
# - .gitignore: make gitignore file for the current dir.
|
||||
# - gitignore-recurse: makes all gitignore files in the subdirs.
|
||||
#
|
||||
# KNOWN ISSUES:
|
||||
#
|
||||
# - Recursive configure doesn't work as $(top_srcdir)/git.mk inside the
|
||||
# submodule doesn't find us. If you have configure.{in,ac} files in
|
||||
# subdirs, add a proxy git.mk file in those dirs that simply does:
|
||||
# "include $(top_srcdir)/../git.mk". Add more ..'s to your taste.
|
||||
# And add those files to git. See vte/gnome-pty-helper/git.mk for
|
||||
# example.
|
||||
#
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Variables user modules may want to add to toplevel MAINTAINERCLEANFILES:
|
||||
###############################################################################
|
||||
|
||||
#
|
||||
# Most autotools-using modules should be fine including this variable in their
|
||||
# toplevel MAINTAINERCLEANFILES:
|
||||
GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
|
||||
$(srcdir)/aclocal.m4 \
|
||||
$(srcdir)/autoscan.log \
|
||||
$(srcdir)/configure.scan \
|
||||
`AUX_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_AUX_DIR:$$1' ./configure.ac); \
|
||||
test "x$$AUX_DIR" = "x$(srcdir)/" && AUX_DIR=$(srcdir); \
|
||||
for x in \
|
||||
ar-lib \
|
||||
compile \
|
||||
config.guess \
|
||||
config.sub \
|
||||
config.rpath \
|
||||
depcomp \
|
||||
install-sh \
|
||||
ltmain.sh \
|
||||
missing \
|
||||
mkinstalldirs \
|
||||
test-driver \
|
||||
ylwrap \
|
||||
; do echo "$$AUX_DIR/$$x"; done` \
|
||||
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_HEADERS:$$1' ./configure.ac | \
|
||||
head -n 1 | while read f; do echo "$(srcdir)/$$f.in"; done`
|
||||
#
|
||||
# All modules should also be fine including the following variable, which
|
||||
# removes automake-generated Makefile.in files:
|
||||
GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN = \
|
||||
`cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_FILES:$$1' ./configure.ac | \
|
||||
while read f; do \
|
||||
case $$f in Makefile|*/Makefile) \
|
||||
test -f "$(srcdir)/$$f.am" && echo "$(srcdir)/$$f.in";; esac; \
|
||||
done`
|
||||
#
|
||||
# Modules that use libtool and use AC_CONFIG_MACRO_DIR() may also include this,
|
||||
# though it's harmless to include regardless.
|
||||
GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL = \
|
||||
`MACRO_DIR=$(srcdir)/$$(cd $(top_srcdir); $(AUTOCONF) --trace 'AC_CONFIG_MACRO_DIR:$$1' ./configure.ac); \
|
||||
if test "x$$MACRO_DIR" != "x$(srcdir)/"; then \
|
||||
for x in \
|
||||
libtool.m4 \
|
||||
ltoptions.m4 \
|
||||
ltsugar.m4 \
|
||||
ltversion.m4 \
|
||||
lt~obsolete.m4 \
|
||||
; do echo "$$MACRO_DIR/$$x"; done; \
|
||||
fi`
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Default rule is to install ourselves in all Makefile.am files:
|
||||
###############################################################################
|
||||
|
||||
git-all: git-mk-install
|
||||
|
||||
git-mk-install:
|
||||
@echo "Installing git makefile"
|
||||
@any_failed=; \
|
||||
find "`test -z "$(top_srcdir)" && echo . || echo "$(top_srcdir)"`" -name Makefile.am | while read x; do \
|
||||
if grep 'include .*/git.mk' $$x >/dev/null; then \
|
||||
echo "$$x already includes git.mk"; \
|
||||
else \
|
||||
failed=; \
|
||||
echo "Updating $$x"; \
|
||||
{ cat $$x; \
|
||||
echo ''; \
|
||||
echo '-include $$(top_srcdir)/git.mk'; \
|
||||
} > $$x.tmp || failed=1; \
|
||||
if test x$$failed = x; then \
|
||||
mv $$x.tmp $$x || failed=1; \
|
||||
fi; \
|
||||
if test x$$failed = x; then : else \
|
||||
echo "Failed updating $$x"; >&2 \
|
||||
any_failed=1; \
|
||||
fi; \
|
||||
fi; done; test -z "$$any_failed"
|
||||
|
||||
.PHONY: git-all git-mk-install
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Actual .gitignore generation:
|
||||
###############################################################################
|
||||
|
||||
$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
|
||||
@echo "git.mk: Generating $@"
|
||||
@{ \
|
||||
if test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x; then :; else \
|
||||
for x in \
|
||||
$(DOC_MODULE)-decl-list.txt \
|
||||
$(DOC_MODULE)-decl.txt \
|
||||
tmpl/$(DOC_MODULE)-unused.sgml \
|
||||
"tmpl/*.bak" \
|
||||
xml html \
|
||||
; do echo "/$$x"; done; \
|
||||
FLAVOR=$$(cd $(top_srcdir); $(AUTOCONF) --trace 'GTK_DOC_CHECK:$$2' ./configure.ac); \
|
||||
case $$FLAVOR in *no-tmpl*) echo /tmpl;; esac; \
|
||||
fi; \
|
||||
if test "x$(DOC_MODULE)$(DOC_ID)" = x -o "x$(DOC_LINGUAS)" = x; then :; else \
|
||||
for lc in $(DOC_LINGUAS); do \
|
||||
for x in \
|
||||
$(if $(DOC_MODULE),$(DOC_MODULE).xml) \
|
||||
$(DOC_PAGES) \
|
||||
$(DOC_INCLUDES) \
|
||||
; do echo "/$$lc/$$x"; done; \
|
||||
done; \
|
||||
for x in \
|
||||
$(_DOC_OMF_ALL) \
|
||||
$(_DOC_DSK_ALL) \
|
||||
$(_DOC_HTML_ALL) \
|
||||
$(_DOC_MOFILES) \
|
||||
$(DOC_H_FILE) \
|
||||
"*/.xml2po.mo" \
|
||||
"*/*.omf.out" \
|
||||
; do echo /$$x; done; \
|
||||
fi; \
|
||||
if test "x$(HELP_ID)" = x -o "x$(HELP_LINGUAS)" = x; then :; else \
|
||||
for lc in $(HELP_LINGUAS); do \
|
||||
for x in \
|
||||
$(HELP_FILES) \
|
||||
"$$lc.stamp" \
|
||||
"$$lc.mo" \
|
||||
; do echo "/$$lc/$$x"; done; \
|
||||
done; \
|
||||
fi; \
|
||||
if test "x$(gsettings_SCHEMAS)" = x; then :; else \
|
||||
for x in \
|
||||
$(gsettings_SCHEMAS:.xml=.valid) \
|
||||
$(gsettings__enum_file) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(appdata_XML)" = x; then :; else \
|
||||
for x in \
|
||||
$(appdata_XML:.xml=.valid) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(appstream_XML)" = x; then :; else \
|
||||
for x in \
|
||||
$(appstream_XML:.xml=.valid) \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
for tdir in po $(GITIGNORE_TRANSLATION_DIRS); do \
|
||||
if test -f "$(srcdir)/$$tdir/Makefile.in.in"; then \
|
||||
for x in \
|
||||
$$tdir/Makefile.in.in \
|
||||
$$tdir/Makefile.in.in~ \
|
||||
$$tdir/Makefile.in \
|
||||
$$tdir/Makefile \
|
||||
$$tdir/Makevars.template \
|
||||
$$tdir/POTFILES \
|
||||
$$tdir/Rules-quot \
|
||||
$$tdir/stamp-it \
|
||||
$$tdir/stamp-po \
|
||||
$$tdir/.intltool-merge-cache \
|
||||
"$$tdir/*.gmo" \
|
||||
"$$tdir/*.header" \
|
||||
"$$tdir/*.mo" \
|
||||
"$$tdir/*.sed" \
|
||||
"$$tdir/*.sin" \
|
||||
$$tdir/$(GETTEXT_PACKAGE).pot \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
for x in \
|
||||
ABOUT-NLS \
|
||||
intltool-extract.in \
|
||||
intltool-merge.in \
|
||||
intltool-update.in \
|
||||
; do echo "/$$x"; done; \
|
||||
done; \
|
||||
if test -f $(srcdir)/configure; then \
|
||||
for x in \
|
||||
autom4te.cache \
|
||||
configure \
|
||||
config.h \
|
||||
stamp-h1 \
|
||||
libtool \
|
||||
config.lt \
|
||||
; do echo "/$$x"; done; \
|
||||
fi; \
|
||||
if test "x$(DEJATOOL)" = x; then :; else \
|
||||
for x in \
|
||||
$(DEJATOOL) \
|
||||
; do echo "/$$x.sum"; echo "/$$x.log"; done; \
|
||||
echo /site.exp; \
|
||||
fi; \
|
||||
if test "x$(am__dirstamp)" = x; then :; else \
|
||||
echo "$(am__dirstamp)"; \
|
||||
fi; \
|
||||
if test "x$(LTCOMPILE)" = x -a "x$(LTCXXCOMPILE)" = x -a "x$(GTKDOC_RUN)" = x; then :; else \
|
||||
for x in \
|
||||
"*.lo" \
|
||||
".libs" "_libs" \
|
||||
; do echo "$$x"; done; \
|
||||
fi; \
|
||||
for x in \
|
||||
.gitignore \
|
||||
$(GITIGNOREFILES) \
|
||||
$(CLEANFILES) \
|
||||
$(PROGRAMS) $(check_PROGRAMS) $(EXTRA_PROGRAMS) \
|
||||
$(LIBRARIES) $(check_LIBRARIES) $(EXTRA_LIBRARIES) \
|
||||
$(LTLIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LTLIBRARIES) \
|
||||
so_locations \
|
||||
$(MOSTLYCLEANFILES) \
|
||||
$(TEST_LOGS) \
|
||||
$(TEST_LOGS:.log=.trs) \
|
||||
$(TEST_SUITE_LOG) \
|
||||
"*.gcda" \
|
||||
"*.gcno" \
|
||||
$(DISTCLEANFILES) \
|
||||
$(am__CONFIG_DISTCLEAN_FILES) \
|
||||
$(CONFIG_CLEAN_FILES) \
|
||||
TAGS ID GTAGS GRTAGS GSYMS GPATH tags \
|
||||
"*.tab.c" \
|
||||
$(MAINTAINERCLEANFILES) \
|
||||
$(BUILT_SOURCES) \
|
||||
$(patsubst %.vala,%.c,$(filter %.vala,$(SOURCES))) \
|
||||
$(filter %_vala.stamp,$(DIST_COMMON)) \
|
||||
$(filter %.vapi,$(DIST_COMMON)) \
|
||||
$(filter $(addprefix %,$(notdir $(patsubst %.vapi,%.h,$(filter %.vapi,$(DIST_COMMON))))),$(DIST_COMMON)) \
|
||||
Makefile \
|
||||
Makefile.in \
|
||||
"*.orig" \
|
||||
"*.rej" \
|
||||
"*.bak" \
|
||||
"*~" \
|
||||
".*.sw[nop]" \
|
||||
".dirstamp" \
|
||||
; do echo "/$$x"; done; \
|
||||
for x in \
|
||||
"*.$(OBJEXT)" \
|
||||
$(DEPDIR) \
|
||||
; do echo "$$x"; done; \
|
||||
} | \
|
||||
sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \
|
||||
sed 's@/[.]/@/@g' | \
|
||||
LC_ALL=C sort | uniq > $@.tmp && \
|
||||
mv $@.tmp $@;
|
||||
|
||||
all: $(srcdir)/.gitignore gitignore-recurse-maybe
|
||||
gitignore: $(srcdir)/.gitignore gitignore-recurse
|
||||
|
||||
gitignore-recurse-maybe:
|
||||
@for subdir in $(DIST_SUBDIRS); do \
|
||||
case " $(SUBDIRS) " in \
|
||||
*" $$subdir "*) :;; \
|
||||
*) test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir");; \
|
||||
esac; \
|
||||
done
|
||||
gitignore-recurse:
|
||||
@for subdir in $(DIST_SUBDIRS); do \
|
||||
test "$$subdir" = . -o -e "$$subdir/.git" || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) gitignore || echo "Skipping $$subdir"); \
|
||||
done
|
||||
|
||||
maintainer-clean: gitignore-clean
|
||||
gitignore-clean:
|
||||
-rm -f $(srcdir)/.gitignore
|
||||
|
||||
.PHONY: gitignore-clean gitignore gitignore-recurse gitignore-recurse-maybe
|
749
gtk/Makefile.am
749
gtk/Makefile.am
@ -1,749 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
GTK_BASE_CFLAGS_DEFINES = \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\" \
|
||||
-DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED
|
||||
|
||||
GTK_PLAT_CFLAGS_DEFINES = \
|
||||
-DGTK_LIBDIR=\"$(libdir)\" \
|
||||
-DGTK_LOCALEDIR=\"$(localedir)\" \
|
||||
-DGTK_DATADIR=\"$(datadir)\" \
|
||||
-DGTK_DATA_PREFIX=\"$(prefix)\" \
|
||||
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
|
||||
-DGTK_HOST=\"$(host)\" \
|
||||
-DGTK_PRINT_BACKENDS=\"$(GTK_PRINT_BACKENDS)\"
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"Gtk\" \
|
||||
$(GTK_BASE_CFLAGS_DEFINES) \
|
||||
$(GTK_PLAT_CFLAGS_DEFINES) \
|
||||
-DX11_DATA_PREFIX=\"$(X11_PREFIX)\" \
|
||||
-DISO_CODES_PREFIX=\"$(ISO_CODES_PREFIX)\" \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GMODULE_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(INCLUDED_IMMODULE_DEFINE)
|
||||
|
||||
if OS_WIN32
|
||||
gtk_def = gtk.def
|
||||
gtk_win32_symbols = -export-symbols $(srcdir)/gtk.def
|
||||
|
||||
gtk_win32_res = gtk-win32-res.o
|
||||
gtk_win32_res_ldflag = -Wl,gtk-win32-res.o
|
||||
|
||||
gtk-win32-res.o : gtk-win32.rc libgtk3.manifest
|
||||
$(WINDRES) gtk-win32.rc $@
|
||||
|
||||
gtk-win32.rc: gtk-win32.rc.body
|
||||
cat $< >>$@
|
||||
echo "ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST libgtk3.manifest" >>$@
|
||||
|
||||
gtk.def: libgtk-3.la
|
||||
echo "LIBRARY libgtk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@
|
||||
echo "EXPORTS" >>$@
|
||||
objdump -p .libs/libgtk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
|
||||
|
||||
install-def-file: gtk.def
|
||||
$(INSTALL) gtk.def $(DESTDIR)$(libdir)/gtk-win32-3.0.def
|
||||
uninstall-def-file:
|
||||
-rm $(DESTDIR)$(libdir)/gtk-win32-3.0.def
|
||||
else
|
||||
install-def-file:
|
||||
uninstall-def-file:
|
||||
endif
|
||||
|
||||
if MS_LIB_AVAILABLE
|
||||
noinst_DATA = gtk-win32-$(GTK_API_VERSION).lib
|
||||
|
||||
gtk-win32-$(GTK_API_VERSION).lib: libgtk-3.la gtk.def
|
||||
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgtk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gtk.def -out:$@
|
||||
|
||||
install-ms-lib:
|
||||
$(INSTALL) gtk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-ms-lib:
|
||||
-rm $(DESTDIR)$(libdir)/gtk-win32-$(GTK_API_VERSION).lib
|
||||
else
|
||||
install-ms-lib:
|
||||
uninstall-ms-lib:
|
||||
endif
|
||||
|
||||
libadd = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GMODULE_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
deps = \
|
||||
$(top_builddir)/gdk/libgdk-3.la
|
||||
|
||||
# libtool stuff: set version and export symbols for resolving
|
||||
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
|
||||
# we use the general approach here
|
||||
libtool_opts = \
|
||||
$(GTK_LINK_FLAGS) \
|
||||
-version-info $(LT_VERSION_INFO) \
|
||||
-export-dynamic $(no_undefined) \
|
||||
-rpath $(libdir)
|
||||
|
||||
|
||||
included-modules:
|
||||
if HAVE_INCLUDED_IMMMODULES
|
||||
@cd $(top_builddir)/modules/input && $(MAKE) $(AM_MAKEFLAGS) included-modules
|
||||
|
||||
libadd += $(INCLUDED_IMMODULE_OBJ)
|
||||
deps += $(INCLUDED_IMMODULE_OBJ)
|
||||
|
||||
$(INCLUDED_IMMODULE_OBJ): included-modules
|
||||
@true
|
||||
endif
|
||||
|
||||
.PHONY: included-modules
|
||||
|
||||
#
|
||||
# setup source file variables
|
||||
#
|
||||
|
||||
include $(srcdir)/a11y/Makefile.inc
|
||||
include $(srcdir)/deprecated/Makefile.inc
|
||||
include $(srcdir)/inspector/Makefile.inc
|
||||
include $(srcdir)/gtk-sources.inc
|
||||
|
||||
# GTK+ header files for public installation (non-generated, or generated
|
||||
# by configure)
|
||||
|
||||
gtk_public_h_sources = $(GTK_PUB_HDRS)
|
||||
|
||||
if OS_UNIX
|
||||
gtk_unix_print_public_h_sources = $(GTK_UNIX_PRINT_PUB_HDRS)
|
||||
endif
|
||||
|
||||
gtk_private_type_h_sources = $(GTK_PRIVATE_TYPE_HDRS)
|
||||
|
||||
# GTK+ header files that don't get installed
|
||||
gtk_private_h_sources = \
|
||||
$(inspector_h_sources) \
|
||||
$(gtk_private_type_h_sources) \
|
||||
$(gtk_base_private_h_sources)
|
||||
|
||||
# GTK+ C sources to build the library from
|
||||
gtk_base_c_sources = \
|
||||
$(a11y_c_sources) \
|
||||
$(gtk_deprecated_c_sources) \
|
||||
$(inspector_c_sources) \
|
||||
$(gtk_base_c_sources_base)
|
||||
|
||||
if USE_QUARTZ
|
||||
gtk_base_c_sources += $(gtk_clipboard_dnd_c_sources_quartz)
|
||||
else
|
||||
gtk_base_c_sources += $(gtk_clipboard_dnd_c_sources_generic)
|
||||
endif
|
||||
|
||||
nodist_gtk_c_sources =
|
||||
gtk_c_sources = $(gtk_base_c_sources)
|
||||
|
||||
$(gtk_dbus_built_sources) : Makefile.am gtkdbusinterfaces.xml
|
||||
$(AM_V_GEN) gdbus-codegen \
|
||||
--interface-prefix org.Gtk. \
|
||||
--c-namespace _Gtk \
|
||||
--generate-c-code gtkdbusgenerated \
|
||||
$(srcdir)/gtkdbusinterfaces.xml
|
||||
|
||||
nodist_gtk_c_sources += $(gtk_dbus_built_sources)
|
||||
|
||||
gtk_os_unix_c_sources = $(gtk_os_unix_c_sources_base)
|
||||
|
||||
if OS_UNIX
|
||||
gtk_private_h_sources += $(gtk_os_unix_private_h_sources)
|
||||
|
||||
if HAVE_TRACKER3
|
||||
gtk_private_h_sources += $(gtk_os_unix_tracker3_private_h_sources)
|
||||
gtk_os_unix_c_sources += $(gtk_os_unix_tracker3_c_sources)
|
||||
endif
|
||||
|
||||
gtk_c_sources += $(gtk_os_unix_c_sources)
|
||||
endif
|
||||
|
||||
if OS_WIN32
|
||||
gtk_private_h_sources += $(gtk_os_win32_private_h_sources)
|
||||
gtk_c_sources += $(gtk_os_win32_c_sources)
|
||||
endif
|
||||
|
||||
if USE_X11
|
||||
gtk_c_sources += $(gtk_use_x11_c_sources)
|
||||
gtk_private_h_sources += $(gtk_use_x11_private_h_sources)
|
||||
endif
|
||||
|
||||
if USE_WAYLAND
|
||||
gtk_c_sources += $(gtk_use_wayland_c_sources)
|
||||
endif
|
||||
|
||||
# pretty tricky way to write USE_WAYLAND || USE_X11...
|
||||
if USE_WAYLAND
|
||||
gtk_c_sources += $(gtk_use_wayland_or_x11_c_sources)
|
||||
else
|
||||
if USE_X11
|
||||
gtk_c_sources += $(gtk_use_wayland_or_x11_c_sources)
|
||||
else
|
||||
endif
|
||||
endif
|
||||
|
||||
if USE_WIN32
|
||||
gtk_c_sources += $(gtk_use_win32_c_sources)
|
||||
gtk_private_h_sources += $(gtk_use_win32_private_h_sources)
|
||||
endif
|
||||
|
||||
if USE_QUARTZ
|
||||
gtk_c_sources += $(gtk_use_quartz_c_sources)
|
||||
gtk_private_h_sources += $(gtk_use_quartz_private_h_sources)
|
||||
endif
|
||||
|
||||
gtk_all_private_h_sources = \
|
||||
$(a11y_private_h_sources) \
|
||||
$(gtk_deprecated_private_h_sources) \
|
||||
$(gtk_private_h_sources) \
|
||||
$(gtk_use_x11_private_h_sources) \
|
||||
$(gtk_use_win32_private_h_sources) \
|
||||
$(gtk_use_quartz_private_h_sources)
|
||||
|
||||
if !USE_X11
|
||||
if !USE_WIN32
|
||||
if !USE_QUARTZ
|
||||
gtk_c_sources += $(gtk_use_stub_c_sources)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# we use our own built_sources variable rules to avoid automake's
|
||||
# BUILT_SOURCES oddities
|
||||
# we generate frequently rebuild files piggyback on a stamp file, so sources
|
||||
# depending on them only get rebuild when the built source actually changed
|
||||
# content
|
||||
|
||||
gtk_built_sources = \
|
||||
$(gtk_built_private_headers) \
|
||||
$(gtk_built_public_sources) \
|
||||
$(gtk_other_built_sources)
|
||||
|
||||
nodist_gtk_c_sources += $(gtk_built_sources)
|
||||
|
||||
stamp_files = \
|
||||
stamp-gtkmarshalers.h \
|
||||
stamp-gtktypebuiltins.h \
|
||||
stamp-gtkprivatetypebuiltins.h
|
||||
|
||||
#
|
||||
# setup GTK+ sources and their dependencies
|
||||
#
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(gtk_built_sources) \
|
||||
$(gtk_dbus_built_sources) \
|
||||
$(print_portal_built_sources) \
|
||||
$(stamp_files)
|
||||
|
||||
DISTCLEANFILES = gtktypefuncs.inc
|
||||
|
||||
if OS_WIN32
|
||||
DISTCLEANFILES += gtk-win32.rc
|
||||
endif
|
||||
|
||||
EXTRA_DIST += $(gtk_all_private_h_sources) $(gtk_extra_sources)
|
||||
|
||||
# We need to dist this for `make distcheck`, apparently...
|
||||
EXTRA_DIST += gtk.gresource.xml
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/gtk-$(GTK_API_VERSION)
|
||||
pkgdata_DATA = gtkbuilder.rng
|
||||
|
||||
EXTRA_DIST += gtkbuilder.rnc gtkbuilder.rng
|
||||
|
||||
itsdir = $(datadir)/gettext/its
|
||||
its_DATA = gtkbuilder.loc gtkbuilder.its
|
||||
|
||||
EXTRA_DIST += $(its_DATA)
|
||||
|
||||
templates = \
|
||||
$(inspector_templates) \
|
||||
$(gtk_base_ui_templates)
|
||||
|
||||
#
|
||||
# rules to generate built sources
|
||||
#
|
||||
# setup autogeneration dependencies
|
||||
gen_sources = xgen-gdef xgen-gtbh xgen-gtic xgen-gmh xgen-gmc xgen-gmlh xgen-gmlc xgen-gtfsrc.c xgen-gtf
|
||||
CLEANFILES = $(gen_sources)
|
||||
|
||||
BUILT_SOURCES = \
|
||||
$(gtk_built_sources) \
|
||||
$(gtk_dbus_built_sources) \
|
||||
$(print_portal_built_sources)
|
||||
|
||||
# all autogenerated files need to be generated in the srcdir,
|
||||
# so old versions get remade and are not confused with newer
|
||||
# versions in the build dir. thus a development setup requires
|
||||
# srcdir to be writable, passing --disable-rebuilds to
|
||||
# ../configure will supress all autogeneration rules.
|
||||
gtkmarshalers.h: stamp-gtkmarshalers.h
|
||||
@true
|
||||
stamp-gtkmarshalers.h: gtkmarshalers.list
|
||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||
--prefix=_gtk_marshal \
|
||||
--header \
|
||||
--valist-marshallers \
|
||||
$(srcdir)/gtkmarshalers.list >> xgen-gmlh \
|
||||
&& (cmp -s xgen-gmlh gtkmarshalers.h || cp xgen-gmlh gtkmarshalers.h) \
|
||||
&& rm -f xgen-gmlh \
|
||||
&& echo timestamp > $(@F)
|
||||
gtkmarshalers.c: gtkmarshalers.list
|
||||
$(AM_V_GEN) (echo "#undef G_ENABLE_DEBUG"; \
|
||||
$(GLIB_GENMARSHAL) \
|
||||
--prefix=_gtk_marshal \
|
||||
--body \
|
||||
--valist-marshallers $(srcdir)/gtkmarshalers.list) >> xgen-gmlc \
|
||||
&& cp xgen-gmlc gtkmarshalers.c \
|
||||
&& rm -f xgen-gmlc
|
||||
|
||||
gtktypebuiltins.h: stamp-gtktypebuiltins.h
|
||||
@true
|
||||
stamp-gtktypebuiltins.h: $(gtk_public_h_sources) $(a11y_h_sources) $(gtk_deprecated_h_sources) gtktypebuiltins.h.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtktypebuiltins.h.template \
|
||||
$(gtk_public_h_sources) $(a11y_h_sources) $(gtk_deprecated_h_sources) ) > xgen-gtbh \
|
||||
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \
|
||||
&& rm -f xgen-gtbh \
|
||||
&& echo timestamp > $(@F)
|
||||
gtktypebuiltins.c: $(gtk_public_h_sources) $(a11y_h_sources) $(gtk_deprecated_h_sources) gtktypebuiltins.c.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtktypebuiltins.c.template \
|
||||
$(gtk_public_h_sources) $(a11y_h_sources) $(gtk_deprecated_h_sources) ) > xgen-gtbc \
|
||||
&& cp xgen-gtbc gtktypebuiltins.c \
|
||||
&& rm -f xgen-gtbc
|
||||
|
||||
gtk.gresource.xml: Makefile.am inspector/Makefile.inc
|
||||
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
||||
echo "<gresources>" >> $@; \
|
||||
echo " <gresource prefix='/org/gtk/libgtk'>" >> $@; \
|
||||
echo " <file>theme/Adwaita/gtk.css</file>" >> $@; \
|
||||
echo " <file>theme/Adwaita/gtk-dark.css</file>" >> $@; \
|
||||
echo " <file>theme/Adwaita/gtk-contained.css</file>" >> $@; \
|
||||
echo " <file>theme/Adwaita/gtk-contained-dark.css</file>" >> $@; \
|
||||
for f in $(srcdir)/theme/Adwaita/assets/*.png; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file preprocess='to-pixdata'>theme/Adwaita/assets/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(srcdir)/theme/Adwaita/assets/*.svg; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>theme/Adwaita/assets/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " <file>theme/HighContrast/gtk.css</file>" >> $@; \
|
||||
echo " <file alias='theme/HighContrastInverse/gtk.css'>theme/HighContrast/gtk-inverse.css</file>" >> $@; \
|
||||
echo " <file>theme/HighContrast/gtk-contained.css</file>" >> $@; \
|
||||
echo " <file>theme/HighContrast/gtk-contained-inverse.css</file>" >> $@; \
|
||||
for f in $(srcdir)/theme/HighContrast/assets/*.png; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file preprocess='to-pixdata'>theme/HighContrast/assets/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(srcdir)/theme/HighContrast/assets/*.svg; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>theme/HighContrast/assets/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " <file>theme/win32/gtk-win32-base.css</file>" >> $@; \
|
||||
echo " <file>theme/win32/gtk.css</file>" >> $@; \
|
||||
for f in $(srcdir)/cursor/*.png; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>cursor/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(srcdir)/gesture/*.symbolic.png; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file alias='icons/64x64/actions/$$n'>gesture/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for f in $(srcdir)/ui/*.ui; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file preprocess='xml-stripblanks'>ui/$$n</file>" >> $@; \
|
||||
done; \
|
||||
for s in 16x16 22x22 24x24 32x32 48x48; do \
|
||||
for c in actions status categories; do \
|
||||
for f in $(srcdir)/icons/$$s/$$c/*.png; do \
|
||||
test "$$f" = "$(srcdir)/icons/$$s/$$c/*.png" && continue; \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>icons/$$s/$$c/$$n</file>" >> $@; \
|
||||
done; \
|
||||
done; \
|
||||
done; \
|
||||
for s in scalable; do \
|
||||
for c in status; do \
|
||||
for f in $(srcdir)/icons/$$s/$$c/*.svg; do \
|
||||
test "$$f" = "$(srcdir)/icons/$$s/$$c/*.svg" && continue; \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>icons/$$s/$$c/$$n</file>" >> $@; \
|
||||
done; \
|
||||
done; \
|
||||
done; \
|
||||
for f in $(srcdir)/inspector/*.ui; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file compressed='true' preprocess='xml-stripblanks'>inspector/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " <file>inspector/logo.png</file>" >> $@; \
|
||||
for f in $(srcdir)/emoji/*.data; do \
|
||||
n=`basename $$f`; \
|
||||
echo " <file>emoji/$$n</file>" >> $@; \
|
||||
done; \
|
||||
echo " </gresource>" >> $@; \
|
||||
echo "</gresources>" >> $@;
|
||||
|
||||
adwaita_theme_scss = \
|
||||
$(adwaita_theme_scss_sources) \
|
||||
$()
|
||||
|
||||
highcontrast_theme_scss = \
|
||||
$(highcontrast_theme_scss_sources) \
|
||||
$()
|
||||
|
||||
if REBUILD_SCSS
|
||||
# If we have sassc then we can rebuild the theme CSS as soon as the SCSS
|
||||
# files have been changed
|
||||
|
||||
scss_verbose = $(scss_verbose_@AM_V@)
|
||||
scss_verbose_ = $(scss_verbose_@AM_DEFAULT_V@)
|
||||
scss_verbose_0 = @echo " SCSS $@";
|
||||
|
||||
SASSC_OPTS = -a -M -t compact
|
||||
|
||||
theme/Adwaita/gtk-contained.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained.scss $(adwaita_theme_scss)
|
||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||
|
||||
theme/Adwaita/gtk-contained-dark.css: $(top_srcdir)/gtk/theme/Adwaita/gtk-contained-dark.scss $(adwaita_theme_scss)
|
||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||
|
||||
theme/HighContrast/gtk-contained.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained.scss $(highcontrast_theme_scss)
|
||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||
|
||||
theme/HighContrast/gtk-contained-inverse.css: $(top_srcdir)/gtk/theme/HighContrast/gtk-contained-inverse.scss $(highcontrast_theme_scss)
|
||||
$(scss_verbose) $(MKDIR_P) $(dir $@) && $(SASSC) $(SASSC_OPTS) $< $@ || rm -f $@
|
||||
|
||||
endif # REBUILD_SCSS
|
||||
|
||||
theme_sources = \
|
||||
$(win32_theme_css_sources) \
|
||||
$(adwaita_theme_scss) \
|
||||
$(adwaita_theme_files) \
|
||||
$(highcontrast_theme_scss) \
|
||||
$(highcontrast_theme_css_sources)
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/gtk.gresource.xml)
|
||||
|
||||
gtkresources.h: gtk.gresource.xml
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
||||
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-header --manual-register --internal
|
||||
gtkresources.c: gtk.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
||||
--target=$@ --sourcedir=$(srcdir) --c-name _gtk --generate-source --manual-register --internal
|
||||
|
||||
gtkprivatetypebuiltins.h: stamp-gtkprivatetypebuiltins.h
|
||||
@true
|
||||
stamp-gtkprivatetypebuiltins.h: $(gtk_private_type_h_sources) gtkprivatetypebuiltins.h.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtkprivatetypebuiltins.h.template \
|
||||
$(gtk_private_type_h_sources) ) > xgen-gptbh \
|
||||
&& (cmp -s xgen-gptbh gtkprivatetypebuiltins.h || cp xgen-gptbh gtkprivatetypebuiltins.h ) \
|
||||
&& rm -f xgen-gptbh \
|
||||
&& echo timestamp > $(@F)
|
||||
gtkprivatetypebuiltins.c: $(gtk_private_type_h_sources) gtkprivatetypebuiltins.c.template
|
||||
$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gtkprivatetypebuiltins.c.template \
|
||||
$(gtk_private_type_h_sources) ) > xgen-gptbc \
|
||||
&& cp xgen-gptbc gtkprivatetypebuiltins.c \
|
||||
&& rm -f xgen-gptbc
|
||||
|
||||
|
||||
gtktypefuncs.inc: stamp-gtktypebuiltins.h stamp-gtkprivatetypebuiltins.h $(top_srcdir)/gtk/*.h $(top_srcdir)/gtk/a11y/*.h $(top_srcdir)/gtk/deprecated/*.h $(top_srcdir)/gdk/*.h Makefile
|
||||
$(AM_V_GEN) export LC_ALL=C ; \
|
||||
(echo '#undef GTK_COMPILATION' && echo '#include <gtk/gtkx.h>') > xgen-gtfsrc.c && \
|
||||
echo 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' > xgen-gtf && \
|
||||
${CPP} $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \
|
||||
$(GREP) -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
|
||||
sort | uniq | \
|
||||
$(SED) '{ s/^/*tp++ = /; s/$$/();/; s/^.*\(gdk_x11\|gtk_plug_\|gtk_socket_\).*$$/#ifdef GDK_WINDOWING_X11\n&\n#endif/; }' >> xgen-gtf \
|
||||
&& cp xgen-gtf $@ && rm -f xgen-gtf
|
||||
$(srcdir)/gtktestutils.c: gtktypefuncs.inc
|
||||
|
||||
# target platform:
|
||||
lib_LTLIBRARIES = libgtk-3.la
|
||||
|
||||
gtkincludedir = $(includedir)/gtk-3.0/gtk
|
||||
gtkinclude_HEADERS = $(gtk_public_h_sources) $(gtk_semi_private_h_sources) $(gtk_built_public_sources) gtkversion.h
|
||||
|
||||
a11yincludedir = $(includedir)/gtk-3.0/gtk/a11y
|
||||
a11yinclude_HEADERS= $(a11y_h_sources)
|
||||
|
||||
deprecatedincludedir = $(includedir)/gtk-3.0/gtk/deprecated
|
||||
deprecatedinclude_HEADERS= $(gtk_deprecated_h_sources)
|
||||
|
||||
gtkunixprintincludedir = $(includedir)/gtk-3.0/unix-print/gtk
|
||||
gtkunixprintinclude_HEADERS = $(gtk_unix_print_public_h_sources)
|
||||
|
||||
nodist_libgtk_3_la_SOURCES = $(nodist_gtk_c_sources)
|
||||
libgtk_3_la_SOURCES = $(gtk_c_sources)
|
||||
libgtk_3_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||||
libgtk_3_la_LDFLAGS = $(libtool_opts)
|
||||
libgtk_3_la_LIBADD = $(libadd)
|
||||
libgtk_3_la_DEPENDENCIES = $(deps)
|
||||
|
||||
if USE_QUARTZ
|
||||
libgtk_3_la_CFLAGS += "-xobjective-c"
|
||||
endif
|
||||
|
||||
if USE_WIN32
|
||||
libgtk_3_la_LIBADD += -lole32 -lgdi32 -lcomdlg32 -lwinspool -lcomctl32
|
||||
libgtk_3_la_LDFLAGS += -Wl,-luuid $(gtk_win32_res_ldflag)
|
||||
libgtk_3_la_DEPENDENCIES += $(gtk_win32_res)
|
||||
endif
|
||||
|
||||
install-exec-hook:
|
||||
if DISABLE_EXPLICIT_DEPS
|
||||
$(SHELL) $(top_srcdir)/sanitize-la.sh $(DESTDIR)$(libdir)/libgtk-3.la
|
||||
endif
|
||||
|
||||
if USE_QUARTZ
|
||||
install-mac-key-theme:
|
||||
$(MKDIR_P) $(DESTDIR)$(datadir)/themes/Mac/gtk-3.0
|
||||
$(INSTALL_DATA) $(srcdir)/gtk-keys.css.mac $(DESTDIR)$(datadir)/themes/Mac/gtk-3.0/gtk-keys.css
|
||||
uninstall-mac-key-theme:
|
||||
rm -f $(DESTDIR)$(datadir)/themes/Mac/gtk-3.0/gtk-keys.css
|
||||
else
|
||||
install-mac-key-theme:
|
||||
uninstall-mac-key-theme:
|
||||
endif
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gtk-3
|
||||
|
||||
gtk_3_FILES = \
|
||||
$(gtk_base_c_sources) \
|
||||
$(gtk_os_win32_c_sources) \
|
||||
$(gtk_use_win32_c_sources)
|
||||
|
||||
gtk_3_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gtk-3.vcproj
|
||||
|
||||
# Install a RC file for the default GTK+ theme, and key themes
|
||||
install-data-local: install-ms-lib install-def-file install-mac-key-theme
|
||||
$(MKDIR_P) $(DESTDIR)$(datadir)/themes/Default/gtk-3.0
|
||||
$(INSTALL_DATA) $(srcdir)/gtk-keys.css.default $(DESTDIR)$(datadir)/themes/Default/gtk-3.0/gtk-keys.css
|
||||
$(MKDIR_P) $(DESTDIR)$(datadir)/themes/Emacs/gtk-3.0
|
||||
$(INSTALL_DATA) $(srcdir)/gtk-keys.css.emacs $(DESTDIR)$(datadir)/themes/Emacs/gtk-3.0/gtk-keys.css
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-def-file uninstall-mac-key-theme
|
||||
rm -f $(DESTDIR)$(datadir)/themes/Default/gtk-3.0/gtk-keys.css
|
||||
rm -f $(DESTDIR)$(datadir)/themes/Emacs/gtk-3.0/gtk-keys.css
|
||||
|
||||
# if srcdir!=builddir, clean out maintainer-clean files from builddir
|
||||
# this allows dist to pass.
|
||||
distclean-local:
|
||||
if test $(srcdir) != .; then \
|
||||
rm -f $(MAINTAINERCLEANFILES); \
|
||||
fi
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
introspected_pub_headers = $(filter-out %private.h gtktextdisplay.h gtktextlayout.h gtkx.h, $(gtkinclude_HEADERS) $(a11yinclude_HEADERS) $(deprecatedinclude_HEADERS))
|
||||
|
||||
introspection_files = \
|
||||
$(introspected_pub_headers) \
|
||||
$(filter-out %win32.c, $(gtk_base_c_sources)) \
|
||||
gtkprintoperation-unix.c \
|
||||
gtktypebuiltins.h \
|
||||
gtktypebuiltins.c
|
||||
|
||||
if USE_X11
|
||||
introspection_files += \
|
||||
gtksocket.c \
|
||||
gtkplug.c
|
||||
endif
|
||||
|
||||
include $(INTROSPECTION_MAKEFILE)
|
||||
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
||||
INTROSPECTION_COMPILER_ARGS = \
|
||||
--includedir=$(srcdir) \
|
||||
--includedir=. \
|
||||
--includedir=../gdk
|
||||
|
||||
Gtk-3.0.gir: $(INTROSPECTION_SCANNER) libgtk-3.la $(top_builddir)/gdk/Gdk-3.0.gir Makefile
|
||||
Gtk_3_0_gir_SCANNERFLAGS = \
|
||||
--warn-all \
|
||||
--add-include-path=$(top_builddir)/gdk \
|
||||
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
|
||||
Gtk_3_0_gir_INCLUDES = Atk-1.0
|
||||
Gtk_3_0_gir_C_INCLUDES = gtk/gtk.h gtk/gtk-a11y.h
|
||||
if USE_X11
|
||||
Gtk_3_0_gir_SCANNERFLAGS += --add-include-path=$(top_builddir)/gdk/x11
|
||||
Gtk_3_0_gir_INCLUDES += xlib-2.0
|
||||
Gtk_3_0_gir_C_INCLUDES += gtk/gtkx.h
|
||||
endif
|
||||
Gtk_3_0_gir_CFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
|
||||
Gtk_3_0_gir_FILES = $(introspection_files)
|
||||
Gtk_3_0_gir_LIBS = libgtk-3.la $(top_builddir)/gdk/libgdk-3.la
|
||||
Gtk_3_0_gir_EXPORT_PACKAGES = gtk+-3.0
|
||||
INTROSPECTION_GIRS = Gtk-3.0.gir
|
||||
|
||||
girdir = $(datadir)/gir-1.0
|
||||
gir_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
typelibsdir = $(libdir)/girepository-1.0
|
||||
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
||||
|
||||
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
||||
endif
|
||||
|
||||
#
|
||||
# Installed tools
|
||||
#
|
||||
bin_PROGRAMS = \
|
||||
gtk-query-immodules-3.0 \
|
||||
gtk-update-icon-cache \
|
||||
gtk-encode-symbolic-svg \
|
||||
gtk-builder-tool \
|
||||
gtk-query-settings \
|
||||
gtk-launch
|
||||
|
||||
gtk_query_immodules_3_0_SOURCES = queryimmodules.c gtkutils.c
|
||||
gtk_query_immodules_3_0_LDADD = \
|
||||
libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GMODULE_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
gtk_update_icon_cache_SOURCES = updateiconcache.c
|
||||
gtk_update_icon_cache_LDADD = $(GDK_PIXBUF_LIBS)
|
||||
|
||||
gtk_encode_symbolic_svg_SOURCES = encodesymbolic.c
|
||||
gtk_encode_symbolic_svg_LDADD = \
|
||||
$(GDK_PIXBUF_LIBS) \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
gtk_builder_tool_SOURCES = gtk-builder-tool.c
|
||||
gtk_builder_tool_LDADD = \
|
||||
libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
gtk_query_settings_SOURCES = gtk-query-settings.c
|
||||
gtk_query_settings_LDADD= \
|
||||
libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
gtk_launch_SOURCES = gtk-launch.c
|
||||
gtk_launch_LDADD = \
|
||||
libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
if OS_WIN32
|
||||
|
||||
# Workaround for UAC silliness: programs with "update" in their name
|
||||
# are believed to be installers and require elevated privileges to be
|
||||
# used... Embed a manifest file into executable to tell Windows that
|
||||
# gtk-update-icon-cache.exe doesn't require any special privileges.
|
||||
|
||||
GTK_UPDATE_ICON_CACHE_MANIFEST = gtk-update-icon-cache.exe.manifest
|
||||
GTK_UPDATE_ICON_CACHE_RC = gtk-update-icon-cache.rc
|
||||
GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT = gtk-update-icon-cache_manifest.o
|
||||
|
||||
$(GTK_UPDATE_ICON_CACHE_MANIFEST): Makefile generate-uac-manifest.py
|
||||
$(PYTHON) $(srcdir)/generate-uac-manifest.py -p=gtk3 -n=gtk-update-icon-cache --pkg-version=$(GTK_VERSION) --output-dir=$(builddir)
|
||||
|
||||
$(GTK_UPDATE_ICON_CACHE_RC): $(GTK_UPDATE_ICON_CACHE_MANIFEST)
|
||||
|
||||
$(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT): $(GTK_UPDATE_ICON_CACHE_RC) $(GTK_UPDATE_ICON_CACHE_MANIFEST)
|
||||
$(WINDRES) --input $< --output $@ --output-format=coff
|
||||
|
||||
gtk_update_icon_cache_LDADD += $(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT)
|
||||
|
||||
endif
|
||||
|
||||
.PHONY: files
|
||||
|
||||
files:
|
||||
@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
|
||||
echo $$p; \
|
||||
done
|
||||
|
||||
gsettings_SCHEMAS = \
|
||||
org.gtk.Settings.FileChooser.gschema.xml \
|
||||
org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
org.gtk.Settings.EmojiChooser.gschema.xml \
|
||||
org.gtk.Settings.Debug.gschema.xml
|
||||
|
||||
@GSETTINGS_RULES@
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(resource_files) \
|
||||
$(gesture_sources) \
|
||||
$(theme_sources) \
|
||||
$(gsettings_SCHEMAS) \
|
||||
compose/compose-parse.py \
|
||||
emoji/convert-emoji.c \
|
||||
emoji/gresource.xml.in \
|
||||
emoji/README.md \
|
||||
emoji/de.data \
|
||||
emoji/en.data \
|
||||
emoji/es.data \
|
||||
emoji/fr.data \
|
||||
emoji/zh.data \
|
||||
a11y/Makefile.inc \
|
||||
deprecated/Makefile.inc \
|
||||
glade/README.glade \
|
||||
glade/gtk-private-widgets.xml \
|
||||
compose/gtk-compose-lookaside.txt \
|
||||
inspector/Makefile.inc \
|
||||
libgtk3.manifest.in \
|
||||
gtk-win32.rc.body.in \
|
||||
gtk-win32.rc.body \
|
||||
gtkwin32embed.h \
|
||||
gtkwin32embedwidget.h \
|
||||
gtkwin32embedwidget.c \
|
||||
gtkprint-win32.h \
|
||||
gtkprint-win32.c \
|
||||
gtksearchenginetracker3.c \
|
||||
gtksearchenginetracker3.h \
|
||||
gtksearchenginequartz.h \
|
||||
gtkdbusinterfaces.xml \
|
||||
gtk-keys.css.default \
|
||||
gtk-keys.css.emacs \
|
||||
gtk-keys.css.mac \
|
||||
makefile.msc \
|
||||
makefile.msc.in \
|
||||
gtktypebuiltins.c.template \
|
||||
gtktypebuiltins.h.template \
|
||||
gtkprivatetypebuiltins.c.template \
|
||||
gtkprivatetypebuiltins.h.template \
|
||||
meson.build \
|
||||
gen-gtk-gresources-xml.py \
|
||||
gen-rc.py \
|
||||
generate-uac-manifest.py \
|
||||
gentypefuncs.py \
|
||||
a11y/meson.build \
|
||||
deprecated/meson.build \
|
||||
inspector/meson.build \
|
||||
theme/Adwaita/meson.build \
|
||||
theme/Adwaita/parse-sass.sh \
|
||||
theme/Adwaita/render-assets.sh \
|
||||
theme/HighContrast/assets.svg \
|
||||
theme/HighContrast/assets.txt \
|
||||
theme/HighContrast/meson.build \
|
||||
theme/HighContrast/parse-sass.sh \
|
||||
theme/HighContrast/render-assets.sh
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,135 +0,0 @@
|
||||
a11y_h_sources = \
|
||||
a11y/gtk-a11y-autocleanups.h \
|
||||
a11y/gtkarrowaccessible.h \
|
||||
a11y/gtkbooleancellaccessible.h \
|
||||
a11y/gtkbuttonaccessible.h \
|
||||
a11y/gtkcellaccessible.h \
|
||||
a11y/gtkcellaccessibleparent.h \
|
||||
a11y/gtkcheckmenuitemaccessible.h \
|
||||
a11y/gtkcomboboxaccessible.h \
|
||||
a11y/gtkcontaineraccessible.h \
|
||||
a11y/gtkcontainercellaccessible.h \
|
||||
a11y/gtkentryaccessible.h \
|
||||
a11y/gtkexpanderaccessible.h \
|
||||
a11y/gtkfilechooserwidgetaccessible.h \
|
||||
a11y/gtkflowboxaccessible.h \
|
||||
a11y/gtkflowboxchildaccessible.h \
|
||||
a11y/gtkframeaccessible.h \
|
||||
a11y/gtkheaderbaraccessible.h \
|
||||
a11y/gtkiconviewaccessible.h \
|
||||
a11y/gtkimageaccessible.h \
|
||||
a11y/gtkimagecellaccessible.h \
|
||||
a11y/gtklabelaccessible.h \
|
||||
a11y/gtklevelbaraccessible.h \
|
||||
a11y/gtklinkbuttonaccessible.h \
|
||||
a11y/gtklistboxaccessible.h \
|
||||
a11y/gtklistboxrowaccessible.h \
|
||||
a11y/gtklockbuttonaccessible.h \
|
||||
a11y/gtkmenuaccessible.h \
|
||||
a11y/gtkmenubuttonaccessible.h \
|
||||
a11y/gtkmenuitemaccessible.h \
|
||||
a11y/gtkmenushellaccessible.h \
|
||||
a11y/gtknotebookaccessible.h \
|
||||
a11y/gtknotebookpageaccessible.h \
|
||||
a11y/gtkpanedaccessible.h \
|
||||
a11y/gtkplugaccessible.h \
|
||||
a11y/gtkpopoveraccessible.h \
|
||||
a11y/gtkprogressbaraccessible.h \
|
||||
a11y/gtkradiobuttonaccessible.h \
|
||||
a11y/gtkradiomenuitemaccessible.h \
|
||||
a11y/gtkrangeaccessible.h \
|
||||
a11y/gtkrenderercellaccessible.h \
|
||||
a11y/gtkscaleaccessible.h \
|
||||
a11y/gtkscalebuttonaccessible.h \
|
||||
a11y/gtkscrolledwindowaccessible.h \
|
||||
a11y/gtksocketaccessible.h \
|
||||
a11y/gtkspinbuttonaccessible.h \
|
||||
a11y/gtkspinneraccessible.h \
|
||||
a11y/gtkstatusbaraccessible.h \
|
||||
a11y/gtkstackaccessible.h \
|
||||
a11y/gtkswitchaccessible.h \
|
||||
a11y/gtktextcellaccessible.h \
|
||||
a11y/gtktextviewaccessible.h \
|
||||
a11y/gtktogglebuttonaccessible.h \
|
||||
a11y/gtktoplevelaccessible.h \
|
||||
a11y/gtktreeviewaccessible.h \
|
||||
a11y/gtkwidgetaccessible.h \
|
||||
a11y/gtkwindowaccessible.h
|
||||
|
||||
a11y_private_h_sources = \
|
||||
a11y/gtkaccessibility.h \
|
||||
a11y/gtkaccessibilitymisc.h \
|
||||
a11y/gtkaccessibilityutil.h \
|
||||
a11y/gtkcellaccessibleprivate.h \
|
||||
a11y/gtkcolorswatchaccessibleprivate.h \
|
||||
a11y/gtkcontaineraccessibleprivate.h \
|
||||
a11y/gtkiconviewaccessibleprivate.h \
|
||||
a11y/gtklabelaccessibleprivate.h \
|
||||
a11y/gtkflowboxaccessibleprivate.h \
|
||||
a11y/gtklistboxaccessibleprivate.h \
|
||||
a11y/gtklockbuttonaccessibleprivate.h \
|
||||
a11y/gtkstackaccessibleprivate.h \
|
||||
a11y/gtktextviewaccessibleprivate.h \
|
||||
a11y/gtktreeviewaccessibleprivate.h \
|
||||
a11y/gtkwidgetaccessibleprivate.h
|
||||
|
||||
a11y_c_sources = \
|
||||
a11y/gtkaccessibility.c \
|
||||
a11y/gtkaccessibilitymisc.c \
|
||||
a11y/gtkaccessibilityutil.c \
|
||||
a11y/gtkarrowaccessible.c \
|
||||
a11y/gtkbooleancellaccessible.c \
|
||||
a11y/gtkbuttonaccessible.c \
|
||||
a11y/gtkcellaccessible.c \
|
||||
a11y/gtkcellaccessibleparent.c \
|
||||
a11y/gtkcheckmenuitemaccessible.c \
|
||||
a11y/gtkcolorswatchaccessible.c \
|
||||
a11y/gtkcomboboxaccessible.c \
|
||||
a11y/gtkcontaineraccessible.c \
|
||||
a11y/gtkcontainercellaccessible.c \
|
||||
a11y/gtkentryaccessible.c \
|
||||
a11y/gtkexpanderaccessible.c \
|
||||
a11y/gtkfilechooserwidgetaccessible.c \
|
||||
a11y/gtkflowboxaccessible.c \
|
||||
a11y/gtkflowboxchildaccessible.c \
|
||||
a11y/gtkframeaccessible.c \
|
||||
a11y/gtkheaderbaraccessible.c \
|
||||
a11y/gtkiconviewaccessible.c \
|
||||
a11y/gtkimageaccessible.c \
|
||||
a11y/gtkimagecellaccessible.c \
|
||||
a11y/gtklabelaccessible.c \
|
||||
a11y/gtklevelbaraccessible.c \
|
||||
a11y/gtklinkbuttonaccessible.c \
|
||||
a11y/gtklistboxaccessible.c \
|
||||
a11y/gtklistboxrowaccessible.c \
|
||||
a11y/gtklockbuttonaccessible.c \
|
||||
a11y/gtkmenuaccessible.c \
|
||||
a11y/gtkmenubuttonaccessible.c \
|
||||
a11y/gtkmenushellaccessible.c \
|
||||
a11y/gtkmenuitemaccessible.c \
|
||||
a11y/gtknotebookaccessible.c \
|
||||
a11y/gtknotebookpageaccessible.c \
|
||||
a11y/gtkpanedaccessible.c \
|
||||
a11y/gtkplugaccessible.c \
|
||||
a11y/gtkpopoveraccessible.c \
|
||||
a11y/gtkprogressbaraccessible.c \
|
||||
a11y/gtkradiobuttonaccessible.c \
|
||||
a11y/gtkradiomenuitemaccessible.c \
|
||||
a11y/gtkrangeaccessible.c \
|
||||
a11y/gtkrenderercellaccessible.c \
|
||||
a11y/gtkscaleaccessible.c \
|
||||
a11y/gtkscalebuttonaccessible.c \
|
||||
a11y/gtkscrolledwindowaccessible.c \
|
||||
a11y/gtksocketaccessible.c \
|
||||
a11y/gtkspinbuttonaccessible.c \
|
||||
a11y/gtkspinneraccessible.c \
|
||||
a11y/gtkstatusbaraccessible.c \
|
||||
a11y/gtkstackaccessible.c \
|
||||
a11y/gtkswitchaccessible.c \
|
||||
a11y/gtktextcellaccessible.c \
|
||||
a11y/gtktextviewaccessible.c \
|
||||
a11y/gtktogglebuttonaccessible.c \
|
||||
a11y/gtktoplevelaccessible.c \
|
||||
a11y/gtktreeviewaccessible.c \
|
||||
a11y/gtkwidgetaccessible.c \
|
||||
a11y/gtkwindowaccessible.c
|
@ -1,90 +0,0 @@
|
||||
gtk_deprecated_h_sources = \
|
||||
deprecated/gtkactivatable.h \
|
||||
deprecated/gtkaction.h \
|
||||
deprecated/gtkactiongroup.h \
|
||||
deprecated/gtkalignment.h \
|
||||
deprecated/gtkarrow.h \
|
||||
deprecated/gtkcolorsel.h \
|
||||
deprecated/gtkcolorseldialog.h \
|
||||
deprecated/gtkfontsel.h \
|
||||
deprecated/gtkgradient.h \
|
||||
deprecated/gtkhandlebox.h \
|
||||
deprecated/gtkhbbox.h \
|
||||
deprecated/gtkhbox.h \
|
||||
deprecated/gtkhpaned.h \
|
||||
deprecated/gtkhscale.h \
|
||||
deprecated/gtkhscrollbar.h \
|
||||
deprecated/gtkhseparator.h \
|
||||
deprecated/gtkhsv.h \
|
||||
deprecated/gtkiconfactory.h \
|
||||
deprecated/gtkimagemenuitem.h \
|
||||
deprecated/gtkmisc.h \
|
||||
deprecated/gtknumerableicon.h \
|
||||
deprecated/gtkradioaction.h \
|
||||
deprecated/gtkrc.h \
|
||||
deprecated/gtkrecentaction.h \
|
||||
deprecated/gtkstatusicon.h \
|
||||
deprecated/gtkstock.h \
|
||||
deprecated/gtkstyle.h \
|
||||
deprecated/gtkstyleproperties.h \
|
||||
deprecated/gtksymboliccolor.h \
|
||||
deprecated/gtktable.h \
|
||||
deprecated/gtktearoffmenuitem.h \
|
||||
deprecated/gtkthemingengine.h \
|
||||
deprecated/gtktoggleaction.h \
|
||||
deprecated/gtkuimanager.h \
|
||||
deprecated/gtkvbbox.h \
|
||||
deprecated/gtkvbox.h \
|
||||
deprecated/gtkvscale.h \
|
||||
deprecated/gtkvscrollbar.h \
|
||||
deprecated/gtkvseparator.h \
|
||||
deprecated/gtkvpaned.h
|
||||
|
||||
gtk_deprecated_private_h_sources = \
|
||||
deprecated/gtkgradientprivate.h \
|
||||
deprecated/gtkiconfactoryprivate.h \
|
||||
deprecated/gtknumerableiconprivate.h \
|
||||
deprecated/gtkstylepropertiesprivate.h \
|
||||
deprecated/gtksymboliccolorprivate.h
|
||||
|
||||
gtk_deprecated_c_sources = \
|
||||
deprecated/gtkactivatable.c \
|
||||
deprecated/gtkaction.c \
|
||||
deprecated/gtkactiongroup.c \
|
||||
deprecated/gtkalignment.c \
|
||||
deprecated/gtkarrow.c \
|
||||
deprecated/gtkcolorsel.c \
|
||||
deprecated/gtkcolorseldialog.c \
|
||||
deprecated/gtkfontsel.c \
|
||||
deprecated/gtkgradient.c \
|
||||
deprecated/gtkhandlebox.c \
|
||||
deprecated/gtkhbbox.c \
|
||||
deprecated/gtkhbox.c \
|
||||
deprecated/gtkhpaned.c \
|
||||
deprecated/gtkhscale.c \
|
||||
deprecated/gtkhscrollbar.c \
|
||||
deprecated/gtkhseparator.c \
|
||||
deprecated/gtkhsv.c \
|
||||
deprecated/gtkiconfactory.c \
|
||||
deprecated/gtkimagemenuitem.c \
|
||||
deprecated/gtkmisc.c \
|
||||
deprecated/gtknumerableicon.c \
|
||||
deprecated/gtkradioaction.c \
|
||||
deprecated/gtkrc.c \
|
||||
deprecated/gtkrecentaction.c \
|
||||
deprecated/gtkstatusicon.c \
|
||||
deprecated/gtkstock.c \
|
||||
deprecated/gtkstyle.c \
|
||||
deprecated/gtkstyleproperties.c \
|
||||
deprecated/gtksymboliccolor.c \
|
||||
deprecated/gtktable.c \
|
||||
deprecated/gtktearoffmenuitem.c \
|
||||
deprecated/gtkthemingengine.c \
|
||||
deprecated/gtktoggleaction.c \
|
||||
deprecated/gtkuimanager.c \
|
||||
deprecated/gtkvbbox.c \
|
||||
deprecated/gtkvbox.c \
|
||||
deprecated/gtkvscale.c \
|
||||
deprecated/gtkvscrollbar.c \
|
||||
deprecated/gtkvseparator.c \
|
||||
deprecated/gtkvpaned.c
|
1066
gtk/gtk-sources.inc
1066
gtk/gtk-sources.inc
File diff suppressed because it is too large
Load Diff
@ -1,79 +0,0 @@
|
||||
inspector_c_sources = \
|
||||
inspector/action-editor.c \
|
||||
inspector/actions.c \
|
||||
inspector/cellrenderergraph.c \
|
||||
inspector/css-editor.c \
|
||||
inspector/css-node-tree.c \
|
||||
inspector/data-list.c \
|
||||
inspector/general.c \
|
||||
inspector/gestures.c \
|
||||
inspector/graphdata.c \
|
||||
inspector/gtkstackcombo.c \
|
||||
inspector/gtktreemodelcssnode.c \
|
||||
inspector/init.c \
|
||||
inspector/inspect-button.c \
|
||||
inspector/magnifier.c \
|
||||
inspector/menu.c \
|
||||
inspector/misc-info.c \
|
||||
inspector/object-hierarchy.c \
|
||||
inspector/object-tree.c \
|
||||
inspector/prop-editor.c \
|
||||
inspector/prop-list.c \
|
||||
inspector/resource-list.c \
|
||||
inspector/selector.c \
|
||||
inspector/signals-list.c \
|
||||
inspector/size-groups.c \
|
||||
inspector/statistics.c \
|
||||
inspector/strv-editor.c \
|
||||
inspector/treewalk.c \
|
||||
inspector/visual.c \
|
||||
inspector/window.c
|
||||
|
||||
inspector_h_sources = \
|
||||
inspector/action-editor.h \
|
||||
inspector/actions.h \
|
||||
inspector/cellrenderergraph.h \
|
||||
inspector/css-editor.h \
|
||||
inspector/css-node-tree.h \
|
||||
inspector/data-list.h \
|
||||
inspector/general.h \
|
||||
inspector/gestures.h \
|
||||
inspector/graphdata.h \
|
||||
inspector/gtkstackcombo.h \
|
||||
inspector/gtktreemodelcssnode.h \
|
||||
inspector/init.h \
|
||||
inspector/magnifier.h \
|
||||
inspector/menu.h \
|
||||
inspector/misc-info.h \
|
||||
inspector/object-hierarchy.h \
|
||||
inspector/object-tree.h \
|
||||
inspector/prop-editor.h \
|
||||
inspector/prop-list.h \
|
||||
inspector/resource-list.h \
|
||||
inspector/selector.h \
|
||||
inspector/signals-list.h \
|
||||
inspector/size-groups.h \
|
||||
inspector/statistics.h \
|
||||
inspector/strv-editor.h \
|
||||
inspector/treewalk.h \
|
||||
inspector/visual.h \
|
||||
inspector/window.h
|
||||
|
||||
inspector_templates = \
|
||||
inspector/actions.ui \
|
||||
inspector/css-editor.ui \
|
||||
inspector/css-node-tree.ui \
|
||||
inspector/data-list.ui \
|
||||
inspector/general.ui \
|
||||
inspector/magnifier.ui \
|
||||
inspector/menu.ui \
|
||||
inspector/misc-info.ui \
|
||||
inspector/object-hierarchy.ui \
|
||||
inspector/object-tree.ui \
|
||||
inspector/prop-list.ui \
|
||||
inspector/resource-list.ui \
|
||||
inspector/selector.ui \
|
||||
inspector/signals-list.ui \
|
||||
inspector/statistics.ui \
|
||||
inspector/visual.ui \
|
||||
inspector/window.ui
|
@ -1,91 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
include libgail-util-sources.inc
|
||||
|
||||
EXTRA_DIST += \
|
||||
gailutil.def \
|
||||
meson.build
|
||||
|
||||
if OS_WIN32
|
||||
export_symbols = -export-symbols $(srcdir)/gailutil.def
|
||||
gailutil.def: libgailutil-3.la
|
||||
echo "LIBRARY libgailutil-$(GTK_MAJOR_VERSION)-$(GAIL_LT_CURRENT_MINUS_AGE)" >$@
|
||||
echo "EXPORTS" >>$@
|
||||
objdump -p .libs/libgailutil-$(GTK_MAJOR_VERSION)-$(GAIL_LT_CURRENT_MINUS_AGE).dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
|
||||
install-def-file: gailutil.def
|
||||
$(INSTALL) gailutil.def $(DESTDIR)$(libdir)
|
||||
uninstall-def-file:
|
||||
-rm $(DESTDIR)$(libdir)/gailutil.def
|
||||
else
|
||||
install-def-file:
|
||||
uninstall-def-file:
|
||||
endif
|
||||
|
||||
if MS_LIB_AVAILABLE
|
||||
noinst_DATA = gailutil.lib
|
||||
|
||||
install-ms-lib:
|
||||
$(INSTALL) gailutil.lib $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-ms-lib:
|
||||
-rm $(DESTDIR)$(libdir)/gailutil.lib
|
||||
else
|
||||
install-ms-lib:
|
||||
uninstall-ms-lib:
|
||||
endif
|
||||
|
||||
|
||||
lib_LTLIBRARIES = libgailutil-3.la
|
||||
|
||||
libgailutilincludedir=$(includedir)/gail-3.0/libgail-util
|
||||
|
||||
libgailutil_3_la_SOURCES = \
|
||||
$(util_c_sources)
|
||||
|
||||
libgailutilinclude_HEADERS = \
|
||||
$(util_public_h_sources)
|
||||
|
||||
libgailutil_3_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
$(AM_CPPFLAGS) \
|
||||
-DGDK_DISABLE_DEPRECATED\
|
||||
-DGTK_DISABLE_DEPRECATED
|
||||
|
||||
libgailutil_3_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libgailutil_3_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
libgailutil_3_la_LDFLAGS = \
|
||||
-version-info $(GAIL_LT_VERSION_INFO) \
|
||||
$(no_undefined) \
|
||||
$(LDFLAGS)
|
||||
|
||||
gailutil.lib: libgailutil-3.la gailutil.def
|
||||
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgailutil-3.0-$(GAIL_LT_CURRENT_MINUS_AGE).dll -def:gailutil.def -out:$@
|
||||
|
||||
install-data-local: install-ms-lib install-def-file
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-def-file
|
||||
|
||||
# ------------------- MSVC Build Items ----------------
|
||||
MSVCPROJS = gailutil-3
|
||||
|
||||
gailutil_3_FILES = $(libgailutil_3_la_SOURCES)
|
||||
|
||||
gailutil_3_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(top_builddir)/win32/vs9/gailutil-3.vcproj
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,10 +0,0 @@
|
||||
# Source listings for libgail-util
|
||||
|
||||
util_c_sources = \
|
||||
gailmisc.c \
|
||||
gailtextutil.c
|
||||
|
||||
util_public_h_sources = \
|
||||
gailmisc.h \
|
||||
gailtextutil.h \
|
||||
gail-util.h
|
3
m4/.gitignore
vendored
3
m4/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
!/ax_prog_cc_for_build.m4
|
||||
!/pkg_config_for_build.m4
|
||||
*.m4
|
@ -1,127 +0,0 @@
|
||||
# ===========================================================================
|
||||
# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
|
||||
# ===========================================================================
|
||||
#
|
||||
# SYNOPSIS
|
||||
#
|
||||
# AX_PROG_CC_FOR_BUILD
|
||||
#
|
||||
# DESCRIPTION
|
||||
#
|
||||
# This macro searches for a C compiler that generates native executables,
|
||||
# that is a C compiler that surely is not a cross-compiler. This can be
|
||||
# useful if you have to generate source code at compile-time like for
|
||||
# example GCC does.
|
||||
#
|
||||
# The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
|
||||
# needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
|
||||
# The value of these variables can be overridden by the user by specifying
|
||||
# a compiler with an environment variable (like you do for standard CC).
|
||||
#
|
||||
# It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
|
||||
# file extensions for the build platform, and GCC_FOR_BUILD to `yes' if
|
||||
# the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
|
||||
# substituted in the Makefile.
|
||||
#
|
||||
# LICENSE
|
||||
#
|
||||
# Copyright (c) 2008 Paolo Bonzini <bonzini@gnu.org>
|
||||
#
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice
|
||||
# and this notice are preserved. This file is offered as-is, without any
|
||||
# warranty.
|
||||
|
||||
#serial 7
|
||||
|
||||
AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
|
||||
AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_PROG_CPP])dnl
|
||||
AC_REQUIRE([AC_EXEEXT])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
|
||||
dnl Use the standard macros, but make them use other variable names
|
||||
dnl
|
||||
pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
|
||||
pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
|
||||
pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
|
||||
pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
|
||||
pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
|
||||
pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
|
||||
pushdef([ac_cv_objext], ac_cv_build_objext)dnl
|
||||
pushdef([ac_exeext], ac_build_exeext)dnl
|
||||
pushdef([ac_objext], ac_build_objext)dnl
|
||||
pushdef([CC], CC_FOR_BUILD)dnl
|
||||
pushdef([CPP], CPP_FOR_BUILD)dnl
|
||||
pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
|
||||
pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
|
||||
pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
|
||||
pushdef([LIBS], LIBS_FOR_BUILD)dnl
|
||||
pushdef([host], build)dnl
|
||||
pushdef([host_alias], build_alias)dnl
|
||||
pushdef([host_cpu], build_cpu)dnl
|
||||
pushdef([host_vendor], build_vendor)dnl
|
||||
pushdef([host_os], build_os)dnl
|
||||
pushdef([ac_cv_host], ac_cv_build)dnl
|
||||
pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
|
||||
pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
|
||||
pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
|
||||
pushdef([ac_cv_host_os], ac_cv_build_os)dnl
|
||||
pushdef([ac_cpp], ac_build_cpp)dnl
|
||||
pushdef([ac_compile], ac_build_compile)dnl
|
||||
pushdef([ac_link], ac_build_link)dnl
|
||||
|
||||
save_cross_compiling=$cross_compiling
|
||||
save_ac_tool_prefix=$ac_tool_prefix
|
||||
cross_compiling=no
|
||||
ac_tool_prefix=
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_EXEEXT
|
||||
|
||||
ac_tool_prefix=$save_ac_tool_prefix
|
||||
cross_compiling=$save_cross_compiling
|
||||
|
||||
dnl Restore the old definitions
|
||||
dnl
|
||||
popdef([ac_link])dnl
|
||||
popdef([ac_compile])dnl
|
||||
popdef([ac_cpp])dnl
|
||||
popdef([ac_cv_host_os])dnl
|
||||
popdef([ac_cv_host_vendor])dnl
|
||||
popdef([ac_cv_host_cpu])dnl
|
||||
popdef([ac_cv_host_alias])dnl
|
||||
popdef([ac_cv_host])dnl
|
||||
popdef([host_os])dnl
|
||||
popdef([host_vendor])dnl
|
||||
popdef([host_cpu])dnl
|
||||
popdef([host_alias])dnl
|
||||
popdef([host])dnl
|
||||
popdef([LIBS])dnl
|
||||
popdef([LDFLAGS])dnl
|
||||
popdef([CPPFLAGS])dnl
|
||||
popdef([CFLAGS])dnl
|
||||
popdef([CPP])dnl
|
||||
popdef([CC])dnl
|
||||
popdef([ac_objext])dnl
|
||||
popdef([ac_exeext])dnl
|
||||
popdef([ac_cv_objext])dnl
|
||||
popdef([ac_cv_exeext])dnl
|
||||
popdef([ac_cv_prog_cc_g])dnl
|
||||
popdef([ac_cv_prog_cc_cross])dnl
|
||||
popdef([ac_cv_prog_cc_works])dnl
|
||||
popdef([ac_cv_prog_gcc])dnl
|
||||
popdef([ac_cv_prog_CPP])dnl
|
||||
|
||||
dnl Finally, set Makefile variables
|
||||
dnl
|
||||
BUILD_EXEEXT=$ac_build_exeext
|
||||
BUILD_OBJEXT=$ac_build_objext
|
||||
AC_SUBST(BUILD_EXEEXT)dnl
|
||||
AC_SUBST(BUILD_OBJEXT)dnl
|
||||
AC_SUBST([CFLAGS_FOR_BUILD])dnl
|
||||
AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
|
||||
AC_SUBST([LDFLAGS_FOR_BUILD])dnl
|
||||
])
|
@ -1,20 +0,0 @@
|
||||
# PKG_PROG_PKG_CONFIG_FOR_BUILD([MIN-VERSION])
|
||||
# ----------------------------------
|
||||
AC_DEFUN([PKG_PROG_PKG_CONFIG_FOR_BUILD],
|
||||
[m4_pattern_allow([^PKG_CONFIG_FOR_BUILD$])
|
||||
AC_ARG_VAR([PKG_CONFIG_FOR_BUILD], [path to build system's pkg-config utility])
|
||||
|
||||
if test "x$ac_cv_env_PKG_CONFIG_FOR_BUILD_set" != "xset"; then
|
||||
AC_PATH_PROG([PKG_CONFIG_FOR_BUILD], [pkg-config])
|
||||
fi
|
||||
if test -n "$PKG_CONFIG_FOR_BUILD"; then
|
||||
_pkg_for_build_min_version=m4_default([$1], [0.9.0])
|
||||
AC_MSG_CHECKING([build system's pkg-config is at least version $_pkg_min_version])
|
||||
if $PKG_CONFIG_FOR_BUILD --atleast-pkgconfig-version $_pkg_min_version; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
PKG_CONFIG_FOR_BUILD=""
|
||||
fi
|
||||
fi[]dnl
|
||||
])# PKG_PROG_PKG_CONFIG_FOR_BUILD
|
@ -1,10 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
installed_m4= gtk-3.0.m4
|
||||
|
||||
EXTRA_DIST += $(installed_m4)
|
||||
|
||||
m4datadir = $(datadir)/aclocal
|
||||
m4data_DATA = $(installed_m4)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
24
makefile.msc
24
makefile.msc
@ -1,24 +0,0 @@
|
||||
## Makefile for building the Gtk+ dlls with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
PARTS = gdk gtk tests
|
||||
|
||||
all : \
|
||||
config.h \
|
||||
sub-all
|
||||
|
||||
sub-all:
|
||||
for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=all
|
||||
|
||||
clean : sub-clean
|
||||
|
||||
sub-clean:
|
||||
for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
|
||||
|
||||
sub-one:
|
||||
@cd $(THIS)
|
||||
@nmake -nologo -f makefile.msc $(TARGET)
|
||||
@cd ..
|
||||
|
||||
config.h: config.h.win32
|
||||
copy config.h.win32 config.h
|
10
meson.build
10
meson.build
@ -1030,16 +1030,6 @@ if host_machine.system() != 'windows'
|
||||
install_dir : join_paths(gtk_datadir, 'gtk-3.0', 'valgrind'))
|
||||
endif
|
||||
|
||||
test(
|
||||
'version-check',
|
||||
find_program('check-version.py'),
|
||||
args: [
|
||||
join_paths(meson.current_source_dir(), 'configure.ac'),
|
||||
join_paths(meson.current_source_dir(), 'meson.build'),
|
||||
],
|
||||
suite: 'gtk',
|
||||
)
|
||||
|
||||
summary = [
|
||||
'',
|
||||
'------',
|
||||
|
@ -1,12 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = input
|
||||
|
||||
if OS_UNIX
|
||||
SUBDIRS += printbackends
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,342 +0,0 @@
|
||||
## Makefile.am for gtk+/modules/input
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DGTK_LOCALEDIR=\"$(localedir)\" \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_XIM_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
-DGTK_COMPILATION \
|
||||
$(INCLUDED_IMMODULE_DEFINE)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
moduledir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/immodules
|
||||
|
||||
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_xim_la_SOURCES = \
|
||||
gtkimcontextxim.c \
|
||||
gtkimcontextxim.h \
|
||||
imxim.c
|
||||
libstatic_im_xim_la_SOURCES = $(im_xim_la_SOURCES)
|
||||
im_xim_la_LIBADD = $(LDADDS)
|
||||
if USE_X11
|
||||
if INCLUDE_IM_XIM
|
||||
STATIC_XIM_MODULE = libstatic-im-xim.la
|
||||
else
|
||||
XIM_MODULE=im-xim.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_am_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_am_et_la_SOURCES = imam-et.c
|
||||
libstatic_im_am_et_la_SOURCES = $(im_am_et_la_SOURCES)
|
||||
im_am_et_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_AM_ET
|
||||
STATIC_AM_ET_MODULE = libstatic-im-am-et.la
|
||||
else
|
||||
AM_ET_MODULE = im-am-et.la
|
||||
endif
|
||||
|
||||
im_cedilla_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_cedilla_la_SOURCES = imcedilla.c
|
||||
libstatic_im_cedilla_la_SOURCES = $(im_cedilla_la_SOURCES)
|
||||
im_cedilla_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_CEDILLA
|
||||
STATIC_CEDILLA_MODULE = libstatic-im-cedilla.la
|
||||
else
|
||||
CEDILLA_MODULE = im-cedilla.la
|
||||
endif
|
||||
|
||||
im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
|
||||
libstatic_im_cyrillic_translit_la_SOURCES = $(im_cyrillic_translit_la_SOURCES)
|
||||
im_cyrillic_translit_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_CYRILLIC_TRANSLIT
|
||||
STATIC_CYRILLIC_TRANSLIT_MODULE = libstatic-im-cyrillic-translit.la
|
||||
else
|
||||
CYRILLIC_TRANSLIT_MODULE = im-cyrillic-translit.la
|
||||
endif
|
||||
|
||||
im_ti_er_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ti_er_la_SOURCES = imti-er.c
|
||||
libstatic_im_ti_er_la_SOURCES = $(im_ti_er_la_SOURCES)
|
||||
im_ti_er_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_TI_ER
|
||||
STATIC_TI_ER_MODULE = libstatic-im-ti-er.la
|
||||
else
|
||||
TI_ER_MODULE = im-ti-er.la
|
||||
endif
|
||||
|
||||
im_ti_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ti_et_la_SOURCES = imti-et.c
|
||||
libstatic_im_ti_et_la_SOURCES = $(im_ti_et_la_SOURCES)
|
||||
im_ti_et_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_TI_ET
|
||||
STATIC_TI_ET_MODULE = libstatic-im-ti-et.la
|
||||
else
|
||||
TI_ET_MODULE = im-ti-et.la
|
||||
endif
|
||||
|
||||
im_thai_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_thai_la_SOURCES = \
|
||||
thai-charprop.c \
|
||||
thai-charprop.h \
|
||||
gtkimcontextthai.c \
|
||||
gtkimcontextthai.h \
|
||||
imthai.c
|
||||
libstatic_im_thai_la_SOURCES = $(im_thai_la_SOURCES)
|
||||
im_thai_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_THAI
|
||||
STATIC_THAI_MODULE = libstatic-im-thai.la
|
||||
else
|
||||
THAI_MODULE = im-thai.la
|
||||
endif
|
||||
|
||||
im_viqr_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_viqr_la_SOURCES = imviqr.c
|
||||
libstatic_im_viqr_la_SOURCES = $(im_viqr_la_SOURCES)
|
||||
im_viqr_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_VIQR
|
||||
STATIC_VIQR_MODULE = libstatic-im-viqr.la
|
||||
else
|
||||
VIQR_MODULE = im-viqr.la
|
||||
endif
|
||||
|
||||
im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_inuktitut_la_SOURCES = iminuktitut.c
|
||||
libstatic_im_inuktitut_la_SOURCES = $(im_inuktitut_la_SOURCES)
|
||||
im_inuktitut_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_INUKTITUT
|
||||
STATIC_INUKTITUT_MODULE = libstatic-im-inuktitut.la
|
||||
else
|
||||
INUKTITUT_MODULE = im-inuktitut.la
|
||||
endif
|
||||
|
||||
im_ipa_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ipa_la_SOURCES = imipa.c
|
||||
libstatic_im_ipa_la_SOURCES = $(im_ipa_la_SOURCES)
|
||||
im_ipa_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_IPA
|
||||
STATIC_IPA_MODULE = libstatic-im-ipa.la
|
||||
else
|
||||
IPA_MODULE = im-ipa.la
|
||||
endif
|
||||
|
||||
im_ime_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_ime_la_SOURCES = \
|
||||
gtkimcontextime.c \
|
||||
gtkimcontextime.h \
|
||||
imime.c \
|
||||
imm-extra.h
|
||||
libstatic_im_ime_la_SOURCES = $(im_ime_la_SOURCES)
|
||||
im_ime_la_LIBADD = -limm32 $(LDADDS)
|
||||
libstatic_im_ime_la_LIBADD = -limm32
|
||||
if USE_WIN32
|
||||
if INCLUDE_IM_IME
|
||||
STATIC_IME_MODULE = libstatic-im-ime.la
|
||||
else
|
||||
IME_MODULE=im-ime.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_quartz_la_CPPFLAGS = $(AM_CPPFLAGS) -xobjective-c
|
||||
im_quartz_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_quartz_la_SOURCES = imquartz.c
|
||||
libstatic_im_quartz_la_SOURCES = $(im_quartz_la_SOURCES)
|
||||
im_quartz_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_QUARTZ
|
||||
STATIC_QUARTZ_MODULE = libstatic-im-quartz.la
|
||||
else
|
||||
if USE_QUARTZ
|
||||
QUARTZ_MODULE = im-quartz.la
|
||||
endif
|
||||
endif
|
||||
|
||||
im_broadway_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
im_broadway_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_broadway_la_SOURCES = imbroadway.c
|
||||
libstatic_im_broadway_la_SOURCES = $(im_broadway_la_SOURCES)
|
||||
im_broadway_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_BROADWAY
|
||||
STATIC_BROADWAY_MODULE = libstatic-im-broadway.la
|
||||
else
|
||||
if USE_BROADWAY
|
||||
BROADWAY_MODULE = im-broadway.la
|
||||
endif
|
||||
endif
|
||||
|
||||
protocol_built_sources = \
|
||||
text-input-unstable-v3-protocol.c \
|
||||
text-input-unstable-v3-client-protocol.h
|
||||
|
||||
im_wayland_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
im_wayland_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_wayland_la_SOURCES = imwayland.c $(protocol_built_sources)
|
||||
libstatic_im_wayland_la_SOURCES = $(im_wayland_la_SOURCES)
|
||||
im_wayland_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_WAYLAND
|
||||
STATIC_WAYLAND_MODULE = libstatic-im-wayland.la
|
||||
else
|
||||
if USE_WAYLAND
|
||||
WAYLAND_MODULE = im-wayland.la
|
||||
endif
|
||||
endif
|
||||
|
||||
protocol_built_sources_gtk = \
|
||||
gtk-text-input-protocol.c \
|
||||
gtk-text-input-client-protocol.h
|
||||
|
||||
im_waylandgtk_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
im_waylandgtk_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_waylandgtk_la_SOURCES = imwaylandgtk.c $(protocol_built_sources_gtk)
|
||||
libstatic_im_waylandgtk_la_SOURCES = $(im_waylandgtk_la_SOURCES)
|
||||
im_waylandgtk_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_WAYLAND
|
||||
STATIC_WAYLANDGTK_MODULE = libstatic-im-waylandgtk.la
|
||||
else
|
||||
if USE_WAYLAND
|
||||
WAYLANDGTK_MODULE = im-waylandgtk.la
|
||||
endif
|
||||
endif
|
||||
|
||||
multipress_defs = -DMULTIPRESS_LOCALEDIR=\""$(mplocaledir)"\" -DMULTIPRESS_CONFDIR=\""$(sysconfdir)/gtk-3.0"\"
|
||||
im_multipress_la_CPPFLAGS = $(AM_CPPFLAGS) $(multipress_defs)
|
||||
libstatic_im_multipress_la_CPPFLAGS = $(im_multipress_la_CPPFLAGS)
|
||||
im_multipress_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
|
||||
im_multipress_la_SOURCES = \
|
||||
gtkimcontextmultipress.c \
|
||||
gtkimcontextmultipress.h \
|
||||
immultipress.c
|
||||
libstatic_im_multipress_la_SOURCES = $(im_multipress_la_SOURCES)
|
||||
im_multipress_la_LIBADD = $(LDADDS)
|
||||
if INCLUDE_IM_MULTIPRESS
|
||||
STATIC_MULTIPRESS_MODULE = libstatic-im-multipress.la
|
||||
else
|
||||
MULTIPRESS_MODULE = im-multipress.la
|
||||
endif
|
||||
|
||||
imconffiledir = $(sysconfdir)/gtk-3.0
|
||||
dist_imconffile_DATA = im-multipress.conf
|
||||
|
||||
if CROSS_COMPILING
|
||||
RUN_QUERY_IMMODULES_TEST=false
|
||||
else
|
||||
RUN_QUERY_IMMODULES_TEST=test -z "$(DESTDIR)"
|
||||
endif
|
||||
|
||||
# Running this if cross compiling or if DESTDIR is set is going to
|
||||
# not work at all, so skip it.
|
||||
# We use install-data-hook here to workaround a bug in automake and/or libtool
|
||||
# that makes the install target for the loader libraries a dependency on
|
||||
# install-data-am, and not install-exec-am. We need to ensure this gets run
|
||||
# after the libraries are installed in their final locations.
|
||||
install-data-hook:
|
||||
$(AM_V_GEN) if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
||||
echo $(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-3.0/3.0.0 ; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(libdir)/gtk-3.0/3.0.0 ; \
|
||||
echo "$(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache" ; \
|
||||
$(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) > $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache ; \
|
||||
else \
|
||||
echo "***" ; \
|
||||
echo "*** Warning: immodules.cache not built" ; \
|
||||
echo "***" ; \
|
||||
echo "*** Generate this file manually on host" ; \
|
||||
echo "*** system using gtk-query-immodules-3.0" ; \
|
||||
echo "***" ; \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(libdir)/gtk-3.0/3.0.0/immodules.cache
|
||||
|
||||
if BUILD_DYNAMIC_MODULES
|
||||
|
||||
module_LTLIBRARIES = \
|
||||
$(AM_ET_MODULE) \
|
||||
$(CEDILLA_MODULE) \
|
||||
$(CYRILLIC_TRANSLIT_MODULE) \
|
||||
$(IME_MODULE) \
|
||||
$(INUKTITUT_MODULE) \
|
||||
$(IPA_MODULE) \
|
||||
$(MULTIPRESS_MODULE) \
|
||||
$(QUARTZ_MODULE) \
|
||||
$(BROADWAY_MODULE) \
|
||||
$(WAYLAND_MODULE) \
|
||||
$(WAYLANDGTK_MODULE) \
|
||||
$(THAI_MODULE) \
|
||||
$(TI_ER_MODULE) \
|
||||
$(TI_ET_MODULE) \
|
||||
$(VIQR_MODULE) \
|
||||
$(XIM_MODULE)
|
||||
|
||||
endif
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
$(STATIC_AM_ET_MODULE) \
|
||||
$(STATIC_CEDILLA_MODULE) \
|
||||
$(STATIC_CYRILLIC_TRANSLIT_MODULE) \
|
||||
$(STATIC_IME_MODULE) \
|
||||
$(STATIC_INUKTITUT_MODULE) \
|
||||
$(STATIC_IPA_MODULE) \
|
||||
$(STATIC_MULTIPRESS_MODULE) \
|
||||
$(STATIC_QUARTZ_MODULE) \
|
||||
$(STATIC_BROADWAY_MODULE) \
|
||||
$(STATIC_WAYLAND_MODULE) \
|
||||
$(STATIC_WAYLANDGTK_MODULE) \
|
||||
$(STATIC_THAI_MODULE) \
|
||||
$(STATIC_TI_ER_MODULE) \
|
||||
$(STATIC_TI_ET_MODULE) \
|
||||
$(STATIC_VIQR_MODULE) \
|
||||
$(STATIC_XIM_MODULE)
|
||||
|
||||
included-modules: $(noinst_LTLIBRARIES)
|
||||
|
||||
immodules.cache: Makefile.am $(module_LTLIBRARIES)
|
||||
$(AM_V_GEN) $(top_builddir)/gtk/gtk-query-immodules-3.0$(EXEEXT) $(module_LTLIBRARIES) > immodules.cache
|
||||
|
||||
if USE_WAYLAND
|
||||
BUILT_SOURCES = $(protocol_built_sources) $(protocol_built_sources_gtk)
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
README.multipress \
|
||||
meson.build \
|
||||
text-input-unstable-v3.xml \
|
||||
gtk-text-input.xml
|
||||
|
||||
CLEANFILES = immodules.cache
|
||||
|
||||
if CROSS_COMPILING
|
||||
else
|
||||
all-local: immodules.cache
|
||||
endif
|
||||
|
||||
.SECONDEXPANSION:
|
||||
|
||||
define protostability
|
||||
$(shell echo $1 | sed 's/.*\(\<unstable\>\|\<stable\>\).*/\1/')
|
||||
endef
|
||||
|
||||
define protoname
|
||||
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
|
||||
endef
|
||||
|
||||
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < $< > $@
|
||||
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
%-protocol.c : $(srcdir)/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < $< > $@
|
||||
%-client-protocol.h : $(srcdir)/%.xml
|
||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,22 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = file lpr
|
||||
|
||||
if HAVE_CUPS
|
||||
SUBDIRS += cups
|
||||
endif
|
||||
|
||||
if TEST_PRINT_BACKEND
|
||||
SUBDIRS += test
|
||||
endif
|
||||
|
||||
if HAVE_PAPI
|
||||
SUBDIRS += papi
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = cups file lpr test papi
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,40 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(CUPS_CFLAGS) \
|
||||
$(COLORD_CFLAGS) \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(COLORD_LIBS) \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-cups.la
|
||||
|
||||
libprintbackend_cups_la_SOURCES = \
|
||||
gtkprintbackendcups.c \
|
||||
gtkprintercups.c \
|
||||
gtkcupsutils.c \
|
||||
gtkcupssecretsutils.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendcups.h \
|
||||
gtkprintercups.h \
|
||||
gtkcupsutils.h \
|
||||
gtkcupssecretsutils.h
|
||||
|
||||
libprintbackend_cups_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_cups_la_LIBADD = $(LDADDS) $(CUPS_LIBS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,34 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-file.la
|
||||
|
||||
libprintbackend_file_la_SOURCES = \
|
||||
gtkprintbackendfile.c
|
||||
|
||||
libprintbackend_file_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(AM_CPPFLAGS)
|
||||
|
||||
libprintbackend_file_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libprintbackend_file_la_LDFLAGS = \
|
||||
-avoid-version -module $(no_undefined)
|
||||
|
||||
libprintbackend_file_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendfile.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,30 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-lpr.la
|
||||
|
||||
libprintbackend_lpr_la_SOURCES = \
|
||||
gtkprintbackendlpr.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendlpr.h
|
||||
|
||||
libprintbackend_lpr_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_lpr_la_LIBADD = $(LDADDS)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,32 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GTK_DEBUG_FLAGS)
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-papi.la
|
||||
|
||||
libprintbackend_papi_la_SOURCES = \
|
||||
gtkprinterpapi.c \
|
||||
gtkprintbackendpapi.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprinterpapi.h \
|
||||
gtkprintbackendpapi.h
|
||||
|
||||
libprintbackend_papi_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
||||
libprintbackend_papi_la_LIBADD = $(LDADDS) -lpapi
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,33 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
||||
|
||||
backend_LTLIBRARIES = libprintbackend-test.la
|
||||
|
||||
libprintbackend_test_la_SOURCES = \
|
||||
gtkprintbackendtest.c
|
||||
|
||||
libprintbackend_test_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/gtk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gdk \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
$(AM_CPPFLAGS)
|
||||
|
||||
libprintbackend_test_la_CFLAGS = \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(AM_CFLAGS)
|
||||
|
||||
libprintbackend_test_la_LDFLAGS = \
|
||||
-avoid-version -module $(no_undefined)
|
||||
|
||||
libprintbackend_test_la_LIBADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
noinst_HEADERS = \
|
||||
gtkprintbackendtest.h
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f $1 ]; then
|
||||
sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1
|
||||
fi
|
||||
|
@ -1,589 +0,0 @@
|
||||
## Makefile.am for gtk+/tests
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = visuals
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GDK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
|
||||
if USE_X11
|
||||
testsocket_programs = testsocket testsocket_child
|
||||
endif
|
||||
|
||||
if OS_LINUX
|
||||
fontconfig_programs = testfontchooserdialog
|
||||
endif
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS) \
|
||||
overlayscroll \
|
||||
syncscroll \
|
||||
subsurface \
|
||||
animated-resizing \
|
||||
animated-revealing \
|
||||
motion-compression \
|
||||
scrolling-performance \
|
||||
blur-performance \
|
||||
simple \
|
||||
flicker \
|
||||
print-editor \
|
||||
video-timer \
|
||||
testaccel \
|
||||
testadjustsize \
|
||||
testappchooser \
|
||||
testappchooserbutton \
|
||||
testassistant \
|
||||
testbaseline \
|
||||
testbbox \
|
||||
testbox \
|
||||
testboxcss \
|
||||
testbuttons \
|
||||
testcairo \
|
||||
testcalendar \
|
||||
testclipboard \
|
||||
testcolorchooser \
|
||||
testcolorchooser2 \
|
||||
testcombo \
|
||||
testcombochange \
|
||||
testcellrenderertext \
|
||||
testdialog \
|
||||
testdnd \
|
||||
testdnd2 \
|
||||
testellipsise \
|
||||
testemblems \
|
||||
testentrycompletion \
|
||||
testentryicons \
|
||||
testfilechooser \
|
||||
testfilechooserbutton \
|
||||
testflowbox \
|
||||
testfontselection \
|
||||
testfontselectiondialog \
|
||||
testfontchooser \
|
||||
testfontoptions \
|
||||
$(fontconfig_programs) \
|
||||
testframe \
|
||||
testfullscreen \
|
||||
testgeometry \
|
||||
testgiconpixbuf \
|
||||
testglarea \
|
||||
testglblending \
|
||||
testgrid \
|
||||
testgtk \
|
||||
testheaderbar \
|
||||
testheightforwidth \
|
||||
testiconview \
|
||||
testiconview-keynav \
|
||||
testicontheme \
|
||||
testimage \
|
||||
testinfobar \
|
||||
testinput \
|
||||
testkineticscrolling \
|
||||
testlist \
|
||||
testlist2 \
|
||||
testlist3 \
|
||||
testlist4 \
|
||||
testlevelbar \
|
||||
testlockbutton \
|
||||
testmenubutton \
|
||||
testmodelbutton \
|
||||
testmountoperation \
|
||||
testmultidisplay \
|
||||
testnotebookdnd \
|
||||
testnumerableicon \
|
||||
testnouiprint \
|
||||
testoffscreen \
|
||||
testoffscreenwindow \
|
||||
testorientable \
|
||||
testoverlay \
|
||||
testoverlaystyleclass \
|
||||
testprint \
|
||||
testrecentchooser \
|
||||
testrecentchoosermenu \
|
||||
testrichtext \
|
||||
testscale \
|
||||
testselection \
|
||||
testselectionmode \
|
||||
$(testsocket_programs) \
|
||||
testspinbutton \
|
||||
teststatusicon \
|
||||
teststockbuttonmenu \
|
||||
testtoolbar \
|
||||
testtoolbar2 \
|
||||
stresstest-toolbar \
|
||||
testtreechanging \
|
||||
testtreednd \
|
||||
testtreeedit \
|
||||
testtreemodel \
|
||||
testtreeview \
|
||||
testtreefocus \
|
||||
testtreeflow \
|
||||
testtreecolumns \
|
||||
testtreecolumnsizing \
|
||||
testtreesort \
|
||||
testverticalcells \
|
||||
treestoretest \
|
||||
testxinerama \
|
||||
testwindows \
|
||||
testmerge \
|
||||
testactions \
|
||||
testgrouping \
|
||||
testtooltips \
|
||||
testexpand \
|
||||
testexpander \
|
||||
testvolumebutton \
|
||||
testscrolledwindow \
|
||||
testscrolledge \
|
||||
testcellarea \
|
||||
testswitch \
|
||||
styleexamples \
|
||||
testtreemenu \
|
||||
testtoplevelembed \
|
||||
testnoscreen \
|
||||
testtreepos \
|
||||
testsensitive \
|
||||
testtextview \
|
||||
testanimation \
|
||||
testpixbuf-save \
|
||||
testpixbuf-color \
|
||||
testpixbuf-scale \
|
||||
testgmenu \
|
||||
testlogout \
|
||||
teststack \
|
||||
testrevealer \
|
||||
testrevealer2 \
|
||||
testtitlebar \
|
||||
testsplitheaders \
|
||||
teststackedheaders \
|
||||
testactionbar \
|
||||
testwindowsize \
|
||||
testpopover \
|
||||
gdkgears \
|
||||
listmodel \
|
||||
testpopup \
|
||||
testpopupat \
|
||||
$(NULL)
|
||||
|
||||
if USE_WAYLAND
|
||||
noinst_PROGRAMS += testforeign
|
||||
endif
|
||||
|
||||
if USE_X11
|
||||
noinst_PROGRAMS += testerrors
|
||||
endif
|
||||
|
||||
animated_resizing_DEPENDENCIES = $(TEST_DEPS)
|
||||
animated_revealing_DEPENDENCIES = $(TEST_DEPS)
|
||||
flicker_DEPENDENCIES = $(TEST_DEPS)
|
||||
motion_compression_DEPENDENCIES = $(TEST_DEPS)
|
||||
scrolling_performance_DEPENDENCIES = $(TEST_DEPS)
|
||||
blur_performance_DEPENDENCIES = $(TEST_DEPS)
|
||||
simple_DEPENDENCIES = $(TEST_DEPS)
|
||||
print_editor_DEPENDENCIES = $(TEST_DEPS)
|
||||
video_timer_DEPENDENCIES = $(TEST_DEPS)
|
||||
testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
|
||||
testicontheme_DEPENDENCIES = $(TEST_DEPS)
|
||||
testiconview_DEPENDENCIES = $(TEST_DEPS)
|
||||
testaccel_DEPENDENCIES = $(TEST_DEPS)
|
||||
testadjustsize_DEPENDENCIES = $(TEST_DEPS)
|
||||
testassistant_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbaseline_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbbox_DEPENDENCIES = $(TEST_DEPS)
|
||||
testbuttons_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcairo_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcalendar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testclipboard_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcolorchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcolorchooser2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcombo_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcombochange_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
|
||||
testdnd_DEPENDENCIES = $(TEST_DEPS)
|
||||
testdnd2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testellipsise_DEPENDENCIES = $(TEST_DEPS)
|
||||
testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
|
||||
testentryicons_DEPENDENCIES = $(TEST_DEPS)
|
||||
testerrors_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfilechooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testflowbox_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontselection_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
|
||||
testfontoptions_DEPENDENCIES = $(TEST_DEPS)
|
||||
testframe_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgeometry_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgiconpixbuf = $(TEST_DEPS)
|
||||
testgrid_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgtk_DEPENDENCIES = $(TEST_DEPS)
|
||||
testheaderbar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testinput_DEPENDENCIES = $(TEST_DEPS)
|
||||
testimage_DEPENDENCIES = $(TEST_DEPS)
|
||||
testkineticscrolling_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlist_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlist2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlevelbar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlockbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmenubutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmountoperation_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnouiprint_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoffscreen_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
|
||||
testappchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testorientable_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoverlay_DEPENDENCIES = $(TEST_DEPS)
|
||||
testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
|
||||
testprint_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrichtext_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscale_DEPENDENCIES = $(TEST_DEPS)
|
||||
testselection_DEPENDENCIES = $(TEST_DEPS)
|
||||
testsocket_DEPENDENCIES = $(DEPS)
|
||||
testsocket_child_DEPENDENCIES = $(DEPS)
|
||||
testspinbutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
teststatusicon_DEPENDENCIES = $(TEST_DEPS)
|
||||
teststockbuttonmenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtreechanging_DEPENDENCIES = $(DEPS)
|
||||
testtreednd_DEPENDENCIES = $(DEPS)
|
||||
testtreeedit_DEPENDENCIES = $(DEPS)
|
||||
testtreemodel_DEPENDENCIES = $(DEPS)
|
||||
testtreeview_DEPENDENCIES = $(DEPS)
|
||||
testtreefocus_DEPENDENCIES = $(DEPS)
|
||||
testtreeflow_DEPENDENCIES = $(DEPS)
|
||||
testtreecolumns_DEPENDENCIES = $(DEPS)
|
||||
testtreecolumnsizing_DEPENDENCIES = $(DEPS)
|
||||
testtreesort_DEPENDENCIES = $(DEPS)
|
||||
testverticalcells_DEPENDENCIES = $(DEPS)
|
||||
treestoretest_DEPENDENCIES = $(TEST_DEPS)
|
||||
testxinerama_DEPENDENCIES = $(TEST_DEPS)
|
||||
testmerge_DEPENDENCIES = $(TEST_DEPS)
|
||||
testactions_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgrouping_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtooltips_DEPENDENCIES = $(TEST_DEPS)
|
||||
testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
|
||||
testscrolledge_DEPENDENCIES = $(TEST_DEPS)
|
||||
testcellarea_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtreemenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testwindows_DEPENDENCIES = $(TEST_DEPS)
|
||||
testexpand_DEPENDENCIES = $(TEST_DEPS)
|
||||
testexpander_DEPENDENCIES = $(TEST_DEPS)
|
||||
testswitch_DEPENDENCIES = $(TEST_DEPS)
|
||||
styleexamples_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
|
||||
testnoscreen_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtreepos_DEPENDENCIES = $(TEST_DEPS)
|
||||
testsensitive_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtextview_DEPENDENCIES = $(TEST_DEPS)
|
||||
testanimation_DEPENDENCIES = $(TEST_DEPS)
|
||||
testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
|
||||
testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
|
||||
testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
|
||||
testgmenu_DEPENDENCIES = $(TEST_DEPS)
|
||||
testlogout_DEPENDENCIES = $(TEST_DEPS)
|
||||
teststack_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrevealer_DEPENDENCIES = $(TEST_DEPS)
|
||||
testrevealer2_DEPENDENCIES = $(TEST_DEPS)
|
||||
testtitlebar_DEPENDENCIES = $(TEST_DEPS)
|
||||
testwindowsize_DEPENDENCIES = $(TEST_DEPS)
|
||||
listmodel_DEPENDENCIES = $(TEST_DEPS)
|
||||
|
||||
animated_resizing_SOURCES = \
|
||||
animated-resizing.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
animated_revealing_SOURCES = \
|
||||
animated-revealing.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
scrolling_performance_SOURCES = \
|
||||
scrolling-performance.c \
|
||||
frame-stats.c \
|
||||
frame-stats.h \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
blur_performance_SOURCES = \
|
||||
blur-performance.c \
|
||||
../gtk/gtkcairoblur.c
|
||||
|
||||
video_timer_SOURCES = \
|
||||
video-timer.c \
|
||||
variable.c \
|
||||
variable.h
|
||||
|
||||
testboxcss_SOURCES = \
|
||||
testboxcss.c
|
||||
|
||||
testentrycompletion_SOURCES = \
|
||||
testentrycompletion.c
|
||||
|
||||
testentryicons_SOURCES = \
|
||||
testentryicons.c
|
||||
|
||||
testfilechooser_SOURCES = \
|
||||
testfilechooser.c
|
||||
|
||||
testfilechooserbutton_SOURCES = \
|
||||
testfilechooserbutton.c
|
||||
|
||||
testflowbox_SOURCES = \
|
||||
testflowbox.c
|
||||
|
||||
testfontselection_SOURCES = \
|
||||
testfontselection.c
|
||||
|
||||
testfontselectiondialog_SOURCES = \
|
||||
testfontselectiondialog.c
|
||||
|
||||
testfontchooser_SOURCES = \
|
||||
testfontchooser.c
|
||||
|
||||
testfontchooserdialog_SOURCES = \
|
||||
testfontchooserdialog.c
|
||||
|
||||
testfontoptions_SOURCES = \
|
||||
testfontoptions.c
|
||||
|
||||
testforeign_SOURCES = \
|
||||
testforeign.c
|
||||
|
||||
testgrid_SOURCES = \
|
||||
testgrid.c
|
||||
|
||||
testgtk_SOURCES = \
|
||||
testgtk.c
|
||||
|
||||
testtreechanging_SOURCES = \
|
||||
testtreechanging.c
|
||||
|
||||
testtreednd_SOURCES = \
|
||||
testtreednd.c
|
||||
|
||||
testtreeedit_SOURCES = \
|
||||
testtreeedit.c
|
||||
|
||||
testtreemodel_SOURCES = \
|
||||
testtreemodel.c
|
||||
|
||||
testtreeview_SOURCES = \
|
||||
testtreeview.c
|
||||
|
||||
testtoolbar_SOURCES = \
|
||||
testtoolbar.c
|
||||
|
||||
testmenubutton_SOURCES = \
|
||||
testmenubutton.c
|
||||
|
||||
testprint_SOURCES = \
|
||||
testprint.c \
|
||||
testprintfileoperation.h \
|
||||
testprintfileoperation.c
|
||||
|
||||
testsocket_SOURCES = \
|
||||
testsocket.c \
|
||||
testsocket_common.c
|
||||
|
||||
testsocket_child_SOURCES = \
|
||||
testsocket_child.c \
|
||||
testsocket_common.c
|
||||
|
||||
testspinbutton_SOURCES = \
|
||||
testspinbutton.c
|
||||
|
||||
teststatusicon_SOURCES = \
|
||||
teststatusicon.c
|
||||
|
||||
testmerge_SOURCES = \
|
||||
testmerge.c
|
||||
|
||||
testactions_SOURCES = \
|
||||
testactions.c
|
||||
|
||||
testbaseline_SOURCES = \
|
||||
testbaseline.c
|
||||
|
||||
testbbox_SOURCES = \
|
||||
testbbox.c
|
||||
|
||||
testbuttons_SOURCES = \
|
||||
testbuttons.c
|
||||
|
||||
testframe_SOURCES = \
|
||||
testframe.c
|
||||
|
||||
testgeometry_SOURCES = \
|
||||
testgeometry.c
|
||||
|
||||
testgiconpixbuf_SOURCES = \
|
||||
testgiconpixbuf.c
|
||||
|
||||
testiconview_SOURCES = \
|
||||
testiconview.c
|
||||
|
||||
testiconview_keynav_SOURCES = \
|
||||
testiconview-keynav.c
|
||||
|
||||
testnumerableicon_SOURCES = \
|
||||
testnumerableicon.c
|
||||
|
||||
testrecentchooser_SOURCES = \
|
||||
testrecentchooser.c
|
||||
|
||||
testgrouping_SOURCES = \
|
||||
testgrouping.c
|
||||
|
||||
testtooltips_SOURCES = \
|
||||
testtooltips.c
|
||||
|
||||
testrecentchoosermenu_SOURCES = \
|
||||
testrecentchoosermenu.c
|
||||
|
||||
testvolumebutton_SOURCES = \
|
||||
testvolumebutton.c
|
||||
|
||||
testscrolledwindow_SOURCES = \
|
||||
testscrolledwindow.c
|
||||
|
||||
testcellarea_SOURCES = \
|
||||
testcellarea.c
|
||||
|
||||
testtreemenu_SOURCES = \
|
||||
testtreemenu.c
|
||||
|
||||
testoffscreen_SOURCES = \
|
||||
gtkoffscreenbox.c \
|
||||
gtkoffscreenbox.h \
|
||||
testoffscreen.c
|
||||
|
||||
testoffscreenwindow_SOURCES = \
|
||||
testoffscreenwindow.c
|
||||
|
||||
testoverlay_SOURCES = \
|
||||
testoverlay.c
|
||||
|
||||
testoverlaystyleclass_SOURCES = \
|
||||
testoverlaystyleclass.c
|
||||
|
||||
testappchooser_SOURCES = \
|
||||
testappchooser.c
|
||||
|
||||
testappchooserbutton_SOURCES = \
|
||||
testappchooserbutton.c
|
||||
|
||||
testwindows_SOURCES = \
|
||||
testwindows.c
|
||||
|
||||
testexpand_SOURCES = testexpand.c
|
||||
|
||||
testexpander_SOURCES = testexpander.c
|
||||
|
||||
testswitch_SOURCES = testswitch.c
|
||||
|
||||
styleexamples_SOURCES = styleexamples.c
|
||||
|
||||
testtoplevelembed_SOURCES = testtoplevelembed.c
|
||||
|
||||
testtextview_SOURCES = testtextview.c
|
||||
|
||||
testanimation_SOURCES = testanimation.c
|
||||
|
||||
testpixbuf_scale_SOURCES = testpixbuf-scale.c
|
||||
|
||||
testpixbuf_color_SOURCES = testpixbuf-color.c
|
||||
|
||||
testpixbuf_save_SOURCES = testpixbuf-save.c
|
||||
|
||||
testcolorchooser_SOURCES = testcolorchooser.c
|
||||
|
||||
testcolorchooser2_SOURCES = testcolorchooser2.c
|
||||
|
||||
testkineticscrolling_SOURCES = testkineticscrolling.c
|
||||
|
||||
teststack_SOURCES = teststack.c
|
||||
|
||||
testrevealer_SOURCES = testrevealer.c
|
||||
|
||||
testrevealer2_SOURCES = testrevealer2.c
|
||||
|
||||
testtitlebar_SOURCES = testtitlebar.c
|
||||
|
||||
testwindowsize_SOURCES = testwindowsize.c
|
||||
|
||||
gdkgears_SOURCES = \
|
||||
gdkgears.c \
|
||||
gtkgears.c \
|
||||
gtkgears.h
|
||||
|
||||
testglblending_SOURCES = \
|
||||
testglblending.c \
|
||||
gtkgears.c \
|
||||
gtkgears.h
|
||||
|
||||
listmodel_SOURCES = listmodel.c
|
||||
|
||||
EXTRA_DIST += \
|
||||
apple-red.png \
|
||||
dialog.ui \
|
||||
gradient1.png \
|
||||
testgtk.1 \
|
||||
testgtk.css \
|
||||
testgtk2.css \
|
||||
3DRings.xpm \
|
||||
FilesQueue.xpm \
|
||||
Modeller.xpm \
|
||||
check-y.xpm \
|
||||
check-n.xpm \
|
||||
marble.xpm \
|
||||
test.xpm \
|
||||
check-y.xpm \
|
||||
check-n.xpm \
|
||||
test.xpm \
|
||||
merge-1.ui \
|
||||
merge-2.ui \
|
||||
merge-3.ui \
|
||||
gnome-textfile.png \
|
||||
testsplitheaders.ui \
|
||||
teststackedheaders.ui \
|
||||
makefile.msc \
|
||||
mydialog.ui \
|
||||
mydialog2.ui \
|
||||
popover.ui \
|
||||
popover2.ui \
|
||||
popupat.ui \
|
||||
selectionmode.ui \
|
||||
meson.build \
|
||||
testapplication.desktop \
|
||||
testcolorchooser2.ui \
|
||||
testplacesview.c \
|
||||
testrc.c \
|
||||
testthreads.c \
|
||||
testtreeview-plan.txt
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,114 +0,0 @@
|
||||
## Makefile for building the gtk test apps with Microsoft C
|
||||
## Use: nmake -f makefile.msc
|
||||
|
||||
## There is no install target, you have to decide where and
|
||||
## how to install for yourself.
|
||||
|
||||
TOP = ..\..
|
||||
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
||||
|
||||
################################################################
|
||||
|
||||
# Possibly override versions from build/win32/module.defs
|
||||
GTK_VER = 3.0
|
||||
|
||||
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
||||
GTK_LIBS = ../gtk/gtk-win32-$(GTK_VER).lib
|
||||
|
||||
INCLUDES = -I . -I .. -I ../gdk -I ../gtk $(GDK_PIXBUF_CFLAGS)
|
||||
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) $(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
||||
LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
|
||||
DEFINES = -DG_LOG_DOMAIN=\"GtkTest\" -DGTK_VERSION=\"$(GTK_VER)\"
|
||||
|
||||
TOUCH = copy makefile.msc+nul
|
||||
|
||||
!IFNDEF TESTAPP
|
||||
|
||||
all : \
|
||||
..\config.h \
|
||||
prop-editor.obj \
|
||||
all-test-apps
|
||||
|
||||
..\config.h : ..\config.h.win32
|
||||
copy ..\config.h.win32 ..\config.h
|
||||
|
||||
|
||||
#
|
||||
# Test programs:
|
||||
#
|
||||
TESTAPPS = \
|
||||
# buildertest floatingtest \
|
||||
flicker \
|
||||
# objecttests \
|
||||
testaccel testactions testassistant \
|
||||
testbbox testbuttons \
|
||||
testcairo testcalendar testcellrenderertext testclientmessage testcombo testcombochange \
|
||||
testdnd \
|
||||
testellipsise testentrycompletion testentryicons \
|
||||
testfilechooser testfilechooserbutton testframe \
|
||||
testgrouping testgtk \
|
||||
testicontheme testiconview testimage testinput \
|
||||
testmountoperation testmenubars testmerge testmultidisplay testmultiscreen \
|
||||
testnouiprint testnotebookdnd \
|
||||
testoffscreen testorientable \
|
||||
testprint \
|
||||
testrecentchooser testrecentchoosermenu testrichtext \
|
||||
testscale testselection testspinbutton \
|
||||
testtoolbar testtooltips \
|
||||
testtreecolumns testtreecolumnsizing testtreeedit testtreeflow testtreefocus \
|
||||
testtreemodel testtreesort testtreeview treestoretest \
|
||||
teststatusicon \
|
||||
testthreads testvolumebutton testwindows testxinerama \
|
||||
simple
|
||||
|
||||
# syntax error : illegal character '-' in macro
|
||||
#stresstest-toolbar
|
||||
|
||||
|
||||
all-test-apps:
|
||||
@for %d in ($(TESTAPPS)) do @nmake -nologo -f makefile.msc one-test-app THIS=%d
|
||||
|
||||
one-test-app:
|
||||
@nmake -nologo -f makefile.msc $(THIS).exe TESTAPP=$(THIS) EXTRA_$(THIS)=1
|
||||
|
||||
!ELSE
|
||||
|
||||
EXTRA_OBJETCS = prop-editor.obj
|
||||
|
||||
!IFDEF EXTRA_buildertest
|
||||
EXTRA_LIBS = $(ATK_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testoffscreen
|
||||
EXTRA_OBJETCS = gtkoffscreenbox.obj
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testprint
|
||||
EXTRA_OBJETCS = testprintfileoperation.obj
|
||||
EXTRA_LIBS = $(PANGOCAIRO_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testnouiprint
|
||||
EXTRA_LIBS = $(PANGOCAIRO_LIBS)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testfilechooser
|
||||
EXTRA_LIBS = gdi32.lib user32.lib shell32.lib
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testsocket
|
||||
EXTRA_OBJETCS = testsocket_common.obj
|
||||
!ENDIF
|
||||
|
||||
!IFDEF EXTRA_testsocket_child
|
||||
EXTRA_OBJETCS = testsocket_common.obj
|
||||
!ENDIF
|
||||
|
||||
$(TESTAPP).exe : ../gtk/gtk-win32-$(GTK_VER).lib $(TESTAPP).obj $(EXTRA_OBJETCS)
|
||||
$(CC) $(CFLAGS) $(TESTAPP).obj $(EXTRA_OBJETCS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) \
|
||||
$(PANGO_LIBS) $(PANGOCAIRO_LIBS) $(GLIB_LIBS) $(CAIRO_LIBS) $(EXTRA_LIBS) $(LDFLAGS)
|
||||
|
||||
$(TESTAPP).obj : $(TESTAPP).c
|
||||
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(TESTAPP)\" $(TESTAPP).c
|
||||
|
||||
!ENDIF
|
@ -1,37 +0,0 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GDK_DEP_CFLAGS)
|
||||
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADDS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
-lm
|
||||
|
||||
noinst_PROGRAMS = visuals
|
||||
|
||||
visuals_DEPENDENCIES = $(TEST_DEPS)
|
||||
visuals_LDADD = $(LDADDS)
|
||||
visuals_SOURCES = visuals.c
|
||||
|
||||
EXTRA_DIST = \
|
||||
inline-toolbar-horizontal.ui \
|
||||
inline-toolbar-vertical.ui \
|
||||
level-bar.ui \
|
||||
linked-buttons-horizontal.ui \
|
||||
linked-buttons-vertical.ui \
|
||||
osd-toolbars.ui \
|
||||
primary-toolbar.ui \
|
||||
suggested-action-buttons.ui \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,9 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = gdk gtk a11y css reftests tools
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
@ -1,142 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
NULL =
|
||||
|
||||
SUBDIRS = state
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
# work around random file systems showing up in the file chooser,
|
||||
# breaking the 'pickers' test
|
||||
TESTS_ENVIRONMENT = \
|
||||
GIO_USE_VOLUME_MONITOR=unix \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
GTK_CSD=1 \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
TEST_PROGS += accessibility-dump
|
||||
|
||||
TEST_PROGS += tree-performance
|
||||
|
||||
TEST_PROGS += text
|
||||
|
||||
TEST_PROGS += children
|
||||
|
||||
TEST_PROGS += derive
|
||||
|
||||
TEST_PROGS += value
|
||||
|
||||
TEST_PROGS += misc
|
||||
|
||||
TEST_PROGS += tree-relationships
|
||||
|
||||
TEST_PROGS += util
|
||||
|
||||
noinst_PROGS = testfocus
|
||||
|
||||
testdata = \
|
||||
hello-world.ui hello-world.txt \
|
||||
mnemonic.ui mnemonic.txt \
|
||||
accessible-name.ui accessible-name.txt \
|
||||
notebook.ui notebook.txt \
|
||||
range.ui range.txt \
|
||||
link.ui link.txt \
|
||||
text.ui text.txt \
|
||||
buttons.ui buttons.txt \
|
||||
colorchooser.ui colorchooser.txt \
|
||||
about.ui about.txt \
|
||||
messagedialog.ui messagedialog.txt \
|
||||
expander.ui expander.txt \
|
||||
assistant.ui assistant.txt \
|
||||
pickers.ui pickers.txt \
|
||||
label.ui label.txt \
|
||||
lockbutton.ui lockbutton.txt \
|
||||
spinner.ui spinner.txt \
|
||||
progress.ui progress.txt \
|
||||
infobar.ui infobar.txt \
|
||||
calendar.ui calendar.txt \
|
||||
statusbar.ui statusbar.txt \
|
||||
paned.ui paned.txt \
|
||||
iconview.ui iconview.txt \
|
||||
entries.ui entries.txt \
|
||||
scale-drawvalue.ui scale-drawvalue.txt \
|
||||
placeholder-text.ui placeholder-text.txt \
|
||||
menu.ui menu.txt \
|
||||
menubutton.ui menubutton.txt \
|
||||
menubutton2.ui menubutton2.txt \
|
||||
menubutton3.ui menubutton3.txt \
|
||||
combos.ui combos.txt \
|
||||
listbox.ui listbox.txt \
|
||||
stack.ui stack.txt \
|
||||
headerbar.ui headerbar.txt \
|
||||
tree.ui tree.txt \
|
||||
actionbar.ui actionbar.txt \
|
||||
tooltips.ui tooltips.txt \
|
||||
$(NULL)
|
||||
|
||||
test_in_files = \
|
||||
a11ytests.test.in \
|
||||
a11ychildren.test.in \
|
||||
a11ytree.test.in \
|
||||
a11yvalue.test.in \
|
||||
a11yderive.test.in \
|
||||
a11ytext.test.in \
|
||||
a11yutil.test.in \
|
||||
a11ymisc.test.in \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(testdata) meson.build
|
||||
|
||||
GTK_GSETTINGS_SCHEMAS = \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
|
||||
$(NULL)
|
||||
|
||||
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) \
|
||||
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
|
||||
--targetdir=$(builddir)
|
||||
|
||||
BUILT_SOURCES = gschemas.compiled
|
||||
|
||||
CLEANFILES = gschemas.compiled
|
||||
|
||||
all-am: gschemas.compiled
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
a11ytestdir = $(insttestdir)/a11ytests
|
||||
a11ytest_DATA = $(testdata)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,58 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
GIO_USE_VOLUME_MONITOR=unix \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
test_programs = state-record
|
||||
|
||||
testdata = \
|
||||
focus1.ui focus1.in focus1.out \
|
||||
focus2.ui focus2.in focus2.out
|
||||
|
||||
EXTRA_DIST += $(testdata) \
|
||||
meson.build \
|
||||
a11ystate.test.in
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(test_programs)
|
||||
|
||||
statetestdir = $(insttestdir)/state
|
||||
statetest_DATA = $(testdata)
|
||||
|
||||
a11ystate.test: Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session-exclusive' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 $(insttestdir)/state-record --tap --directory $(statetestdir)' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
testfiles = a11ystate.test
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(testfiles)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(testfiles)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,51 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
SUBDIRS = parser nodes style
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
test_in_files =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
TEST_PROGS += api
|
||||
test_in_files += api.test.in
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_in_files) \
|
||||
meson.build
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,85 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-nodes
|
||||
test_in_files = test-css-nodes.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_nodes_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_nodes_LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_nodes_SOURCES = \
|
||||
test-css-nodes.c \
|
||||
$(NULL)
|
||||
|
||||
test_data = \
|
||||
box.ltr.ui box.ltr.nodes \
|
||||
box.rtl.ui box.rtl.nodes \
|
||||
box-packing.ltr.ui box-packing.ltr.nodes \
|
||||
box-packing.rtl.ui box-packing.rtl.nodes \
|
||||
buttons.ui buttons.nodes \
|
||||
checkbutton.ltr.ui checkbutton.ltr.nodes \
|
||||
checkbutton.rtl.ui checkbutton.rtl.nodes \
|
||||
combobox.ui combobox.nodes \
|
||||
entries.ui entries.nodes \
|
||||
expander.ltr.ui expander.ltr.nodes \
|
||||
expander.rtl.ui expander.rtl.nodes \
|
||||
levelbar.ltr.ui levelbar.ltr.nodes \
|
||||
levelbar.rtl.ui levelbar.rtl.nodes \
|
||||
notebook-arrows.ui notebook-arrows.nodes \
|
||||
notebook-arrows2.ui notebook-arrows2.nodes \
|
||||
notebook.top.ltr.ui notebook.top.ltr.nodes \
|
||||
notebook.top.rtl.ui notebook.top.rtl.nodes \
|
||||
notebook.left.ltr.ui notebook.left.ltr.nodes \
|
||||
notebook.left.rtl.ui notebook.left.rtl.nodes \
|
||||
notebook.right.ltr.ui notebook.right.ltr.nodes \
|
||||
notebook.right.rtl.ui notebook.right.rtl.nodes \
|
||||
notebook.bottom.ltr.ui notebook.bottom.ltr.nodes \
|
||||
notebook.bottom.rtl.ui notebook.bottom.rtl.nodes \
|
||||
paned.ltr.ui paned.ltr.nodes \
|
||||
paned.rtl.ui paned.rtl.nodes \
|
||||
progressbar.ui progressbar.nodes \
|
||||
scale.ui scale.nodes \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(test_data) meson.build
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/nodes
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += $(test_files)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/nodes
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,511 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-parser
|
||||
test_in_files = test-css-parser.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_parser_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
test_css_parser_LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
test_css_parser_SOURCES = \
|
||||
test-css-parser.c
|
||||
|
||||
clean-local:
|
||||
rm $(builddir)/*.out.css || true
|
||||
|
||||
test_data = \
|
||||
animation-crash-3.12.css \
|
||||
animation-crash-3.12.errors \
|
||||
animation-crash-3.12.ref.css \
|
||||
animation-shorthand-crash.css \
|
||||
animation-shorthand-crash.ref.css \
|
||||
animation-delay.css \
|
||||
animation-delay.ref.css \
|
||||
animation-direction.css \
|
||||
animation-direction.ref.css \
|
||||
animation-duration.css \
|
||||
animation-duration.ref.css \
|
||||
animation-fill-mode.css \
|
||||
animation-fill-mode.ref.css \
|
||||
animation-iteration-count.css \
|
||||
animation-iteration-count.ref.css \
|
||||
animation-name.css \
|
||||
animation-name.ref.css \
|
||||
animation-play-state.css \
|
||||
animation-play-state.ref.css \
|
||||
animation-timing-function.css \
|
||||
animation-timing-function.ref.css \
|
||||
at-invalid-01.css \
|
||||
at-invalid-01.errors \
|
||||
at-invalid-01.ref.css \
|
||||
at-invalid-02.css \
|
||||
at-invalid-02.errors \
|
||||
at-invalid-02.ref.css \
|
||||
at-invalid-03.css \
|
||||
at-invalid-03.errors \
|
||||
at-invalid-03.ref.css \
|
||||
at-invalid-04.css \
|
||||
at-invalid-04.errors \
|
||||
at-invalid-04.ref.css \
|
||||
at-invalid-05.css \
|
||||
at-invalid-05.errors \
|
||||
at-invalid-05.ref.css \
|
||||
at-invalid-06.css \
|
||||
at-invalid-06.errors \
|
||||
at-invalid-06.ref.css \
|
||||
at-invalid-07.css \
|
||||
at-invalid-07.errors \
|
||||
at-invalid-07.ref.css \
|
||||
at-invalid-08.css \
|
||||
at-invalid-08.errors \
|
||||
at-invalid-08.ref.css \
|
||||
at-invalid-09.css \
|
||||
at-invalid-09.errors \
|
||||
at-invalid-09.ref.css \
|
||||
at-invalid-10.css \
|
||||
at-invalid-10.errors \
|
||||
at-invalid-10.ref.css \
|
||||
at-invalid-11.css \
|
||||
at-invalid-11.errors \
|
||||
at-invalid-11.ref.css \
|
||||
at-invalid-12.css \
|
||||
at-invalid-12.errors \
|
||||
at-invalid-12.ref.css \
|
||||
at-invalid-13.css \
|
||||
at-invalid-13.errors \
|
||||
at-invalid-13.ref.css \
|
||||
at-invalid-14.css \
|
||||
at-invalid-14.errors \
|
||||
at-invalid-14.ref.css \
|
||||
at-invalid-15.css \
|
||||
at-invalid-15.errors \
|
||||
at-invalid-15.ref.css \
|
||||
at-invalid-16.css \
|
||||
at-invalid-16.errors \
|
||||
at-invalid-16.ref.css \
|
||||
at-invalid-17.css \
|
||||
at-invalid-17.errors \
|
||||
at-invalid-17.ref.css \
|
||||
at-invalid-18.css \
|
||||
at-invalid-18.errors \
|
||||
at-invalid-18.ref.css \
|
||||
at-invalid-19.css \
|
||||
at-invalid-19.errors \
|
||||
at-invalid-19.ref.css \
|
||||
at-invalid-20.css \
|
||||
at-invalid-20.errors \
|
||||
at-invalid-20.ref.css \
|
||||
at-invalid-21.css \
|
||||
at-invalid-21.errors \
|
||||
at-invalid-21.ref.css \
|
||||
at-invalid-22.css \
|
||||
at-invalid-22.errors \
|
||||
at-invalid-22.ref.css \
|
||||
at-invalid-23.css \
|
||||
at-invalid-23.errors \
|
||||
at-invalid-23.ref.css \
|
||||
at-invalid-24.css \
|
||||
at-invalid-24.errors \
|
||||
at-invalid-24.ref.css \
|
||||
at-invalid-25.css \
|
||||
at-invalid-25.errors \
|
||||
at-invalid-25.ref.css \
|
||||
at-invalid-26.css \
|
||||
at-invalid-26.errors \
|
||||
at-invalid-26.ref.css \
|
||||
at-invalid-27.css \
|
||||
at-invalid-27.errors \
|
||||
at-invalid-27.ref.css \
|
||||
at-valid-01.css \
|
||||
at-valid-01.ref.css \
|
||||
at-valid-02.css \
|
||||
at-valid-02.ref.css \
|
||||
at-valid-03.css \
|
||||
at-valid-03.ref.css \
|
||||
at-valid-04.css \
|
||||
at-valid-04.ref.css \
|
||||
at-valid-05.css \
|
||||
at-valid-05.ref.css \
|
||||
at-valid-06.css \
|
||||
at-valid-06.ref.css \
|
||||
at-valid-07.css \
|
||||
at-valid-08.css \
|
||||
at-valid-08.ref.css \
|
||||
at-valid-09.css \
|
||||
at-valid-09.ref.css \
|
||||
at-valid-10.css \
|
||||
at-valid-10.ref.css \
|
||||
at-valid-11.css \
|
||||
at-valid-11.ref.css \
|
||||
at-valid-12.css \
|
||||
at-valid-12.ref.css \
|
||||
at-valid-13.css \
|
||||
at-valid-13.ref.css \
|
||||
at-valid-14.css \
|
||||
at-valid-14.ref.css \
|
||||
at-valid-15.css \
|
||||
at-valid-15.ref.css \
|
||||
at-valid-16.css \
|
||||
at-valid-16.ref.css \
|
||||
at-valid-17.css \
|
||||
at-valid-18.css \
|
||||
at-valid-18.ref.css \
|
||||
at-valid-19.css \
|
||||
at-valid-19.errors \
|
||||
at-valid-19.ref.css \
|
||||
at-valid-20.css \
|
||||
at-valid-20.errors \
|
||||
at-valid-20.ref.css \
|
||||
at-valid-21.css \
|
||||
at-valid-21.errors \
|
||||
at-valid-21.ref.css \
|
||||
background-blend-mode.css \
|
||||
background-blend-mode.ref.css \
|
||||
background-clip.css \
|
||||
background-clip.ref.css \
|
||||
background-image.css \
|
||||
background-image.ref.css \
|
||||
background-origin.css \
|
||||
background-origin.ref.css \
|
||||
background-position.css \
|
||||
background-position.errors \
|
||||
background-position.ref.css \
|
||||
background-position-errors.css \
|
||||
background-position-errors.errors \
|
||||
background-position-errors.ref.css \
|
||||
background-repeat.css \
|
||||
background-repeat.ref.css \
|
||||
background-shorthand.css \
|
||||
background-shorthand.ref.css \
|
||||
background-shorthand-single.css \
|
||||
background-shorthand-single.ref.css \
|
||||
background-size.css \
|
||||
background-size.ref.css \
|
||||
background-win32-color-is-no-error.css \
|
||||
background-win32-color-is-no-error.ref.css \
|
||||
border.css \
|
||||
border.errors \
|
||||
border.ref.css \
|
||||
border-color.css \
|
||||
border-color.ref.css \
|
||||
border-color-currentcolor.css \
|
||||
border-color-currentcolor.ref.css \
|
||||
border-crash-3.24.css \
|
||||
border-crash-3.24.errors \
|
||||
border-crash-3.24.ref.css \
|
||||
border-image-source.css \
|
||||
border-image-source.ref.css \
|
||||
border-image-repeat.css \
|
||||
border-image-repeat.ref.css \
|
||||
border-image-slice.css \
|
||||
border-image-slice.ref.css \
|
||||
border-image-width.css \
|
||||
border-image-width.ref.css \
|
||||
border-infloop-3.12.css \
|
||||
border-infloop-3.12.errors \
|
||||
border-infloop-3.12.ref.css \
|
||||
border-radius.css \
|
||||
border-radius.ref.css \
|
||||
border-radius-shorthand.css \
|
||||
border-radius-shorthand.errors \
|
||||
border-radius-shorthand.ref.css \
|
||||
border-shorthand.css \
|
||||
border-shorthand.ref.css \
|
||||
border-style.css \
|
||||
border-style.ref.css \
|
||||
border-width.css \
|
||||
border-width.ref.css \
|
||||
box-shadow.css \
|
||||
box-shadow.ref.css \
|
||||
calc.css \
|
||||
calc.ref.css \
|
||||
calc-errors.css \
|
||||
calc-errors.ref.css \
|
||||
calc-errors.errors \
|
||||
calc-simple.css \
|
||||
calc-simple.ref.css \
|
||||
close-at-end-of-file.css \
|
||||
close-at-end-of-file.errors \
|
||||
close-at-end-of-file.ref.css \
|
||||
color.css \
|
||||
color.ref.css \
|
||||
colors-errors.css \
|
||||
colors-errors.errors \
|
||||
colors-errors.ref.css \
|
||||
colors-red.css \
|
||||
colors-red.ref.css \
|
||||
comment-detection.css \
|
||||
comment-detection.ref.css \
|
||||
cross-fade-basic.css \
|
||||
css-21-malformed-declarations.css \
|
||||
css-21-malformed-declarations.errors \
|
||||
css-21-malformed-declarations.ref.css \
|
||||
css-21-malformed-statements.css \
|
||||
css-21-malformed-statements.errors \
|
||||
css-21-malformed-statements.ref.css \
|
||||
currentcolor-everywhere.css \
|
||||
declarations.css \
|
||||
declarations.errors \
|
||||
declarations.ref.css \
|
||||
declarations-invalid-01.css \
|
||||
declarations-invalid-01.errors \
|
||||
declarations-invalid-01.ref.css \
|
||||
declarations-invalid-02.css \
|
||||
declarations-invalid-02.errors \
|
||||
declarations-invalid-02.ref.css \
|
||||
declarations-invalid-03.css \
|
||||
declarations-invalid-03.errors \
|
||||
declarations-invalid-03.ref.css \
|
||||
declarations-invalid-04.css \
|
||||
declarations-invalid-04.errors \
|
||||
declarations-invalid-04.ref.css \
|
||||
declarations-invalid-05.css \
|
||||
declarations-invalid-05.errors \
|
||||
declarations-invalid-05.ref.css \
|
||||
declarations-invalid-06.css \
|
||||
declarations-invalid-06.errors \
|
||||
declarations-invalid-06.ref.css \
|
||||
declarations-invalid-07.css \
|
||||
declarations-invalid-07.errors \
|
||||
declarations-invalid-07.ref.css \
|
||||
declarations-invalid-08.css \
|
||||
declarations-invalid-08.errors \
|
||||
declarations-invalid-08.ref.css \
|
||||
declarations-valid-01.css \
|
||||
declarations-valid-01.ref.css \
|
||||
declarations-valid-02.css \
|
||||
declarations-valid-02.ref.css \
|
||||
declarations-valid-03.css \
|
||||
declarations-valid-03.ref.css \
|
||||
declarations-valid-04.css \
|
||||
declarations-valid-04.ref.css \
|
||||
declarations-valid-05.css \
|
||||
declarations-valid-05.ref.css \
|
||||
declarations-valid-06.css \
|
||||
declarations-valid-06.ref.css \
|
||||
declarations-valid-07.css \
|
||||
declarations-valid-07.ref.css \
|
||||
declarations-valid-08.css \
|
||||
declarations-valid-08.ref.css \
|
||||
declarations-valid-09.css \
|
||||
declarations-valid-09.ref.css \
|
||||
declarations-valid-10.css \
|
||||
declarations-valid-10.ref.css \
|
||||
declarations-valid-11.css \
|
||||
declarations-valid-11.ref.css \
|
||||
declarations-valid-12.css \
|
||||
declarations-valid-12.ref.css \
|
||||
declarations-valid-13.css \
|
||||
declarations-valid-13.ref.css \
|
||||
declarations-valid-14.css \
|
||||
declarations-valid-14.ref.css \
|
||||
declarations-valid-15.css \
|
||||
declarations-valid-15.ref.css \
|
||||
declarations-valid-16.css \
|
||||
declarations-valid-16.ref.css \
|
||||
declarations-valid-17.css \
|
||||
declarations-valid-17.ref.css \
|
||||
declarations-valid-18.css \
|
||||
declarations-valid-18.ref.css \
|
||||
declarations-valid-19.css \
|
||||
declarations-valid-19.ref.css \
|
||||
declarations-valid-20.css \
|
||||
declarations-valid-20.ref.css \
|
||||
declarations-valid-21.css \
|
||||
declarations-valid-21.ref.css \
|
||||
declarations-valid-22.css \
|
||||
declarations-valid-22.ref.css \
|
||||
declarations-valid-23.css \
|
||||
declarations-valid-23.ref.css \
|
||||
declarations-valid-24.css \
|
||||
declarations-valid-24.ref.css \
|
||||
declarations-valid-25.css \
|
||||
declarations-valid-25.ref.css \
|
||||
declarations-valid-26.css \
|
||||
declarations-valid-26.ref.css \
|
||||
deprecated.css \
|
||||
deprecated.errors \
|
||||
deprecated.ref.css \
|
||||
does-not-exist.css \
|
||||
does-not-exist.errors \
|
||||
does-not-exist.ref.css \
|
||||
doubled.css \
|
||||
doubled.ref.css \
|
||||
empty.css \
|
||||
font-family.css \
|
||||
font-family.ref.css \
|
||||
font-size.css \
|
||||
font-size.ref.css \
|
||||
font-stretch.css \
|
||||
font-stretch.ref.css \
|
||||
font-style.css \
|
||||
font-style.ref.css \
|
||||
font-variant.css \
|
||||
font-variant.ref.css \
|
||||
font-weight.css \
|
||||
font-weight.ref.css \
|
||||
freed-string-in-error-messages.css \
|
||||
freed-string-in-error-messages.errors \
|
||||
freed-string-in-error-messages.ref.css \
|
||||
import-cyclic-1.css \
|
||||
import-cyclic-1.errors \
|
||||
import-cyclic-1.ref.css \
|
||||
import-cyclic-2.css \
|
||||
import-cyclic-2.errors \
|
||||
import-cyclic-2.ref.css \
|
||||
import-cyclic-3.css \
|
||||
import-cyclic-3.errors \
|
||||
import-cyclic-3.ref.css \
|
||||
import-nonexistant.css \
|
||||
import-nonexistant.errors \
|
||||
import-nonexistant.ref.css \
|
||||
import-recursive.css \
|
||||
import-recursive.errors \
|
||||
import-recursive.ref.css \
|
||||
integer.css \
|
||||
integer.errors \
|
||||
integer.ref.css \
|
||||
keyframes-empty.css \
|
||||
keyframes-empty.ref.css \
|
||||
keyframes-ordering.css \
|
||||
keyframes-ordering.ref.css \
|
||||
letter-spacing.css \
|
||||
letter-spacing.ref.css \
|
||||
linear-gradient.css \
|
||||
linear-gradient.ref.css \
|
||||
margin.css \
|
||||
margin.ref.css \
|
||||
min-height.css \
|
||||
min-height.ref.css \
|
||||
min-width.css \
|
||||
min-width.ref.css \
|
||||
no-semicolon.css \
|
||||
no-semicolon.ref.css \
|
||||
not.css \
|
||||
not.ref.css \
|
||||
nth-child.css \
|
||||
nth-child.ref.css \
|
||||
opacity.css \
|
||||
opacity.ref.css \
|
||||
outline-color.css \
|
||||
outline-color.ref.css \
|
||||
outline-offset.css \
|
||||
outline-offset.ref.css \
|
||||
outline-radius.css \
|
||||
outline-radius.ref.css \
|
||||
outline-style.css \
|
||||
outline-style.ref.css \
|
||||
outline-width.css \
|
||||
outline-width.ref.css \
|
||||
padding.css \
|
||||
padding.ref.css \
|
||||
property-name-errors.css \
|
||||
property-name-errors.errors \
|
||||
property-name-errors.ref.css \
|
||||
pseudo-classes-known.css \
|
||||
pseudo-classes-known.errors \
|
||||
pseudo-classes-known.ref.css \
|
||||
pseudo-classes-unknown.css \
|
||||
pseudo-classes-unknown.errors \
|
||||
pseudo-classes-unknown.ref.css \
|
||||
radial.css \
|
||||
radial.ref.css \
|
||||
radial-background-position-error.css \
|
||||
radial-background-position-error.errors \
|
||||
radial-background-position-error.ref.css \
|
||||
radial-positions.css \
|
||||
radial-positions.errors \
|
||||
radial-positions.ref.css \
|
||||
selector.css \
|
||||
selector.ref.css \
|
||||
shadow.css \
|
||||
shadow.ref.css \
|
||||
shorthand.css \
|
||||
shorthand.ref.css \
|
||||
simple.css \
|
||||
single-slash.css \
|
||||
single-slash.errors\
|
||||
single-slash.ref.css \
|
||||
string-values.css \
|
||||
string-values.ref.css \
|
||||
text-decoration-color.css \
|
||||
text-decoration-color.ref.css \
|
||||
text-decoration-line.css \
|
||||
text-decoration-line.ref.css \
|
||||
text-decoration-style.css \
|
||||
text-decoration-style.ref.css \
|
||||
test.png \
|
||||
text-shadow.css \
|
||||
text-shadow.ref.css \
|
||||
text-shadow-invalid-but-worked-in-3.12.css \
|
||||
text-shadow-invalid-but-worked-in-3.12.errors \
|
||||
text-shadow-invalid-but-worked-in-3.12.ref.css \
|
||||
transition.css \
|
||||
transition.ref.css \
|
||||
transition-delay.css \
|
||||
transition-delay.ref.css \
|
||||
transition-duration.css \
|
||||
transition-duration.ref.css \
|
||||
transition-property.css \
|
||||
transition-property.ref.css \
|
||||
transition-timing-function.css \
|
||||
transition-timing-function.ref.css \
|
||||
value-inherit.css \
|
||||
value-inherit.errors \
|
||||
value-inherit-shorthand.css \
|
||||
value-inherit-shorthand.ref.css \
|
||||
value-initial.css \
|
||||
value-initial.errors \
|
||||
value-initial-shorthand.css \
|
||||
value-initial-shorthand.ref.css \
|
||||
value-none.css \
|
||||
value-none.errors \
|
||||
value-none.ref.css \
|
||||
widget-style-property.css \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += $(test_in_files) $(test_data)
|
||||
|
||||
EXTRA_DIST += \
|
||||
meson.build
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/parser
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_in_files)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/parser
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,82 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
TEST_PROGS += test-css-style
|
||||
test_in_files = test-css-style.test.in
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
test_css_style_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_style_LDADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_css_style_SOURCES = \
|
||||
test-css-style.c \
|
||||
resources.c \
|
||||
$(NULL)
|
||||
|
||||
test_data = \
|
||||
adjacent-states.ui adjacent-states.css adjacent-states.nodes \
|
||||
colornames.ui colornames.css colornames.nodes \
|
||||
currentcolor.ui currentcolor.css currentcolor.nodes \
|
||||
font.ui font.css font.nodes \
|
||||
gradient.ui gradient.css gradient.nodes \
|
||||
inherit.ui inherit.css inherit.nodes \
|
||||
label.ui label.css label.nodes \
|
||||
nth-child.ui nth-child.css nth-child.nodes \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES = resources.c
|
||||
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/test-css-style.gresource.xml)
|
||||
|
||||
resources.c: test-css-style.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/test-css-style.gresource.xml
|
||||
|
||||
EXTRA_DIST += \
|
||||
test-css-style.gresource.xml \
|
||||
$(resource_files) \
|
||||
$(test_in_files) \
|
||||
$(test_data) \
|
||||
meson.build \
|
||||
$(NULL)
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/style
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
test_files = $(test_in_files:.test.in=.test)
|
||||
|
||||
$(test_files): %.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_files) \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES += $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/style
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,59 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL=
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GDK_DEP_CFLAGS) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
$(NULL)
|
||||
|
||||
LDADD = \
|
||||
$(GDK_DEP_LIBS) \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(NULL)
|
||||
|
||||
#TEST_PROGS += check-gdk-cairo
|
||||
|
||||
TEST_PROGS += \
|
||||
cairo \
|
||||
display \
|
||||
encoding \
|
||||
keysyms \
|
||||
rectangle \
|
||||
rgba \
|
||||
seat \
|
||||
visual \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES = \
|
||||
cairosurface.png \
|
||||
gdksurface.png \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
check-gdk-cairo.c \
|
||||
meson.build
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=$(insttestdir)/$< --tap' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGRS:=.test)
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,308 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DGTK_LOCALEDIR=\"$(localedir)\"\
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-I$(top_builddir)/gtk \
|
||||
-I$(top_srcdir)/gtk \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS)
|
||||
|
||||
if OS_UNIX
|
||||
AM_CPPFLAGS += -DHAVE_UNIX_PRINT_WIDGETS
|
||||
endif
|
||||
|
||||
DEPS = \
|
||||
$(top_builddir)/gtk/libgtk-3.la
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(GTK_DEP_LIBS)
|
||||
|
||||
BUILT_SOURCES =
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
noinst_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
G_ENABLE_DIAGNOSTIC=0 \
|
||||
GIO_USE_VFS=local \
|
||||
GSETTINGS_BACKEND=memory
|
||||
|
||||
TEST_PROGS += \
|
||||
accel \
|
||||
accessible \
|
||||
action \
|
||||
adjustment \
|
||||
bitmask \
|
||||
builder \
|
||||
builderparser \
|
||||
cellarea \
|
||||
check-icon-names \
|
||||
check-cursor-names \
|
||||
clipboard \
|
||||
cssprovider \
|
||||
defaultvalue \
|
||||
entry \
|
||||
firefox-stylecontext \
|
||||
floating \
|
||||
focus \
|
||||
gestures \
|
||||
grid \
|
||||
gtkmenu \
|
||||
icontheme \
|
||||
keyhash \
|
||||
listbox \
|
||||
notify \
|
||||
no-gtk-init \
|
||||
object \
|
||||
objects-finalize \
|
||||
papersize \
|
||||
rbtree \
|
||||
recentmanager \
|
||||
regression-tests \
|
||||
scrolledwindow \
|
||||
spinbutton \
|
||||
stylecontext \
|
||||
templates \
|
||||
textbuffer \
|
||||
textiter \
|
||||
treemodel \
|
||||
treepath \
|
||||
treeview \
|
||||
typename \
|
||||
window \
|
||||
displayclose \
|
||||
revealer-size \
|
||||
$(NULL)
|
||||
|
||||
if OS_UNIX
|
||||
#TEST_PROGS += defaultvalue
|
||||
endif
|
||||
|
||||
if HAVE_CXX
|
||||
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
TEST_PROGS += autotestkeywords
|
||||
|
||||
autotestkeywords_SOURCES = autotestkeywords.cc
|
||||
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
|
||||
|
||||
if HAVE_OBJC
|
||||
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
treemodel_SOURCES = \
|
||||
treemodel.h \
|
||||
treemodel.c \
|
||||
liststore.c \
|
||||
treestore.c \
|
||||
filtermodel.c \
|
||||
sortmodel.c \
|
||||
modelrefcount.c \
|
||||
gtktreemodelrefcount.h \
|
||||
gtktreemodelrefcount.c \
|
||||
$(NULL)
|
||||
|
||||
builder_LDFLAGS = -export-dynamic
|
||||
|
||||
rbtree_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
|
||||
rbtree_LDADD = $(GTK_DEP_LIBS)
|
||||
rbtree_SOURCES = \
|
||||
rbtree.c \
|
||||
gtkrbtree.c \
|
||||
$(NULL)
|
||||
|
||||
gtkrbtree.c: $(top_srcdir)/gtk/gtkrbtree.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkrbtree.c
|
||||
|
||||
bitmask_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
|
||||
bitmask_LDADD = $(GTK_DEP_LIBS)
|
||||
bitmask_SOURCES = \
|
||||
bitmask.c \
|
||||
gtkallocatedbitmask.c \
|
||||
$(NULL)
|
||||
|
||||
gtkallocatedbitmask.c: $(top_srcdir)/gtk/gtkallocatedbitmask.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkallocatedbitmask.c
|
||||
|
||||
keyhash_CFLAGS = \
|
||||
-DGTK_COMPILATION \
|
||||
-DGTK_LIBDIR=\"$(libdir)\" \
|
||||
-DGTK_DATADIR=\"$(datadir)\" \
|
||||
-DGTK_DATA_PREFIX=\"$(prefix)\" \
|
||||
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
|
||||
$(NULL)
|
||||
|
||||
keyhash_SOURCES = \
|
||||
keyhash.c \
|
||||
gtkkeyhash.c \
|
||||
gtkresources.c \
|
||||
gtkprivate.c \
|
||||
$(NULL)
|
||||
|
||||
gtkkeyhash.c: $(top_srcdir)/gtk/gtkkeyhash.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
gtkresources.c: $(top_builddir)/gtk/gtkresources.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
gtkprivate.c: $(top_srcdir)/gtk/gtkprivate.c
|
||||
$(AM_V_GEN) $(LN_S) $^ $@
|
||||
|
||||
CLEANFILES += gtkkeyhash.c gtkresources.c gtkprivate.c
|
||||
|
||||
test_icontheme = \
|
||||
icons/index.theme \
|
||||
icons/16x16/simple.png \
|
||||
icons/16x16/twosize-fixed.svg \
|
||||
icons/16x16s/twosize.svg \
|
||||
icons/32x32/only32-symbolic.svg \
|
||||
icons/32x32/twosize-fixed.svg \
|
||||
icons/32x32s/twosize.svg \
|
||||
icons/scalable/everything-justregular.svg \
|
||||
icons/scalable/everything-justrtl-rtl.svg \
|
||||
icons/scalable/everything-rtl.svg \
|
||||
icons/scalable/everything-symbolic-rtl.svg \
|
||||
icons/scalable/everything-justsymbolic-symbolic.svg \
|
||||
icons/scalable/everything.svg \
|
||||
icons/scalable/everything-symbolic.svg \
|
||||
icons/scalable/nonsquare-symbolic.svg \
|
||||
icons/15/size-test.png \
|
||||
icons/16-22/size-test.png \
|
||||
icons/25+/size-test.svg \
|
||||
icons/35+/size-test.svg \
|
||||
icons/scalable/one-two.svg \
|
||||
icons/scalable/one-two-rtl.svg \
|
||||
icons2/scalable/one-two-three-symbolic.svg \
|
||||
icons2/scalable/one-two-symbolic.svg \
|
||||
icons2/scalable/one-two-symbolic-rtl.svg \
|
||||
icons2/index.theme \
|
||||
$(NULL)
|
||||
|
||||
test_ui = \
|
||||
ui/test1.ui ui/test1.expected \
|
||||
ui/test2.ui ui/test2.expected \
|
||||
ui/test3.ui ui/test3.expected \
|
||||
ui/test4.ui ui/test4.expected \
|
||||
ui/test5.ui ui/test5.expected \
|
||||
ui/test6.ui ui/test6.expected \
|
||||
ui/test7.ui ui/test7.expected \
|
||||
ui/label1.ui ui/label1.expected \
|
||||
ui/label2.ui ui/label2.expected \
|
||||
ui/label3.ui ui/label3.expected \
|
||||
ui/label4.ui ui/label4.expected \
|
||||
ui/label5.ui ui/label5.expected \
|
||||
ui/celllayout1.ui ui/celllayout1.expected \
|
||||
ui/celllayout2.ui ui/celllayout2.expected \
|
||||
ui/celllayout3.ui ui/celllayout3.expected \
|
||||
ui/celllayout4.ui ui/celllayout4.expected \
|
||||
ui/celllayout5.ui ui/celllayout5.expected \
|
||||
ui/celllayout6.ui ui/celllayout6.expected \
|
||||
ui/celllayout7.ui ui/celllayout7.expected \
|
||||
ui/container1.ui ui/container1.expected \
|
||||
ui/container2.ui ui/container2.expected \
|
||||
ui/container3.ui ui/container3.expected \
|
||||
ui/container4.ui ui/container4.expected \
|
||||
ui/container5.ui ui/container5.expected \
|
||||
ui/container6.ui ui/container6.expected \
|
||||
ui/container7.ui ui/container7.expected \
|
||||
ui/container8.ui ui/container8.expected \
|
||||
ui/scale1.ui ui/scale1.expected \
|
||||
ui/scale2.ui ui/scale2.expected \
|
||||
ui/scale3.ui ui/scale3.expected \
|
||||
ui/scale4.ui ui/scale4.expected \
|
||||
ui/scale5.ui ui/scale5.expected \
|
||||
ui/scale6.ui ui/scale6.expected \
|
||||
ui/scale7.ui ui/scale7.expected \
|
||||
ui/levelbar1.ui ui/levelbar1.expected \
|
||||
ui/levelbar2.ui ui/levelbar2.expected \
|
||||
ui/levelbar3.ui ui/levelbar3.expected \
|
||||
ui/levelbar4.ui ui/levelbar4.expected \
|
||||
ui/levelbar5.ui ui/levelbar5.expected \
|
||||
ui/levelbar6.ui ui/levelbar6.expected \
|
||||
ui/dialog1.ui ui/dialog1.expected \
|
||||
ui/dialog2.ui ui/dialog2.expected \
|
||||
ui/dialog3.ui ui/dialog3.expected \
|
||||
ui/dialog4.ui ui/dialog4.expected \
|
||||
ui/dialog5.ui ui/dialog5.expected \
|
||||
ui/dialog6.ui ui/dialog6.expected \
|
||||
ui/filefilter1.ui ui/filefilter1.expected \
|
||||
ui/filefilter2.ui ui/filefilter2.expected \
|
||||
ui/filefilter3.ui ui/filefilter3.expected \
|
||||
ui/filefilter4.ui ui/filefilter4.expected \
|
||||
ui/filefilter5.ui ui/filefilter5.expected \
|
||||
ui/filefilter6.ui ui/filefilter6.expected \
|
||||
ui/filefilter7.ui ui/filefilter7.expected \
|
||||
ui/filefilter8.ui ui/filefilter8.expected \
|
||||
ui/filefilter9.ui ui/filefilter9.expected \
|
||||
ui/filefilter10.ui ui/filefilter10.expected \
|
||||
ui/infobar1.ui ui/infobar1.expected \
|
||||
ui/infobar2.ui ui/infobar2.expected \
|
||||
ui/infobar3.ui ui/infobar3.expected \
|
||||
ui/infobar4.ui ui/infobar4.expected \
|
||||
ui/infobar5.ui ui/infobar5.expected \
|
||||
ui/infobar6.ui ui/infobar6.expected \
|
||||
ui/image1.ui ui/image1.expected \
|
||||
ui/image2.ui ui/image2.expected \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
file-chooser-test-dir/empty \
|
||||
file-chooser-test-dir/text.txt \
|
||||
$(test_icontheme) \
|
||||
$(test_ui) \
|
||||
meson.build \
|
||||
gtk.test.in \
|
||||
$(NULL)
|
||||
|
||||
GTK_GSETTINGS_SCHEMAS = \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES += gschemas.compiled
|
||||
|
||||
CLEANFILES += gschemas.compiled
|
||||
|
||||
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) \
|
||||
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
|
||||
--targetdir=$(builddir)
|
||||
|
||||
all-am: gschemas.compiled
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = $(TEST_PROGS)
|
||||
nobase_insttest_DATA = $(test_icontheme) $(test_ui)
|
||||
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 $(insttestdir)/$< --tap' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGS:=.test)
|
||||
|
||||
DISTCLEANFILES = $(test_files)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,546 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
NULL =
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
REFTEST_MODULE_DIR=$(abs_builddir) \
|
||||
GTK_IM_MODULE=gtk-im-context-simple \
|
||||
GSETTINGS_BACKEND=memory \
|
||||
G_ENABLE_DIAGNOSTIC=0
|
||||
|
||||
TEST_PROGS += gtk-reftest
|
||||
|
||||
check_PROGRAMS = $(TEST_PROGS)
|
||||
|
||||
gtk_reftest_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/gdk \
|
||||
-I$(top_srcdir)/gdk \
|
||||
-DGDK_DISABLE_DEPRECATED \
|
||||
-DGTK_DISABLE_DEPRECATED \
|
||||
$(GTK_DEBUG_FLAGS) \
|
||||
$(GTK_DEP_CFLAGS) \
|
||||
$(GMODULE_CFLAGS) \
|
||||
$(NULL)
|
||||
|
||||
gtk_reftest_LDADD = \
|
||||
libgtkreftestprivate.la \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GMODULE_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
if PLATFORM_WIN32
|
||||
noinst_LTLIBRARIES =
|
||||
lib_LTLIBRARIES = \
|
||||
libgtkreftestprivate.la \
|
||||
$(NULL)
|
||||
else
|
||||
noinst_LTLIBRARIES = \
|
||||
libgtkreftestprivate.la \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||
libgtkreftestprivate_la_LDFLAGS = $(no_undefined)
|
||||
libgtkreftestprivate_la_LIBADD = \
|
||||
$(top_builddir)/gdk/libgdk-3.la \
|
||||
$(top_builddir)/gtk/libgtk-3.la \
|
||||
$(GTK_DEP_LIBS) \
|
||||
$(GMODULE_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
libgtkreftestprivate_la_SOURCES = \
|
||||
reftest-compare.c \
|
||||
reftest-compare.h \
|
||||
reftest-module.c \
|
||||
reftest-module.h \
|
||||
reftest-snapshot.c \
|
||||
reftest-snapshot.h \
|
||||
$(NULL)
|
||||
|
||||
gtk_reftest_SOURCES = \
|
||||
gtk-reftest.c \
|
||||
gtk-reftest.h
|
||||
|
||||
clean-local:
|
||||
rm -rf output/ || true
|
||||
|
||||
EXTRA_DIST += \
|
||||
align-expand.sh \
|
||||
meson.build \
|
||||
$(NULL)
|
||||
|
||||
testdata = \
|
||||
721800-0px-dotted-border.css \
|
||||
721800-0px-dotted-border.ref.ui \
|
||||
721800-0px-dotted-border.ui \
|
||||
actionbar.css \
|
||||
actionbar.ref.ui \
|
||||
actionbar.ui \
|
||||
alignment-props.css \
|
||||
alignment-props.ref.ui \
|
||||
alignment-props.ui \
|
||||
animation-direction.css \
|
||||
animation-direction.ref.ui \
|
||||
animation-direction.ui \
|
||||
animation-fill-mode-iteration-count.css \
|
||||
animation-fill-mode-iteration-count.ref.ui \
|
||||
animation-fill-mode-iteration-count.ui \
|
||||
background-area.css \
|
||||
background-area.ref.ui \
|
||||
background-area.ui \
|
||||
background-blend-mode-clip-interaction.css \
|
||||
background-blend-mode-clip-interaction.ref.ui \
|
||||
background-blend-mode-clip-interaction.ui \
|
||||
background-color-transparent.css \
|
||||
background-color-transparent.ref.ui \
|
||||
background-color-transparent.ui \
|
||||
background-image-multiple.css \
|
||||
background-image-multiple.ref.ui \
|
||||
background-image-multiple.ui \
|
||||
background-origin.css \
|
||||
background-origin.ref.ui \
|
||||
background-origin.ui \
|
||||
background-positioning-area-empty.ref.ui \
|
||||
background-positioning-area-empty.ui \
|
||||
background-position.css \
|
||||
background-position.ref.ui \
|
||||
background-position.ui \
|
||||
background-position-repeat.css \
|
||||
background-position-repeat.ref.ui \
|
||||
background-position-repeat.ui \
|
||||
background-position-repeat-bg.png \
|
||||
background-position-simple.css \
|
||||
background-position-simple.ref.ui \
|
||||
background-position-simple.ui \
|
||||
background-size.css \
|
||||
background-size.ref.ui \
|
||||
background-size.ui \
|
||||
background-size-keywords.css \
|
||||
background-size-keywords.ref.ui \
|
||||
background-size-keywords.ui \
|
||||
background-size-zero.css \
|
||||
background-size-zero.ref.ui \
|
||||
background-size-zero.ui \
|
||||
background-window-transparent.css \
|
||||
background-window-transparent.ref.ui \
|
||||
background-window-transparent.ui \
|
||||
bad-color-names.css \
|
||||
bad-color-names.ref.ui \
|
||||
bad-color-names.ui \
|
||||
reference-background-origin.png \
|
||||
border-color-default.css \
|
||||
border-color-default.ref.ui \
|
||||
border-color-default.ui \
|
||||
border-corner-zero-width-rendering.css \
|
||||
border-corner-zero-width-rendering.ref.ui \
|
||||
border-corner-zero-width-rendering.ui \
|
||||
border-half-pixel.css \
|
||||
border-half-pixel.ref.ui \
|
||||
border-half-pixel.ui \
|
||||
border-image-ball-green.png \
|
||||
border-image-ball-red.png \
|
||||
border-image-ball-yellow.png \
|
||||
border-image-balls.png \
|
||||
border-image-3-balls-green.png \
|
||||
border-image-3-balls-green-squished.png \
|
||||
border-image-3-balls-yellow.png \
|
||||
border-image-3-balls-yellow-squished.png \
|
||||
border-image-excess-size.css \
|
||||
border-image-excess-size.ref.ui \
|
||||
border-image-excess-size.ui \
|
||||
border-image-gradient.css \
|
||||
border-image-gradient.ref.ui \
|
||||
border-image-gradient.ui \
|
||||
border-image-url-scaled.css \
|
||||
border-image-url-scaled.ref.ui \
|
||||
border-image-url-scaled.ui \
|
||||
border-image-url.css \
|
||||
border-image-url.ref.ui \
|
||||
border-image-url.ui \
|
||||
border-radius-clamp.css \
|
||||
border-radius-clamp.ref.ui \
|
||||
border-radius-clamp.ui \
|
||||
border-rgb.png \
|
||||
border-rgb@2.png \
|
||||
border-style-none.css \
|
||||
border-style-none.ref.ui \
|
||||
border-style-none.ui \
|
||||
border-style.css \
|
||||
border-style.ref.ui \
|
||||
border-style.ui \
|
||||
box-child-expand.ref.ui \
|
||||
box-child-expand.ui \
|
||||
box-order.css \
|
||||
box-order.ref.ui \
|
||||
box-order.ui \
|
||||
box-packing.css \
|
||||
box-packing.ref.ui \
|
||||
box-packing.ui \
|
||||
box-pseudo-classes.css \
|
||||
box-pseudo-classes.ref.ui \
|
||||
box-pseudo-classes.ui \
|
||||
box-shadow-changes-modify-clip.css \
|
||||
box-shadow-changes-modify-clip.ref.ui \
|
||||
box-shadow-changes-modify-clip.ui \
|
||||
box-shadow-spec-inset.css \
|
||||
box-shadow-spec-inset.ref.ui \
|
||||
box-shadow-spec-inset.ui \
|
||||
box-shadow-spread.css \
|
||||
box-shadow-spread.ref.ui \
|
||||
box-shadow-spread.ui \
|
||||
box-shadow-with-blend-mode.css \
|
||||
box-shadow-with-blend-mode.ref.ui \
|
||||
box-shadow-with-blend-mode.ui \
|
||||
button-wrapping.ui \
|
||||
button-wrapping.ref.ui \
|
||||
cellrenderer-pixbuf-stock-rtl.css \
|
||||
cellrenderer-pixbuf-stock-rtl.ui \
|
||||
cellrenderer-pixbuf-stock-rtl.ref.ui \
|
||||
color-transition.css \
|
||||
color-transition.ref.ui \
|
||||
color-transition.ui \
|
||||
css-em-label-size.css \
|
||||
css-em-label-size.ui \
|
||||
css-em-label-size.ref.ui \
|
||||
css-currentcolor-alpha.css \
|
||||
css-currentcolor-alpha.ui \
|
||||
css-currentcolor-alpha.ref.ui \
|
||||
css-image-aspect-ratio.css \
|
||||
css-image-aspect-ratio.ui \
|
||||
css-image-aspect-ratio.ref.ui \
|
||||
css-image-color-aspect-ratio.css \
|
||||
css-image-color-aspect-ratio.ui \
|
||||
css-image-color-aspect-ratio.ref.ui \
|
||||
css-match-class.css \
|
||||
css-match-class.ref.ui \
|
||||
css-match-class.ui \
|
||||
css-match-descendant-later.css \
|
||||
css-match-descendant-later.ref.ui \
|
||||
css-match-descendant-later.ui \
|
||||
css-match-exact.css \
|
||||
css-match-exact.ref.ui \
|
||||
css-match-exact.ui \
|
||||
css-match-import.css \
|
||||
css-match-import-import.css \
|
||||
css-match-import.ui \
|
||||
css-match-import.ref.ui \
|
||||
css-match-inherit.css \
|
||||
css-match-inherit.ref.ui \
|
||||
css-match-inherit.ui \
|
||||
css-match-inherit-different-state.css \
|
||||
css-match-inherit-different-state.ref.ui \
|
||||
css-match-inherit-different-state.ui \
|
||||
css-match-name.css \
|
||||
css-match-name.ref.ui \
|
||||
css-match-name.ui \
|
||||
css-match-siblings.css \
|
||||
css-match-siblings.ref.ui \
|
||||
css-match-siblings.ui \
|
||||
css-match-type.css \
|
||||
css-match-type.ref.ui \
|
||||
css-match-type.ui \
|
||||
css-multi-state.css \
|
||||
css-multi-state.ref.ui \
|
||||
css-multi-state.ui \
|
||||
fixed-widget-stacking.ref.ui \
|
||||
fixed-widget-stacking.ui \
|
||||
flipping-icons.ref.ui \
|
||||
flipping-icons.ui \
|
||||
font-sizes-names.css \
|
||||
font-sizes-names.ref.ui \
|
||||
font-sizes-names.ui \
|
||||
gtk-image-effect-inherit.css \
|
||||
gtk-image-effect-inherit.ref.ui \
|
||||
gtk-image-effect-inherit.ui \
|
||||
green-20x20.png \
|
||||
grid-empty-with-spacing.ref.ui \
|
||||
grid-empty-with-spacing.ui \
|
||||
grid-expand.css \
|
||||
grid-expand.ref.ui \
|
||||
grid-expand.ui \
|
||||
grid-wfh.ui \
|
||||
grid-wfh.ref.ui \
|
||||
grid-homogeneous.css \
|
||||
grid-homogeneous.ref.ui \
|
||||
grid-homogeneous.ui \
|
||||
grid-spacing1.ref.ui \
|
||||
grid-spacing1.ui \
|
||||
grid-spacing2.ref.ui \
|
||||
grid-spacing2.ui \
|
||||
grid-spacing3.css \
|
||||
grid-spacing3.ref.ui \
|
||||
grid-spacing3.ui \
|
||||
gtk-icontheme-sizing.css \
|
||||
gtk-icontheme-sizing.ref.ui \
|
||||
gtk-icontheme-sizing.ui \
|
||||
icon-effect-missing.css \
|
||||
icon-effect-missing.ref.ui \
|
||||
icon-effect-missing.ui \
|
||||
icon-shadow-no-transform.css \
|
||||
icon-shadow-no-transform.ref.ui \
|
||||
icon-shadow-no-transform.ui \
|
||||
icon-style-basics.css \
|
||||
icon-style-basics.ref.ui \
|
||||
icon-style-basics.ui \
|
||||
icon-vfuncs.css \
|
||||
icon-vfuncs.ref.ui \
|
||||
icon-vfuncs.ui \
|
||||
iconview-empty.css \
|
||||
iconview-empty.ui \
|
||||
iconview-empty.ref.ui \
|
||||
image-icon-name-use-fallback.ui \
|
||||
image-icon-name-use-fallback.ref.ui \
|
||||
image-icon-shadow-clipping.css \
|
||||
image-icon-shadow-clipping.ref.ui \
|
||||
image-icon-shadow-clipping.ui \
|
||||
image-load-from-file.css \
|
||||
image-load-from-file.ref.ui \
|
||||
image-load-from-file.ui \
|
||||
image-recording-surface.ref.ui \
|
||||
image-recording-surface.ui \
|
||||
info-bar-message-types.css \
|
||||
info-bar-message-types.ref.ui \
|
||||
info-bar-message-types.ui \
|
||||
inherit-and-initial.css \
|
||||
inherit-and-initial.ref.ui \
|
||||
inherit-and-initial.ui \
|
||||
label-attribute-preference.css \
|
||||
label-attribute-preference.ref.ui \
|
||||
label-attribute-preference.ui \
|
||||
label-background.css \
|
||||
label-background.ref.ui \
|
||||
label-background.ui \
|
||||
label-box-shadow-clip.css \
|
||||
label-box-shadow-clip.ref.ui \
|
||||
label-box-shadow-clip.ui \
|
||||
label-clipping.css \
|
||||
label-clipping.ref.ui \
|
||||
label-clipping.ui \
|
||||
label-ellipsize-small.ref.ui \
|
||||
label-ellipsize-small.ui \
|
||||
label-ellipsize-with-big.ref.ui \
|
||||
label-ellipsize-with-big.ui \
|
||||
label-fonts.css \
|
||||
label-fonts.ref.ui \
|
||||
label-fonts.ui \
|
||||
label-shadows.css \
|
||||
label-shadows.ref.ui \
|
||||
label-shadows.ui \
|
||||
label-sizing.css \
|
||||
label-sizing.ref.ui \
|
||||
label-sizing.ui \
|
||||
label-small-ellipsized.ref.ui \
|
||||
label-small-ellipsized.ui \
|
||||
label-text-shadow-clipping.css \
|
||||
label-text-shadow-clipping.ref.ui \
|
||||
label-text-shadow-clipping.ui \
|
||||
label-width-chars-dont-shrink.ref.ui \
|
||||
label-width-chars-dont-shrink.ui \
|
||||
label-wrap-justify.ref.ui \
|
||||
label-wrap-justify.ui \
|
||||
letter-spacing.css \
|
||||
letter-spacing.ui \
|
||||
letter-spacing.ref.ui \
|
||||
linear-gradient.css \
|
||||
linear-gradient.ref.ui \
|
||||
linear-gradient.ui \
|
||||
linear-gradient-transition-to-other.css \
|
||||
linear-gradient-transition-to-other.ref.ui \
|
||||
linear-gradient-transition-to-other.ui \
|
||||
link-coloring.css \
|
||||
link-coloring.ref.ui \
|
||||
link-coloring.ui \
|
||||
marble.xpm \
|
||||
messagedialog-secondarytext.ui \
|
||||
messagedialog-secondarytext.ref.ui \
|
||||
misc-alignment.css \
|
||||
misc-alignment.ref.ui \
|
||||
misc-alignment.ui \
|
||||
named-colors.css \
|
||||
named-colors.ref.ui \
|
||||
named-colors.ui \
|
||||
no-colors.css \
|
||||
no-colors.ref.ui \
|
||||
no-colors.ui \
|
||||
nonresizable-size.ref.ui \
|
||||
nonresizable-size.ui \
|
||||
notebook-childproperties.css \
|
||||
notebook-childproperties.ui \
|
||||
notebook-childproperties.ref.ui \
|
||||
notebook-tab-position.css \
|
||||
notebook-tab-position.ui \
|
||||
notebook-tab-position.ref.ui \
|
||||
nth-child.css \
|
||||
nth-child.ref.ui \
|
||||
nth-child.ui \
|
||||
opacity.css \
|
||||
opacity.ui \
|
||||
opacity.ref.ui \
|
||||
opacity-initial.css \
|
||||
opacity-initial.ref.ui \
|
||||
opacity-initial.ui \
|
||||
overlay-no-main-widget.ref.ui \
|
||||
overlay-no-main-widget.ui \
|
||||
paned-undersized.css \
|
||||
paned-undersized.ref.ui \
|
||||
paned-undersized.ui \
|
||||
pseudoclass-on-box.css \
|
||||
pseudoclass-on-box.ref.ui \
|
||||
pseudoclass-on-box.ui \
|
||||
pseudoclass-on-parent.css \
|
||||
pseudoclass-on-parent.ref.ui \
|
||||
pseudoclass-on-parent.ui \
|
||||
quit-mnemonic.css \
|
||||
quit-mnemonic.ref.ui \
|
||||
quit-mnemonic.ui \
|
||||
reset-to-defaults.css \
|
||||
revealer-extra-size.ref.ui \
|
||||
revealer-extra-size.ui \
|
||||
revealer-wrappable-contents.ref.ui \
|
||||
revealer-wrappable-contents.ui \
|
||||
rotated-layout.ref.ui \
|
||||
rotated-layout.ui \
|
||||
separator-size.css \
|
||||
separator-size.ref.ui \
|
||||
separator-size.ui \
|
||||
set-default-direction.ui \
|
||||
set-default-direction.ref.ui \
|
||||
shadow-clip-rounding.css \
|
||||
shadow-clip-rounding.ref.ui \
|
||||
shadow-clip-rounding.ui \
|
||||
shorthand-entry-border.css \
|
||||
shorthand-entry-border.ref.ui \
|
||||
shorthand-entry-border.ui \
|
||||
sibling-pseudoclasses.css \
|
||||
sibling-pseudoclasses.ref.ui \
|
||||
sibling-pseudoclasses.ui \
|
||||
simple.ref.ui \
|
||||
simple.ui \
|
||||
sizegroups-basics.css \
|
||||
sizegroups-basics.ui \
|
||||
sizegroups-basics.ref.ui \
|
||||
sizegroups-evolution-identity-page.ui \
|
||||
sizegroups-evolution-identity-page.ref.ui \
|
||||
sizegroups-get-preferred-null.ui \
|
||||
sizegroups-get-preferred-null.ref.ui \
|
||||
statusbar-remove-all.ref.ui \
|
||||
statusbar-remove-all.ui \
|
||||
style-context-save-inheritance.css \
|
||||
style-context-save-inheritance.ref.ui \
|
||||
style-context-save-inheritance.ui \
|
||||
style-properties-nth-child.css \
|
||||
style-properties-nth-child.ref.ui \
|
||||
style-properties-nth-child.ui \
|
||||
style-properties-only-child.css \
|
||||
style-properties-only-child.ref.ui \
|
||||
style-properties-only-child.ui \
|
||||
symbolic-icon-translucent-color.css \
|
||||
symbolic-icon-translucent-color.ref.ui \
|
||||
symbolic-icon-translucent-color.ui \
|
||||
textview-border-windows.css \
|
||||
textview-border-windows.ref.ui \
|
||||
textview-border-windows.ui \
|
||||
textview-margins.css \
|
||||
textview-margins.ref.ui \
|
||||
textview-margins.ui \
|
||||
textview-tags.ref.ui \
|
||||
textview-tags.ui \
|
||||
treeview-fixed-height.css \
|
||||
treeview-fixed-height.ref.ui \
|
||||
treeview-fixed-height.ui \
|
||||
treeview-headers-hidden.ref.ui \
|
||||
treeview-headers-hidden.ui \
|
||||
unresolvable.css \
|
||||
unresolvable.ref.ui \
|
||||
unresolvable.ui \
|
||||
window-border-width.ref.ui \
|
||||
window-border-width.ui \
|
||||
window-default-size.ref.ui \
|
||||
window-default-size.ui \
|
||||
window-height-for-width.ref.ui \
|
||||
window-height-for-width.ui \
|
||||
window-show-contents-on-map.ref.ui \
|
||||
window-show-contents-on-map.ui \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(testdata) \
|
||||
reftests-dark.test.in \
|
||||
reftests-hc.test.in \
|
||||
reftests-hci.test.in \
|
||||
reftests.test.in \
|
||||
$(NULL)
|
||||
|
||||
GTK_GSETTINGS_SCHEMAS = \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
|
||||
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES = gschemas.compiled
|
||||
|
||||
CLEANFILES = gschemas.compiled
|
||||
|
||||
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) \
|
||||
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
|
||||
--targetdir=$(builddir)
|
||||
|
||||
all-am: gschemas.compiled
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_PROGRAMS = gtk-reftest
|
||||
|
||||
reftestdir = $(insttestdir)/reftests
|
||||
reftest_DATA = $(testdata)
|
||||
reftest_LTLIBRARIES = \
|
||||
libreftest.la \
|
||||
$(NULL)
|
||||
|
||||
libreftest_la_LDFLAGS = -rpath $(reftestdir)
|
||||
|
||||
substitutions = \
|
||||
-e s,@libexecdir\@,$(libexecdir),g \
|
||||
$(NULL)
|
||||
|
||||
%.test: %.test.in
|
||||
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
||||
|
||||
built_tests = \
|
||||
reftests.test \
|
||||
reftests-dark.test \
|
||||
reftests-hc.test \
|
||||
reftests-hci.test \
|
||||
$(NULL)
|
||||
|
||||
DISTCLEANFILES = $(built_tests)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(built_tests)
|
||||
else
|
||||
noinst_LTLIBRARIES += \
|
||||
libreftest.la \
|
||||
$(NULL)
|
||||
|
||||
libreftest_la_LDFLAGS = -rpath /iHaveNoIdeaWhatImDoing
|
||||
|
||||
endif
|
||||
|
||||
libreftest_la_LDFLAGS += -avoid-version -module $(no_undefined)
|
||||
libreftest_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||
libreftest_la_LIBADD = $(gtk_reftest_LDADD)
|
||||
libreftest_la_SOURCES = \
|
||||
expand-expander.c \
|
||||
frame-inhibitor.c \
|
||||
image-recording-surface.c \
|
||||
letter-spacing.c \
|
||||
set-default-direction.c \
|
||||
statusbar-remove-all.c \
|
||||
textview-border-windows.c \
|
||||
textview-tags.c \
|
||||
animation-direction.c \
|
||||
$(NULL)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,63 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
NULL =
|
||||
|
||||
test_simplify = \
|
||||
simplify/test1.ui simplify/test1.expected \
|
||||
simplify/test2.ui simplify/test2.expected \
|
||||
simplify/test3.ui simplify/test3.expected \
|
||||
simplify/test4.ui simplify/test4.expected \
|
||||
simplify/test5.ui simplify/test5.expected \
|
||||
simplify/test6.ui simplify/test6.expected \
|
||||
simplify/test7.ui simplify/test7.expected \
|
||||
simplify/test8.ui simplify/test8.expected \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(test_simplify) \
|
||||
test-simplify.in \
|
||||
test-settings.in \
|
||||
tools.test.in \
|
||||
meson.build \
|
||||
$(NULL)
|
||||
|
||||
TESTS_ENVIRONMENT = \
|
||||
GTK_BUILDER_TOOL="$(top_builddir)/gtk/gtk-builder-tool" \
|
||||
GTK_QUERY_SETTINGS="$(top_builddir)/gtk/gtk-query-settings" \
|
||||
$(NULL)
|
||||
|
||||
TEST_PROGS += \
|
||||
test-simplify \
|
||||
test-settings \
|
||||
$(NULL)
|
||||
|
||||
test-simplify:test-simplify.in
|
||||
$(AM_V_GEN) cp $< $@
|
||||
|
||||
test-settings:test-settings.in
|
||||
$(AM_V_GEN) cp $< $@
|
||||
|
||||
if BUILDOPT_INSTALL_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttest_SCRIPTS = $(TEST_PROGS)
|
||||
nobase_insttest_DATA = $(test_simplify)
|
||||
|
||||
%.test: % Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Output=TAP' >> $@.tmp; \
|
||||
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 TEST_DATA_DIR="$(insttestdir)/simplify" $(insttestdir)/$<' >> $@.tmp; \
|
||||
mv $@.tmp $@)
|
||||
|
||||
test_files = $(TEST_PROGS:=.test)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(TEST_PROGS) \
|
||||
$(test_files) \
|
||||
$(NULL)
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_files)
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
1
win32/.gitignore
vendored
1
win32/.gitignore
vendored
@ -1 +0,0 @@
|
||||
config-msvc.mak
|
@ -1,46 +0,0 @@
|
||||
# Centralized autotools file
|
||||
# Create the Visual Studio 2012/2013/2015 project files
|
||||
# from the Visual Studio 2010 project files
|
||||
|
||||
# This autotools file, from GLib, can be used in other projects
|
||||
# that have Visual Studio build support, and is copied into
|
||||
# $(srcroot)/build/.
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# November 05, 2012
|
||||
|
||||
# MSVC_VER_LONG: Long Version of target Visual Studio (2012, 2013, 14 and so on)
|
||||
# MSVC_VER: Short Version of target Visual Studio (110 for 2012, 120 for 2013, 140 for 2015, 141 for 2017)
|
||||
# MSVC_TOOLSET: Use if target MSVC toolsett is not in the form v $(MSVC_VER)0, meaning v$(MSVC_TOOLSET)
|
||||
|
||||
if MSVC_BASE_NO_TOOLSET_SET
|
||||
MSVC_BASE_TOOLSET = $(MSVC_BASE_VER)0
|
||||
endif
|
||||
|
||||
if MSVC_NO_TOOLSET_SET
|
||||
MSVC_TOOLSET = $(MSVC_VER)0
|
||||
endif
|
||||
|
||||
%.sln: $(top_builddir)/win32/vs10/Makefile
|
||||
sed 's/11\.00/$(MSVC_FORMAT_VER)\.00/g' < $(top_srcdir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
sed 's/2010/$(MSVC_VER_LONG)/g' < $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/win32/vs$(MSVC_VER)/$@
|
||||
rm $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
|
||||
%.txt: $(top_builddir)/win32/vs10/Makefile
|
||||
sed 's/vs10/vs$(MSVC_VER)/g' < $(top_srcdir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
sed 's/VS10/VS$(MSVC_VER)/g' < $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/win32/vs$(MSVC_VER)/$@
|
||||
rm $(top_builddir)/win32/vs$(MSVC_VER)/$@.tmp
|
||||
|
||||
%.vcxproj: $(top_builddir)/win32/vs10/Makefile
|
||||
if test -e $(top_srcdir)/win32/vs10/$@; then \
|
||||
sed 's/v100/v$(MSVC_TOOLSET)/g' < $(top_srcdir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
else \
|
||||
sed 's/v100/v$(MSVC_TOOLSET)/g' < $(top_builddir)/win32/vs10/$@ > $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
fi
|
||||
|
||||
%.vcxproj.filters: $(top_builddir)/win32/vs10/Makefile
|
||||
if test -e $(top_srcdir)/win32/vs10/$@; then \
|
||||
cp $(top_srcdir)/win32/vs10/$@ $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
else \
|
||||
cp $(top_builddir)/win32/vs10/$@ $(top_builddir)/win32/vs$(MSVC_VER)/$@; \
|
||||
fi
|
@ -1,31 +0,0 @@
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
SUBDIRS = \
|
||||
vs9 \
|
||||
vs10 \
|
||||
vs11 \
|
||||
vs12 \
|
||||
vs14 \
|
||||
vs15 \
|
||||
vs16 \
|
||||
vs17 \
|
||||
vs1x-props
|
||||
|
||||
EXTRA_DIST += \
|
||||
config-msvc.mak \
|
||||
config-msvc.mak.in \
|
||||
create-lists.bat \
|
||||
create-lists-msvc.mak \
|
||||
detectenv-msvc.mak \
|
||||
gen-version-items.py \
|
||||
generate-msvc.mak \
|
||||
generate-msvcprojs.mak \
|
||||
gtk-introspection-msvc.mak \
|
||||
introspection-msvc.mak \
|
||||
install-msvc.mak \
|
||||
replace.py \
|
||||
pc_base.py \
|
||||
gtkpc.py \
|
||||
README_FEATURES_MSVC.md
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
@ -1,89 +0,0 @@
|
||||
# Author: Fan, Chun-wei
|
||||
# Common Autotools file used to generate Visual Studio 2008+
|
||||
# Projects from their templates
|
||||
|
||||
# This autotools file, from GLib, can be used in other projects
|
||||
# that have Visual Studio build support, and is copied into
|
||||
# $(srcroot)/build/.
|
||||
|
||||
# * Input variables:
|
||||
#
|
||||
# MSVCPROJS - List of Projects that should be generated
|
||||
#
|
||||
# * Simple tutorial
|
||||
#
|
||||
# Add this to Makefile.am where your library/program is built:
|
||||
# include $(top_srcdir)/build/Makefile.msvcproj
|
||||
# MSVCPROJS = YourProject (can be multiple projects in a single srcdir)
|
||||
# YourProject_FILES = $(libyourlib_1_0_SOURCES)
|
||||
# YourProject_EXCLUDES = ... # list of sources to exclude, separated by '|', wildcards allowed; use random unsed value if none
|
||||
#
|
||||
# dist-hook: \ # (or add to it if it is already there, note the vs9 items will also call the vs10 items in the process)
|
||||
# $(top_builddir)/win32/vs9/YourProject.vcproj
|
||||
|
||||
|
||||
# Private functions
|
||||
|
||||
## Transform the MSVC project filename (no filename extensions) to something which can reference through a variable
|
||||
## without automake/make complaining, eg Gtk-2.0 -> Gtk_2_0
|
||||
_proj_name=$(subst /,_,$(subst -,_,$(subst .,_,$(1))))
|
||||
_proj_path_raw:=$(subst $(abs_top_srcdir),,$(abs_srcdir))
|
||||
_proj_path=$(subst /,\\,$(_proj_path_raw))
|
||||
_proj_subdir_int=$(subst \\\\,\\,\\$(_proj_path)\\)
|
||||
_proj_subdir=$(subst \\.\\,\\,$(_proj_subdir_int))
|
||||
|
||||
_proj_files_raw=$(subst /,\\,$($(_proj_name)_FILES))
|
||||
_proj_files=$(subst $(srcdir)\\,,$(subst $(builddir)\\,,$(subst $(top_builddir)\\$(_proj_path)\\,\\,$(_proj_files_raw))))
|
||||
_proj_filters=$($(_proj_name)_EXCLUDES)
|
||||
|
||||
#
|
||||
# Creates Visual Studio 2008/2010 projects from items passed in from autotools files
|
||||
# $(1) - Base Name of the MSVC project files (outputs)
|
||||
#
|
||||
|
||||
define msvcproj-builder
|
||||
|
||||
$(top_builddir)/win32/vs10/$(1).vcxproj: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(top_builddir)/win32/vs10/$(1).vcxproj.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).vs10.sourcefiles: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(1).vs10.sourcefiles.filters: $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
|
||||
$(top_builddir)/win32/vs9/$(1).vcproj: Makefile
|
||||
-$(RM) $(top_builddir)/win32/vs9/$(1).vcproj
|
||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs11/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs12/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs14/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs15/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs15/$(1).vcxproj.filters
|
||||
-$(RM) $(top_builddir)/win32/vs16/$(1).vcxproj
|
||||
-$(RM) $(top_builddir)/win32/vs16/$(1).vcxproj.filters
|
||||
|
||||
for F in $(_proj_files); do \
|
||||
case $$$$F in \
|
||||
$(_proj_filters)) \
|
||||
;; \
|
||||
*.c|*.cpp|*.cc|*.cxx) \
|
||||
echo ' <File RelativePath="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).sourcefiles && \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'" />' >>$(1).vs10.sourcefiles && \
|
||||
echo ' <ClCompile Include="..\..'$(_proj_subdir)$$$$F'"><Filter>Source Files</Filter></ClCompile>' >>$(1).vs10.sourcefiles.filters \
|
||||
;; \
|
||||
esac; \
|
||||
done
|
||||
|
||||
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs9/$(1).vcprojin >$(top_builddir)/win32/vs9/$(1).vcproj
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxprojin >$(top_builddir)/win32/vs10/$(1).vcxproj
|
||||
$(CPP) -P - <$(top_srcdir)/win32/vs10/$(1).vcxproj.filtersin >$(top_builddir)/win32/vs10/$(1).vcxproj.filters
|
||||
$(RM) $(1).sourcefiles
|
||||
$(RM) $(1).vs10.sourcefiles
|
||||
$(RM) $(1).vs10.sourcefiles.filters
|
||||
|
||||
endef
|
||||
|
||||
$(foreach proj,$(MSVCPROJS),$(eval $(call msvcproj-builder,$(proj))))
|
@ -1,98 +0,0 @@
|
||||
Preameble
|
||||
---
|
||||
This file attempts to give further info about how to enable features
|
||||
that are not available in the Visual Studio project files shipped
|
||||
with the source release archive, i.e. beyond building GTK with the GDK
|
||||
Win32 backend, with or without the Broadway GDK backend.
|
||||
|
||||
The following also apply to Visual Studio builds done with Meson in terms
|
||||
of getting the required dependencies for the optional features.
|
||||
|
||||
Notes on enabling EGL (ANGLE/D3D support) for Windows/Visual Studio builds
|
||||
---
|
||||
There is now support in the GL context creation code for Windows in GDK for
|
||||
creating and using EGL (OpenGL ES 3) contexts, which can be used instead of
|
||||
the existing OpenGL (Desktop) support, especially when the graphics drivers
|
||||
do not support OpenGL adequately.
|
||||
|
||||
This support is not enabled by default in the project files. In order to
|
||||
do so, please do the following:
|
||||
|
||||
* Obtain or compile a build of recent version of ANGLE. The one that comes
|
||||
with QT 5.10.x is sufficiently recent, but not the one that comes with
|
||||
QT-5.6.x. Note that Visual Studio 2013 or later is required for building
|
||||
ANGLE from QT-5.10.x, but the Visual Studio 2013-built ANGLE DLLs does
|
||||
work without problems with GTK+ built with Visual Studio 2008~2013.
|
||||
You may need to obtain `D3Dcompiler_[47|43|42].dll` if it does not come
|
||||
with the system (which is part of the DirectX runtimes). Visual Studio
|
||||
2015 or later can use ANGLE from QT 5.11.x or later, or from Google's
|
||||
GIT repos, which may require later version of Visual Studio to build.
|
||||
Its headers and .lib needs to be set to be found by the compiler and
|
||||
linker respectively before building libepoxy.
|
||||
|
||||
* Build libepoxy with EGL support, which has to be enabled explicitly on
|
||||
Windows builds. Pass in `-Degl=yes` when building libepoxy using Meson.
|
||||
Build and install, making sure the headers and .lib can be located by the
|
||||
compiler and linker respectively.
|
||||
|
||||
* Either:
|
||||
* Open the `vsX/gtk+.sln`, and open the project properties in the
|
||||
`gdk3-win32` project. Under "C/C++", add `GDK_WIN32_ENABLE_EGL` in
|
||||
the `Preprocessor Definitions` to the existing definitions in there
|
||||
for the configuration that is being built. Then build the solution.
|
||||
* Or:
|
||||
* Run in a Visual Studio command prompt:
|
||||
Go to `$(srcroot)\win32`, and run
|
||||
`nmake /f generate-msvc.mak regenerate-gdk-vsproj USE_EGL=1`.
|
||||
To undo that, run that command without `USE_EGL=1`. Python 3.x
|
||||
must be present in your `%PATH%` or passed in via
|
||||
`PYTHON=<path_to_python_interpreter>`. This will update all
|
||||
`gdk3-win32` projects (i.e. VS2008~2022).
|
||||
|
||||
* To force the use of the EGL code, set the envvar `GDK_GL=(...,)gles`,
|
||||
where `(...,)` are the other `GDK_GL` options desired.
|
||||
|
||||
Enabling the font tweaking features and the font features demo
|
||||
---
|
||||
The font tweaking features in the GTK DLL is enabled automatically if
|
||||
the Pango 1.44.0 and HarfBuzz 2.2.0 (or later) headers and libraries
|
||||
(and hence DLLs) are found during compile time. Check in
|
||||
`gtkfontchooserwidget.c` that the `#pragma comment(lib, "harfbuzz")` line
|
||||
to ensure that you have your HarfBuzz .lib file named as such, which
|
||||
is the default .lib name for HarfBuzz builds.
|
||||
|
||||
Alternatively, they can be manually enabled by running `nmake /f generate-msvc.mak regenerate-gtk-vsproj FONT_FEATURES_USE_PANGOFT2=1`
|
||||
meaning that PangoFT2 must be present, which depends on HarfBuzz,
|
||||
FontConfig and FreeType. You will then need to ensure the `gtk-3`
|
||||
projects have the correct .lib's of PangoFT2, HarfBuzz and FreeType
|
||||
in the `Additional Libraries` entry under the linker settings, as they
|
||||
assume the most common names are used there.
|
||||
|
||||
Please note that the font features demo is not built into gtk3-demo
|
||||
by default. To do that, run in a Visual Studio command prompt:
|
||||
|
||||
* Go to `$(srcroot)\win32`, and run
|
||||
`nmake /f generate-msvc.mak regenerate-demos-h-win32 FONT_FEATURES_DEMO=1`.
|
||||
To undo that, run that command without `FONT_FEATURES_DEMO=1`. Python 3.x
|
||||
must be present in your `%PATH%` or passed in via
|
||||
`PYTHON=<path_to_python_interpreter>`.
|
||||
|
||||
* If you are building the font features demo with the older PangoFT2-style
|
||||
(i.e. pre-Pango-1.44.x and pre-HarfBuzz-2.2.0) support, pass in
|
||||
`FONT_FEATURES_USE_PANGOFT2=1` in addition to `FONT_FEATURES_DEMO=1` in
|
||||
the NMake command line. The gtk3-demo project files will also be updated
|
||||
with the appropriate dependent libraries linked in-please check that the
|
||||
project settings contain the correct .lib file names for your system, as
|
||||
they assume the most common names are used there.
|
||||
|
||||
Building the translations
|
||||
---
|
||||
Building translations is supported via Meson builds or via the Visual
|
||||
Studio projects, both of which require a working `msgfmt.exe` (from
|
||||
`gettext-tools`, a part of gettext) in the `%PATH%`, or for the Visual
|
||||
Studio projects, passed into the arguments in `InstallBuildsBase`
|
||||
in `gtk3-build-defines.[props|vsprops]` with `MSGFMT=<path_to_msgfmt.exe>`.
|
||||
For the Visual Studio projects, for this to work one needs to also supply
|
||||
a `INSTALL_TRANSLATIONS=1` (without the quotes) argument to the same
|
||||
`InstallBuildsBase` in the afore-mentioned property sheet. Using
|
||||
`msgfmt.exe` from Cygwin or MSYS2 is supported as well.
|
@ -1,59 +0,0 @@
|
||||
# NMake Makefile portion for generating Visual Studio
|
||||
# projects and the other related items from a GIT checkout.
|
||||
# Items in here should not need to be edited unless
|
||||
# one is maintaining the NMake build files.
|
||||
|
||||
!ifndef PYTHON
|
||||
PYTHON=python
|
||||
!endif
|
||||
!ifndef PERL
|
||||
PERL=perl
|
||||
!endif
|
||||
|
||||
NMAKE_ARGS = PYTHON=$(PYTHON) PERL=$(PERL)
|
||||
!ifdef USE_EGL
|
||||
NMAKE_ARGS = $(NMAKE_ARGS) USE_EGL=$(USE_EGL)
|
||||
!endif
|
||||
!ifdef FONT_FEATURES_DEMO
|
||||
NMAKE_ARGS = $(NMAKE_ARGS) FONT_FEATURES_DEMO=$(FONT_FEATURES_DEMO)
|
||||
!endif
|
||||
!ifdef FONT_FEATURES_USE_PANGOFT2
|
||||
NMAKE_ARGS = $(NMAKE_ARGS) FONT_FEATURES_USE_PANGOFT2=$(FONT_FEATURES_USE_PANGOFT2)
|
||||
!endif
|
||||
|
||||
GENERATED_ITEMS = \
|
||||
config-msvc.mak \
|
||||
..\config.h.win32 \
|
||||
vs9\gtk3-version-paths.vsprops \
|
||||
vs1x-props\gtk3-version-paths.props
|
||||
|
||||
all: bootstrap-msvc-projects
|
||||
|
||||
config-msvc.mak: config-msvc.mak.in ..\configure.ac gen-version-items.py
|
||||
..\config.h.win32: ..\config.h.win32.in ..\configure.ac gen-version-items.py
|
||||
vs9\gtk3-version-paths.vsprops: vs9\gtk3-version-paths.vsprops.in ..\configure.ac gen-version-items.py
|
||||
vs1x-props\gtk3-version-paths.props: vs1x-props\gtk3-version-paths.props.in ..\configure.ac gen-version-items.py
|
||||
|
||||
config-msvc.mak \
|
||||
..\config.h.win32 \
|
||||
vs9\gtk3-version-paths.vsprops \
|
||||
vs1x-props\gtk3-version-paths.props:
|
||||
@echo Generating $@...
|
||||
@$(PYTHON) .\gen-version-items.py --source=$@.in -o=$@
|
||||
|
||||
bootstrap-msvc-projects: $(GENERATED_ITEMS)
|
||||
$(MAKE) /f generate-msvc.mak $(NMAKE_ARGS) generate-broadway-items regenerate-all-msvc-projs
|
||||
|
||||
clean:
|
||||
@-for %%v in (11 12 14 15 16 17) do @for %%x in (sln vcxproj vcxproj.filters) do @del vs%%v\*.%%x
|
||||
@for %%x in (vcxproj vcxproj.filters) do @for %%f in (vs10\*.%%x) do @if exist %%fin del %%f
|
||||
@for %%x in (vcxproj vcxproj.filters) do @for %%f in (vs10\*.%%x) do @if exist %%fin del %%f
|
||||
@for %%x in (vcproj) do @for %%f in (vs9\*.%%x) do @if exist %%fin del %%f
|
||||
@-del ..\gdk\broadway\broadwayjs.h ..\gdk\broadway\clienthtml.h
|
||||
@-del ..\config.h.win32 config-msvc.mak
|
||||
@-del vs9\gtk3-version-paths.vsprops
|
||||
@-del vs1x-props\gtk3-version-paths.props
|
||||
@-for %%v in (9 10 11 12 14 15 16 17) do for %%d in (Debug Release Debug_Broadway Release_Broadway .vs) do rmdir /s/q vs%%v\%%d
|
||||
@-rmdir /s/q __pycache__
|
||||
@-del ..\gdk-*-build
|
||||
@-for %%v in (9 10 11 12 14 15 16 17) do for %%f in (vs%%v\*.user vs%%v\gtk+.vc.db vs%%v\gtk+.suo) do del /f %%f
|
@ -1,136 +0,0 @@
|
||||
# NMake Makefile portion for enabling features for Windows builds
|
||||
|
||||
!include detectenv-msvc.mak
|
||||
|
||||
# Default prefix if not defined
|
||||
!ifndef PREFIX
|
||||
PREFIX=..\..\vs$(VSVER)\$(PLAT)
|
||||
!endif
|
||||
|
||||
# Configurable paths to the various interpreters we need
|
||||
!ifndef PERL
|
||||
PERL = perl
|
||||
!endif
|
||||
|
||||
!ifndef PYTHON
|
||||
PYTHON=python
|
||||
!endif
|
||||
|
||||
# Path to the pkg-config tool, if not already in the PATH
|
||||
!if "$(PKG_CONFIG)" == ""
|
||||
PKG_CONFIG=pkg-config
|
||||
!endif
|
||||
|
||||
# Configurable paths to the various scripts and tools that we are using
|
||||
!ifndef GLIB_MKENUMS
|
||||
GLIB_MKENUMS = $(PREFIX)\bin\glib-mkenums
|
||||
!endif
|
||||
|
||||
!ifndef GLIB_GENMARSHAL
|
||||
GLIB_GENMARSHAL = $(PREFIX)\bin\glib-genmarshal
|
||||
!endif
|
||||
|
||||
!ifndef GLIB_COMPILE_RESOURCES
|
||||
GLIB_COMPILE_RESOURCES = $(PREFIX)\bin\glib-compile-resources.exe
|
||||
!endif
|
||||
|
||||
!ifndef GDBUS_CODEGEN
|
||||
GDBUS_CODEGEN = $(PREFIX)\bin\gdbus-codegen
|
||||
!endif
|
||||
|
||||
!ifndef GLIB_COMPILE_SCHEMAS
|
||||
GLIB_COMPILE_SCHEMAS = $(PREFIX)\bin\glib-compile-schemas.exe
|
||||
!endif
|
||||
|
||||
!ifndef MSGFMT
|
||||
MSGFMT = msgfmt
|
||||
!endif
|
||||
|
||||
!ifndef INCLUDEDIR
|
||||
INCLUDEDIR=$(PREFIX)\include
|
||||
!endif
|
||||
|
||||
!ifndef LIBDIR
|
||||
LIBDIR=$(PREFIX)\lib
|
||||
!endif
|
||||
|
||||
!if "$(PLAT)" == "x64"
|
||||
AT_PLAT=x86_64
|
||||
!elseif "$(PLAT)" == "arm64"
|
||||
AT_PLAT=aarch64
|
||||
!elseif "$(PLAT)" == "Win32"
|
||||
AT_PLAT=i686
|
||||
!else
|
||||
AT_PLAT=unknown
|
||||
!endif
|
||||
|
||||
demo_sources = $(demos_base)
|
||||
more_demo_sources = \
|
||||
..\demos\gtk-demo\gtkfishbowl.c \
|
||||
..\demos\gtk-demo\main.c
|
||||
|
||||
!ifdef FONT_FEATURES_DEMO
|
||||
demo_sources = $(demo_sources) $(font_features_demo)
|
||||
!endif
|
||||
|
||||
# Please do not change anything beneath this line unless maintaining the NMake Makefiles
|
||||
GTK_INTERFACE_AGE = @GTK_INTERFACE_AGE@
|
||||
GTK_VERSION = @GTK_VERSION@
|
||||
|
||||
GDK_PREPROCESSOR_FLAGS = \
|
||||
/DG_LOG_USE_STRUCTURED=1 \
|
||||
/DGDK_COMPILATION \
|
||||
/I.. \
|
||||
/I..\gdk \
|
||||
/I..\gdk\win32
|
||||
|
||||
GTK_PREPROCESSOR_FLAGS = \
|
||||
/I.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk \
|
||||
/I..\gtk \
|
||||
/I.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk \
|
||||
/I..\gdk \
|
||||
/I..\gdk\win32 \
|
||||
/I.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3 \
|
||||
/I.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3 \
|
||||
/I.. \
|
||||
/I$(INCLUDEDIR)\gdk-pixbuf-2.0 \
|
||||
/I$(INCLUDEDIR)\pango-1.0 \
|
||||
/I$(INCLUDEDIR)\atk-1.0 \
|
||||
/I$(INCLUDEDIR)\harfbuzz \
|
||||
/I$(INCLUDEDIR)\cairo \
|
||||
/I$(INCLUDEDIR)\gio-win32-2.0 \
|
||||
/I$(INCLUDEDIR)\glib-2.0 \
|
||||
/I$(LIBDIR)\glib-2.0\include \
|
||||
/I$(INCLUDEDIR) \
|
||||
/DHAVE_CONFIG_H \
|
||||
/DG_DISABLE_SINGLE_INCLUDES \
|
||||
/DATK_DISABLE_SINGLE_INCLUDES \
|
||||
/DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES \
|
||||
/DGTK_DISABLE_SINGLE_INCLUDES \
|
||||
/D_USE_MATH_DEFINES \
|
||||
/DGTK_COMPILATION \
|
||||
/DG_LOG_DOMAIN=\"Gtk\" \
|
||||
/DGTK_HOST=\"$(AT_PLAT)-pc-vs$(VSVER)\" \
|
||||
/DGTK_PRINT_BACKENDS=\"file\" \
|
||||
/DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||
/DINCLUDE_IM_am_et \
|
||||
/DINCLUDE_IM_cedilla \
|
||||
/DINCLUDE_IM_cyrillic_translit \
|
||||
/DINCLUDE_IM_ime \
|
||||
/DINCLUDE_IM_inuktitut \
|
||||
/DINCLUDE_IM_ipa \
|
||||
/DINCLUDE_IM_multipress \
|
||||
/DINCLUDE_IM_thai \
|
||||
/DINCLUDE_IM_ti_er \
|
||||
/DINCLUDE_IM_ti_et \
|
||||
/DINCLUDE_IM_viqr \
|
||||
/DGTK_LIBDIR=\"$(PREFIX:\=/)/lib\" \
|
||||
/DGTK_DATADIR=\"$(PREFIX:\=/)/share\" \
|
||||
/DGTK_DATA_PREFIX=\"$(PREFIX:\=/)\" \
|
||||
/DGTK_SYSCONFDIR=\"$(PREFIX:\=/)/etc\" \
|
||||
/DMULTIPRESS_CONFDIR=\"$(PREFIX:\=/)/etc/gtk-3.0\" \
|
||||
/DMULTIPRESS_LOCALEDIR=\"$(PREFIX:\=/)/share/locale\" \
|
||||
/DGTK_VERSION=\"$(GTK_VERSION)\" \
|
||||
/DGTK_BINARY_VERSION=\"3.0.0\" \
|
||||
/DGDK_DISABLE_DEPRECATED \
|
||||
/DISOLATION_AWARE_ENABLED
|
@ -1,306 +0,0 @@
|
||||
# Convert the source listing to object (.obj) listing in
|
||||
# another NMake Makefile module, include it, and clean it up.
|
||||
# This is a "fact-of-life" regarding NMake Makefiles...
|
||||
# This file does not need to be changed unless one is maintaining the NMake Makefiles
|
||||
|
||||
# For those wanting to add things here:
|
||||
# To add a list, do the following:
|
||||
# # $(description_of_list)
|
||||
# if [call create-lists.bat header $(makefile_snippet_file) $(variable_name)]
|
||||
# endif
|
||||
#
|
||||
# if [call create-lists.bat file $(makefile_snippet_file) $(file_name)]
|
||||
# endif
|
||||
#
|
||||
# if [call create-lists.bat footer $(makefile_snippet_file)]
|
||||
# endif
|
||||
# ... (repeat the if [call ...] lines in the above order if needed)
|
||||
# !include $(makefile_snippet_file)
|
||||
#
|
||||
# (add the following after checking the entries in $(makefile_snippet_file) is correct)
|
||||
# (the batch script appends to $(makefile_snippet_file), you will need to clear the file unless the following line is added)
|
||||
#!if [del /f /q $(makefile_snippet_file)]
|
||||
#!endif
|
||||
|
||||
# In order to obtain the .obj filename that is needed for NMake Makefiles to build DLLs/static LIBs or EXEs, do the following
|
||||
# instead when doing 'if [call create-lists.bat file $(makefile_snippet_file) $(file_name)]'
|
||||
# (repeat if there are multiple $(srcext)'s in $(source_list), ignore any headers):
|
||||
# !if [for %c in ($(source_list)) do @if "%~xc" == ".$(srcext)" @call create-lists.bat file $(makefile_snippet_file) $(intdir)\%~nc.obj]
|
||||
#
|
||||
# $(intdir)\%~nc.obj needs to correspond to the rules added in build-rules-msvc.mak
|
||||
# %~xc gives the file extension of a given file, %c in this case, so if %c is a.cc, %~xc means .cc
|
||||
# %~nc gives the file name of a given file without extension, %c in this case, so if %c is a.cc, %~nc means a
|
||||
|
||||
NULL=
|
||||
|
||||
# For GDK public headers and sources
|
||||
!include ..\gdk\gdk-sources.inc
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_PUBLIC_HEADERS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gdk_public_h_sources) $(gdk_deprecated_h_sources)) do @call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ../gdk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gdk_c_sources)) do @call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ../gdk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
# For GDK-Win32 public headers and sources
|
||||
!include ..\gdk\win32\gdk-win32-sources.inc
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_WIN32_PUBLIC_HEADERS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(libgdkwin32include_HEADERS)) do @call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ../gdk/win32/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_WIN32_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(libgdk_win32_la_SOURCES)) do @if "%~xf" == ".c" call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ..\gdk\win32\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_WIN32_INTROSPECTION_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(w32_introspection_files)) do @call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ../gdk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
# For GDK-Broadway public headers
|
||||
!include ..\gdk\broadway\gdk-broadway-sources.inc
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak GDK_BROADWAY_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(GDK_BROADWAY_NON_GENERATED_SOURCES)) do @if "%~xf" == ".c" call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ..\gdk\broadway\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gdk_sources_msvc$(VSVER)_$(PLAT).mak BROADWAYD_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(broadwayd_SOURCES)) do @if "%~xf" == ".c" call create-lists.bat file gdk_sources_msvc$(VSVER)_$(PLAT).mak ..\gdk\broadway\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!include gdk_sources_msvc$(VSVER)_$(PLAT).mak
|
||||
|
||||
!if [del /f /q gdk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
# For GDK resources
|
||||
|
||||
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak GDK_RESOURCES]
|
||||
!endif
|
||||
|
||||
!if [for %f in (..\gdk\resources\glsl\*.glsl) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak GTK_RESOURCES]
|
||||
!endif
|
||||
|
||||
# For GTK public headers and sources
|
||||
!include ..\gtk\gtk-sources.inc
|
||||
!include ..\gtk\a11y\Makefile.inc
|
||||
!include ..\gtk\deprecated\Makefile.inc
|
||||
!include ..\gtk\inspector\Makefile.inc
|
||||
|
||||
# For the libgail-util public headers
|
||||
!include ..\libgail-util\libgail-util-sources.inc
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_PUBLIC_ENUM_HEADERS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(GTK_PUB_HDRS:.h=)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f.h]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(a11y_h_sources) $(gtk_deprecated_h_sources)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_PRIVATE_ENUM_HEADERS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(GTK_PRIVATE_TYPE_HDRS)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_SEMI_PRIVATE_HEADERS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gtk_semi_private_h_sources)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_MISC_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(a11y_c_sources) $(gtk_deprecated_c_sources) $(inspector_c_sources)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_C_SRCS_A_H]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gtk_base_c_sources_base_gtka_gtkh:.c=)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f.c]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_C_SRCS_I_W]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gtk_base_c_sources_base_gtki_gtkw:.c=)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f.c]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_OS_WIN32_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gtk_os_win32_c_sources)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ../gtk/%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [echo GTK_C_SRCS = ^$(GTK_MISC_C_SRCS) ^$(GTK_C_SRCS_A_H) ^$(GTK_C_SRCS_I_W) ^$(GTK_OS_WIN32_C_SRCS)>>gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GTK_MORE_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(gtk_use_win32_c_sources) $(gtk_clipboard_dnd_c_sources_generic)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ..\gtk\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header gtk_sources_msvc$(VSVER)_$(PLAT).mak GAILUTIL_C_SRCS]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(util_c_sources)) do @call create-lists.bat file gtk_sources_msvc$(VSVER)_$(PLAT).mak ..\libgail-util\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!include gtk_sources_msvc$(VSVER)_$(PLAT).mak
|
||||
|
||||
!if [del /f /q gtk_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
# For GTK resources
|
||||
|
||||
!if [for %f in ($(adwaita_theme_css_sources:/=\)) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak ..\gtk\%f]
|
||||
!endif
|
||||
|
||||
!if [for %x in (png svg) do @(for %f in (..\gtk\theme\Adwaita\assets\*.%x) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f)]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(highcontrast_theme_css_sources:/=\)) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak ..\gtk\%f]
|
||||
!endif
|
||||
|
||||
!if [for %x in (png svg) do @(for %f in (..\gtk\theme\HighContrast\assets\*.%x) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f)]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(win32_theme_css_sources:/=\)) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak ..\gtk\%f]
|
||||
!endif
|
||||
|
||||
!if [for %f in (..\gtk\cursor\*.png ..\gtk\gesture\*.symbolic.png ..\gtk\ui\*.ui) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [for %s in (16 22 24 32 48) do @(for %c in (actions status categories) do @(for %f in (..\gtk\icons\%sx%s\%c\*.png) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f))]
|
||||
!endif
|
||||
|
||||
!if [for %s in (scalable) do @(for %c in (status) do @(for %f in (..\gtk\icons\%s\%c\*.svg) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f))]
|
||||
!endif
|
||||
|
||||
!if [for %f in (..\gtk\inspector\*.ui ..\gtk\inspector\logo.png ..\gtk\emoji\*.data) do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
# For gtk demo program resources
|
||||
|
||||
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak GTK_DEMO_RESOURCES]
|
||||
!endif
|
||||
|
||||
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=..\demos\gtk-demo ..\demos\gtk-demo\demo.gresource.xml') do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak ICON_BROWSER_RESOURCES]
|
||||
!endif
|
||||
|
||||
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --sourcedir=..\demos\icon-browser --generate-dependencies ..\demos\icon-browser\iconbrowser.gresource.xml') do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header resource_sources_msvc$(VSVER)_$(PLAT).mak WIDGET_FACTORY_RESOURCES]
|
||||
!endif
|
||||
|
||||
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --sourcedir=..\demos\widget-factory --generate-dependencies ..\demos\widget-factory\widget-factory.gresource.xml') do @call create-lists.bat file resource_sources_msvc$(VSVER)_$(PLAT).mak %f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!include resource_sources_msvc$(VSVER)_$(PLAT).mak
|
||||
|
||||
!if [del /f /q resource_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat header demo_sources_msvc$(VSVER)_$(PLAT).mak demo_actual_sources]
|
||||
!endif
|
||||
|
||||
!if [for %f in ($(demo_sources)) do @call create-lists.bat file demo_sources_msvc$(VSVER)_$(PLAT).mak ..\demos\gtk-demo\%f]
|
||||
!endif
|
||||
|
||||
!if [call create-lists.bat footer demo_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
||||
|
||||
!include demo_sources_msvc$(VSVER)_$(PLAT).mak
|
||||
|
||||
!if [del /f /q demo_sources_msvc$(VSVER)_$(PLAT).mak]
|
||||
!endif
|
@ -1,42 +0,0 @@
|
||||
@echo off
|
||||
rem Simple .bat script for creating the NMake Makefile snippets.
|
||||
|
||||
if not "%1" == "header" if not "%1" == "file" if not "%1" == "footer" goto :error_cmd
|
||||
if "%2" == "" goto error_no_destfile
|
||||
|
||||
if "%1" == "header" goto :header
|
||||
if "%1" == "file" goto :addfile
|
||||
if "%1" == "footer" goto :footer
|
||||
|
||||
:header
|
||||
if "%3" == "" goto error_var
|
||||
echo %3 = \>>%2
|
||||
goto done
|
||||
|
||||
:addfile
|
||||
if "%3" == "" goto error_file
|
||||
echo. %3 \>>%2
|
||||
goto done
|
||||
|
||||
:footer
|
||||
echo. $(NULL)>>%2
|
||||
echo.>>%2
|
||||
goto done
|
||||
|
||||
:error_cmd
|
||||
echo Specified command '%1' was invalid. Valid commands are: header file footer.
|
||||
goto done
|
||||
|
||||
:error_no_destfile
|
||||
echo Destination NMake snippet file must be specified
|
||||
goto done
|
||||
|
||||
:error_var
|
||||
echo A name must be specified for using '%1'.
|
||||
goto done
|
||||
|
||||
:error_file
|
||||
echo A file must be specified for using '%1'.
|
||||
goto done
|
||||
|
||||
:done
|
@ -1,86 +0,0 @@
|
||||
# Common NMake Makefile module for checking the build environment
|
||||
# This can be copied from $(glib_srcroot)\build\win32 for GNOME items
|
||||
# that support MSVC builds and introspection under MSVC, and can be used
|
||||
# for building test programs as well.
|
||||
|
||||
# Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
|
||||
# VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
|
||||
!if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
|
||||
MSG = ^
|
||||
This Makefile is only for Visual Studio 2008 and later.^
|
||||
You need to ensure that the Visual Studio Environment is properly set up^
|
||||
before running this Makefile.
|
||||
!error $(MSG)
|
||||
!endif
|
||||
|
||||
ERRNUL = 2>NUL
|
||||
_HASH=^#
|
||||
|
||||
!if ![echo VCVERSION=_MSC_VER > vercl.x] \
|
||||
&& ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
|
||||
&& ![echo PLAT=Win32 >> vercl.x] \
|
||||
&& ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
|
||||
&& ![echo PLAT=x64 >> vercl.x] \
|
||||
&& ![echo $(_HASH)elif defined(_M_ARM64) >> vercl.x] \
|
||||
&& ![echo PLAT=arm64 >> vercl.x] \
|
||||
&& ![echo $(_HASH)endif >> vercl.x] \
|
||||
&& ![cl -nologo -TC -P vercl.x $(ERRNUL)]
|
||||
!include vercl.i
|
||||
!if ![echo VCVER= ^\> vercl.vc] \
|
||||
&& ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
|
||||
!include vercl.vc
|
||||
!endif
|
||||
!endif
|
||||
!if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
|
||||
!endif
|
||||
|
||||
!if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
|
||||
VSVER = 9
|
||||
!elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
|
||||
VSVER = 10
|
||||
!elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
|
||||
VSVER = 11
|
||||
!elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
|
||||
VSVER = 12
|
||||
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
|
||||
VSVER = 14
|
||||
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
|
||||
VSVER = 15
|
||||
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 1930
|
||||
VSVER = 16
|
||||
!elseif $(VCVERSION) > 1929 && $(VCVERSION) < 2000
|
||||
VSVER = 17
|
||||
!else
|
||||
VSVER = 0
|
||||
!endif
|
||||
|
||||
!if "$(VSVER)" == "0"
|
||||
MSG = ^
|
||||
This NMake Makefile set supports Visual Studio^
|
||||
9 (2008) through 17 (2022). Your Visual Studio^
|
||||
version is not supported.
|
||||
!error $(MSG)
|
||||
!endif
|
||||
|
||||
VALID_CFGSET = FALSE
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
|
||||
VALID_CFGSET = TRUE
|
||||
!endif
|
||||
|
||||
# We want debugging symbols logged for all builds,
|
||||
# using .pdb files for release builds
|
||||
CFLAGS_BASE = /Zi
|
||||
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "Release"
|
||||
CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
|
||||
!else
|
||||
CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
|
||||
!endif
|
||||
|
||||
!if "$(PLAT)" == "x64"
|
||||
LDFLAGS_ARCH = /machine:x64
|
||||
!elseif "$(PLAT)" == "arm64"
|
||||
LDFLAGS_ARCH = /machine:arm64
|
||||
!else
|
||||
LDFLAGS_ARCH = /machine:x86
|
||||
!endif
|
@ -1,79 +0,0 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Generate various items with version info
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: July 25, 2019
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
from replace import replace_multi, replace
|
||||
|
||||
def get_srcroot():
|
||||
if not os.path.isabs(__file__):
|
||||
path = os.path.abspath(__file__)
|
||||
else:
|
||||
path = __file__
|
||||
dirname = os.path.dirname(path)
|
||||
return os.path.abspath(os.path.join(dirname, '..'))
|
||||
|
||||
def get_version(srcroot):
|
||||
ver = {}
|
||||
RE_VERSION = re.compile(r'^m4_define\(\[(gtk_\w+)\],\s*\[(\d+)\]\)')
|
||||
with open(os.path.join(srcroot, 'configure.ac'), 'r') as ac:
|
||||
for i in ac:
|
||||
mo = RE_VERSION.search(i)
|
||||
if mo:
|
||||
ver[mo.group(1).upper()] = int(mo.group(2))
|
||||
ver['GTK_VERSION'] = '%d.%d.%d' % (ver['GTK_MAJOR_VERSION'],
|
||||
ver['GTK_MINOR_VERSION'],
|
||||
ver['GTK_MICRO_VERSION'])
|
||||
return ver
|
||||
|
||||
def main(argv):
|
||||
srcdir = os.path.dirname(__file__)
|
||||
top_srcdir = os.path.join(srcdir, os.pardir)
|
||||
parser = argparse.ArgumentParser(description='Generate various items with version info')
|
||||
parser.add_argument('--version', help='Version of the package')
|
||||
parser.add_argument('--interface-age', help='Interface age of the package')
|
||||
parser.add_argument('--source', help='Source file template to process',
|
||||
required=True)
|
||||
parser.add_argument('--output', '-o', help='Output generated file location',
|
||||
required=True)
|
||||
args = parser.parse_args()
|
||||
version_info = get_version(get_srcroot())
|
||||
|
||||
# If version and/or interface-age were specified, use them,
|
||||
# otherwise use the info we have from configure.ac.
|
||||
if args.version is not None:
|
||||
gtk_version = args.version
|
||||
else:
|
||||
gtk_version = version_info['GTK_VERSION']
|
||||
if args.interface_age is not None:
|
||||
interface_age = args.interface_age
|
||||
else:
|
||||
interface_age = version_info['GTK_INTERFACE_AGE']
|
||||
|
||||
version_parts = gtk_version.split('.')
|
||||
# (100 * gtk_minor_version + gtk_micro_version - gtk_interface_age)
|
||||
binary_age = (int(version_parts[1]) * 100) + int(version_parts[2])
|
||||
lt_current = (int(version_parts[1]) * 100) + int(version_parts[2]) - int(interface_age)
|
||||
lt_age = binary_age - int(interface_age)
|
||||
|
||||
version_info_replace_items = {'@GTK_MAJOR_VERSION@': version_parts[0],
|
||||
'@GTK_MINOR_VERSION@': version_parts[1],
|
||||
'@GTK_MICRO_VERSION@': version_parts[2],
|
||||
'@GTK_API_VERSION@': '3.0',
|
||||
'@GTK_VERSION@': gtk_version,
|
||||
'@GTK_BINARY_AGE@': str(binary_age),
|
||||
'@GTK_INTERFACE_AGE@': str(interface_age),
|
||||
'@GETTEXT_PACKAGE@': 'gtk30',
|
||||
'@LT_CURRENT_MINUS_AGE@': str(lt_current - lt_age)}
|
||||
|
||||
replace_multi(args.source, args.output, version_info_replace_items)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
@ -1,388 +0,0 @@
|
||||
# NMake Makefile portion for code generation and
|
||||
# intermediate build directory creation
|
||||
# Items in here should not need to be edited unless
|
||||
# one is maintaining the NMake build files.
|
||||
|
||||
!include config-msvc.mak
|
||||
!include ../demos/gtk-demo/demos-sources.mak
|
||||
!include create-lists-msvc.mak
|
||||
!include generate-msvcprojs.mak
|
||||
|
||||
# Copy the pre-defined gdkconfig.h.[win32|win32_broadway]
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "Release"
|
||||
GDK_OLD_CFG = debug
|
||||
!else
|
||||
GDK_OLD_CFG = release
|
||||
!endif
|
||||
|
||||
!ifdef BROADWAY
|
||||
GDK_CONFIG = broadway
|
||||
GDK_DEL_CONFIG = win32
|
||||
GDK_CONFIG_TEMPLATE = ..\gdk\gdkconfig.h.win32_broadway
|
||||
!else
|
||||
GDK_CONFIG = win32
|
||||
GDK_DEL_CONFIG = broadway
|
||||
GDK_CONFIG_TEMPLATE = ..\gdk\gdkconfig.h.win32
|
||||
!endif
|
||||
|
||||
GDK_MARSHALERS_FLAGS = --prefix=_gdk_marshal --valist-marshallers
|
||||
GDK_RESOURCES_ARGS = --target=$@ --sourcedir=..\gdk --c-name _gdk --manual-register
|
||||
GTK_MARSHALERS_FLAGS = --prefix=_gtk_marshal --valist-marshallers
|
||||
GTK_RESOURCES_ARGS = --target=$@ --sourcedir=..\gtk --c-name _gtk --manual-register
|
||||
|
||||
GDK_GENERATED_SOURCES = \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkconfig.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkversionmacros.h
|
||||
|
||||
GTK_VERSION_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkversion.h
|
||||
|
||||
GTK_TYPEBUILTIN_SOURCES = \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.c
|
||||
|
||||
GTK_GENERATED_SOURCES = \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypefuncs.inc \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.c \
|
||||
$(GTK_TYPEBUILTIN_SOURCES) \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.c \
|
||||
$(GTK_VERSION_H)
|
||||
|
||||
EMOJI_GRESOURCE_XML = \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\de.gresource.xml \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\es.gresource.xml \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\fr.gresource.xml \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\zh.gresource.xml
|
||||
|
||||
EMOJI_GRESOURCE = $(EMOJI_GRESOURCE_XML:.gresource.xml=.gresource)
|
||||
|
||||
generate-base-sources: \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\config.h \
|
||||
$(GDK_GENERATED_SOURCES) \
|
||||
$(GTK_GENERATED_SOURCES) \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.rc \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk-win32.rc \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\libgtk3.manifest \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk.gresource.xml \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demos.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demo_resources.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-icon-browser\resources.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-widget-factory\widget_factory_resources.c \
|
||||
$(EMOJI_GRESOURCE)
|
||||
|
||||
# Copy the pre-defined config.h.win32 and demos.h.win32
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\config.h: ..\config.h.win32
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demos.h: ..\demos\gtk-demo\demos.h.win32
|
||||
|
||||
# Generate the versioned headers and resource scripts (*.rc)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkversionmacros.h: ..\gdk\gdkversionmacros.h.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkversion.h: ..\gtk\gtkversion.h.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.rc: ..\gdk\win32\rc\gdk.rc.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk-win32.rc: ..\gtk\gtk-win32.rc.body.in
|
||||
|
||||
..\gdk-$(CFG)-$(GDK_CONFIG)-build: $(GDK_CONFIG_TEMPLATE)
|
||||
@if exist ..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build del ..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build
|
||||
@if exist ..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build del ..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build
|
||||
@if exist ..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build del ..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build
|
||||
@copy $** $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkconfig.h: ..\gdk-$(CFG)-$(GDK_CONFIG)-build
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\config.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkconfig.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demos.h:
|
||||
@echo Copying $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@copy $** $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.c: ..\gdk\gdkenumtypes.c.template $(GDK_PUBLIC_HEADERS)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.h: ..\gdk\gdkenumtypes.h.template $(GDK_PUBLIC_HEADERS)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.c: ..\gtk\gtktypebuiltins.c.template $(GTK_PUBLIC_ENUM_HEADERS)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.h: ..\gtk\gtktypebuiltins.h.template $(GTK_PUBLIC_ENUM_HEADERS)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.c: ..\gtk\gtkprivatetypebuiltins.c.template $(GTK_PRIVATE_ENUM_HEADERS)
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.h: ..\gtk\gtkprivatetypebuiltins.h.template $(GTK_PRIVATE_ENUM_HEADERS)
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.h:
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@cd ..\gdk
|
||||
@$(PYTHON) $(GLIB_MKENUMS) --template $(@F).template $(gdk_public_h_sources) $(gdk_deprecated_h_sources) > ..\win32\$@
|
||||
@cd ..\win32
|
||||
|
||||
# Generate the private headers needed for broadway-server.c
|
||||
generate-broadway-items: ..\gdk\broadway\clienthtml.h ..\gdk\broadway\broadwayjs.h
|
||||
|
||||
..\gdk\broadway\clienthtml.h: ..\gdk\broadway\client.html
|
||||
@echo Generating $@...
|
||||
@$(PERL) ..\gdk\broadway\toarray.pl client_html $**>$@
|
||||
|
||||
..\gdk\broadway\broadwayjs.h: \
|
||||
..\gdk\broadway\broadway.js \
|
||||
..\gdk\broadway\rawinflate.min.js
|
||||
@echo Generating $@...
|
||||
@$(PERL) ..\gdk\broadway\toarray.pl broadway_js $**>$@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.c:
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@cd ..\gtk
|
||||
@$(PYTHON) $(GLIB_MKENUMS) --template $(@F).template $(GTK_PUB_HDRS) $(a11y_h_sources) $(gtk_deprecated_h_sources) > ..\win32\$@
|
||||
@cd ..\win32
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.c \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.h:
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@cd ..\gtk
|
||||
@$(PYTHON) $(GLIB_MKENUMS) --template $(@F).template $(GTK_PRIVATE_TYPE_HDRS) > ..\win32\$@
|
||||
@cd ..\win32
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkversionmacros.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkversion.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.rc \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk-win32.rc:
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(PYTHON) gen-version-items.py --version=$(GTK_VERSION) --interface-age=$(GTK_INTERFACE_AGE) --source=$** --output=$@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.h: ..\gdk\gdkmarshalers.list
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(PYTHON) $(GLIB_GENMARSHAL) $(GDK_MARSHALERS_FLAGS) --header $** > $@.tmp
|
||||
@move $@.tmp $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.c: ..\gdk\gdkmarshalers.list
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(PYTHON) $(GLIB_GENMARSHAL) $(GDK_MARSHALERS_FLAGS) --body $** > $@.tmp
|
||||
@move $@.tmp $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.gresource.xml: $(GDK_RESOURCES)
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@echo ^<?xml version='1.0' encoding='UTF-8'?^> >$@
|
||||
@echo ^<gresources^> >> $@
|
||||
@echo ^<gresource prefix='/org/gtk/libgdk'^> >> $@
|
||||
@for %%f in (..\gdk\resources\glsl\*.glsl) do @echo ^<file alias='glsl/%%~nxf'^>resources/glsl/%%~nxf^</file^> >> $@
|
||||
@echo ^</gresource^> >> $@
|
||||
@echo ^</gresources^> >> $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.h: .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.gresource.xml
|
||||
@echo Generating $@...
|
||||
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||
@start /min $(GLIB_COMPILE_RESOURCES) $** $(GDK_RESOURCES_ARGS) --generate-header
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.c: .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.gresource.xml
|
||||
@echo Generating $@...
|
||||
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||
@start /min $(GLIB_COMPILE_RESOURCES) $** $(GDK_RESOURCES_ARGS) --generate-source
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\libgtk3.manifest: ..\gtk\libgtk3.manifest.in
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(PYTHON) replace.py \
|
||||
--action=replace-var \
|
||||
--input=$** --output=$@ \
|
||||
--var=EXE_MANIFEST_ARCHITECTURE \
|
||||
--outstring=*
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.h: ..\gtk\gtkdbusinterfaces.xml
|
||||
@echo Generating GTK DBus sources...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(PYTHON) $(GDBUS_CODEGEN) \
|
||||
--interface-prefix org.Gtk. --c-namespace _Gtk \
|
||||
--generate-c-code gtkdbusgenerated $** \
|
||||
--output-directory $(@D)
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.c: .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.h
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypefuncs.inc: \
|
||||
..\gtk\gentypefuncs.py \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkversion.h \
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.h
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@echo #undef GTK_COMPILATION > $(@R).preproc.c
|
||||
@echo #include "gtkx.h" >> $(@R).preproc.c
|
||||
@cl /EP $(GTK_PREPROCESSOR_FLAGS) $(@R).preproc.c > $(@R).combined.c
|
||||
@$(PYTHON) ..\gtk\gentypefuncs.py $@ $(@R).combined.c
|
||||
@del $(@R).preproc.c $(@R).combined.c
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk.gresource.xml: $(GTK_RESOURCES)
|
||||
@echo Generating $@...
|
||||
@echo ^<?xml version='1.0' encoding='UTF-8'?^>> $@
|
||||
@echo ^<gresources^>>> $@
|
||||
@echo ^<gresource prefix='/org/gtk/libgtk'^>>> $@
|
||||
@echo ^<file^>theme/Adwaita/gtk.css^</file^>>> $@
|
||||
@echo ^<file^>theme/Adwaita/gtk-dark.css^</file^>>> $@
|
||||
@echo ^<file^>theme/Adwaita/gtk-contained.css^</file^>>> $@
|
||||
@echo ^<file^>theme/Adwaita/gtk-contained-dark.css^</file^>>> $@
|
||||
@for %%f in (..\gtk\theme\Adwaita\assets\*.png) do @echo ^<file preprocess='to-pixdata'^>theme/Adwaita/assets/%%~nxf^</file^>>> $@
|
||||
@for %%f in (..\gtk\theme\Adwaita\assets\*.svg) do @echo ^<file^>theme/Adwaita/assets/%%~nxf^</file^>>> $@
|
||||
@echo ^<file^>theme/HighContrast/gtk.css^</file^>>> $@
|
||||
@echo ^<file alias='theme/HighContrastInverse/gtk.css'^>theme/HighContrast/gtk-inverse.css^</file^>>> $@
|
||||
@echo ^<file^>theme/HighContrast/gtk-contained.css^</file^>>> $@
|
||||
@echo ^<file^>theme/HighContrast/gtk-contained-inverse.css^</file^>>> $@
|
||||
@for %%f in (..\gtk\theme\HighContrast\assets\*.png) do @echo ^<file preprocess='to-pixdata'^>theme/HighContrast/assets/%%~nxf^</file^>>> $@
|
||||
@for %%f in (..\gtk\theme\HighContrast\assets\*.svg) do @echo ^<file^>theme/HighContrast/assets/%%~nxf^</file^>>> $@
|
||||
@echo ^<file^>theme/win32/gtk-win32-base.css^</file^>>> $@
|
||||
@echo ^<file^>theme/win32/gtk.css^</file^>>> $@
|
||||
@for %%f in (..\gtk\cursor\*.png) do @echo ^<file^>cursor/%%~nxf^</file^>>> $@
|
||||
@for %%f in (..\gtk\gesture\*.symbolic.png) do @echo ^<file alias='icons/64x64/actions/%%~nxf'^>gesture/%%~nxf^</file^>>> $@
|
||||
@for %%f in (..\gtk\ui\*.ui) do @echo ^<file preprocess='xml-stripblanks'^>ui/%%~nxf^</file^>>> $@
|
||||
@for %%s in (16 22 24 32 48) do @(for %%c in (actions status categories) do @(for %%f in (..\gtk\icons\%%sx%%s\%%c\*.png) do @echo ^<file^>icons/%%sx%%s/%%c/%%~nxf^</file^>>> $@))
|
||||
@for %%s in (scalable) do @(for %%c in (status) do @(for %%f in (..\gtk\icons\%%s\%%c\*.svg) do @echo ^<file^>icons/%%s/%%c/%%~nxf^</file^>>> $@))
|
||||
@for %%f in (..\gtk\inspector\*.ui) do @echo ^<file compressed='true' preprocess='xml-stripblanks'^>inspector/%%~nxf^</file^>>> $@
|
||||
@echo ^<file^>inspector/logo.png^</file^>>> $@
|
||||
@for %%f in (..\gtk\emoji\*.data) do @echo ^<file^>emoji/%%~nxf^</file^>>> $@
|
||||
@echo ^</gresource^>>> $@
|
||||
@echo ^</gresources^>>> $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.h: .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk.gresource.xml
|
||||
@echo Generating $@...
|
||||
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||
@start /min $(GLIB_COMPILE_RESOURCES) $(GTK_RESOURCES_ARGS) $** --generate-header
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.c: .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk.gresource.xml
|
||||
@echo Generating $@...
|
||||
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||
@start /min $(GLIB_COMPILE_RESOURCES) $(GTK_RESOURCES_ARGS) $** --generate-source
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.h: ..\gtk\gtkmarshalers.list
|
||||
@echo Generating $@...
|
||||
@$(PYTHON) $(GLIB_GENMARSHAL) $(GTK_MARSHALERS_FLAGS) --header $** > $@.tmp
|
||||
@move $@.tmp $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.c: ..\gtk\gtkmarshalers.list
|
||||
@echo Generating $@...
|
||||
@echo #undef G_ENABLE_DEBUG> $@.tmp
|
||||
@$(PYTHON) $(GLIB_GENMARSHAL) $(GTK_MARSHALERS_FLAGS) --body $** >> $@.tmp
|
||||
@move $@.tmp $@
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demo_resources.c: ..\demos\gtk-demo\demo.gresource.xml $(GTK_DEMO_RESOURCES)
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=..\demos\gtk-demo \
|
||||
--generate-source ..\demos\gtk-demo\demo.gresource.xml
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-icon-browser\resources.c: ..\demos\icon-browser\iconbrowser.gresource.xml $(ICON_BROWSER_RESOURCES)
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=..\demos\icon-browser \
|
||||
--generate-source ..\demos\icon-browser\iconbrowser.gresource.xml
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-widget-factory\widget_factory_resources.c: \
|
||||
..\demos\icon-browser\iconbrowser.gresource.xml $(WIDGET_FACTORY_RESOURCES)
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ md $(@D)
|
||||
@$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=..\demos\widget-factory \
|
||||
--generate-source ..\demos\widget-factory\widget-factory.gresource.xml
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\de.gresource.xml: ..\gtk\emoji\gresource.xml.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\es.gresource.xml: ..\gtk\emoji\gresource.xml.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\fr.gresource.xml: ..\gtk\emoji\gresource.xml.in
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\zh.gresource.xml: ..\gtk\emoji\gresource.xml.in
|
||||
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\de.gresource: .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\de.gresource.xml ..\gtk\emoji\de.data
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\es.gresource: .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\es.gresource.xml ..\gtk\emoji\es.data
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\fr.gresource: .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\fr.gresource.xml ..\gtk\emoji\fr.data
|
||||
.\vs$(VSVER)\$(CFG)\$(PLAT)\bin\zh.gresource: .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\zh.gresource.xml ..\gtk\emoji\zh.data
|
||||
|
||||
$(EMOJI_GRESOURCE_XML):
|
||||
@echo Generating $@...
|
||||
@if not exist $(@D)\ mkdir $(@D)
|
||||
@$(PYTHON) replace.py -i=$** -o=$@ --action=replace-var --var=lang --outstring=$(@B:.gresource=)
|
||||
|
||||
$(EMOJI_GRESOURCE):
|
||||
@echo Generating $@...
|
||||
@$(GLIB_COMPILE_RESOURCES) --sourcedir=..\gtk\emoji $@.xml --target=$@
|
||||
|
||||
regenerate-demos-h-win32: ..\demos\gtk-demo\geninclude.py $(demo_actual_sources) regenerate-demos-h-win32-msg $(GTK3_DEMO_VCPROJS)
|
||||
@-del ..\demos\gtk-demo\demos.h.win32
|
||||
@cd ..\demos\gtk-demo
|
||||
@$(PYTHON) geninclude.py demos.h.win32 $(demo_sources)
|
||||
@cd ..\..\win32
|
||||
|
||||
..\po\gtk30.pot: ..\gtk\gtkbuilder.its
|
||||
$(XGETTEXT) --default-domain="$(@B)" \
|
||||
--copyright-holder="GTK+ Team and others. See AUTHORS" \
|
||||
--package-name="gtk+" \
|
||||
--package-version="$(GTK_VERSION)" \
|
||||
--msgid-bugs-address="https://gitlab.gnome.org/GNOME/gtk/-/issues/" \
|
||||
--directory=".." \
|
||||
--add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=_ --keyword=N_ \
|
||||
--keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments \
|
||||
--files-from="$(@D:\=/)/POTFILES.in" --output=$(@F)
|
||||
@move $(@F) $@
|
||||
|
||||
..\po-properties\gtk30-properties.pot:
|
||||
$(XGETTEXT) --default-domain="$(@B)" \
|
||||
--copyright-holder="GTK+ Team and others. See AUTHORS" \
|
||||
--package-name="gtk+" \
|
||||
--package-version="$(GTK_VERSION)" \
|
||||
--msgid-bugs-address="https://gitlab.gnome.org/GNOME/gtk/-/issues/" \
|
||||
--directory=".." \
|
||||
--from-code=UTF-8 --keyword --keyword=P_ --add-comments \
|
||||
--files-from="$(@D:\=/)/POTFILES.in"
|
||||
@move $(@B).po $@
|
||||
|
||||
# Remove the generated files
|
||||
clean:
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\*.gresource
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\bin\*.gresource.xml
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-icon-browser\resources.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demo_resources.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk3-demo\demos.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypebuiltins.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkprivatetypebuiltins.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkversion.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkresources.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkmarshalers.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk.gresource.xml
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtktypefuncs.inc
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtkdbusgenerated.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\libgtk3.manifest
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk\gtk-win32.rc
|
||||
@-rd .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\gtk
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkenumtypes.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkresources.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.gresource.xml
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.c
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkmarshalers.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdk.rc
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkversionmacros.h
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk\gdkconfig.h
|
||||
@if exist ..\gdk-$(CFG)-$(GDK_CONFIG)-build del ..\gdk-$(CFG)-$(GDK_CONFIG)-build
|
||||
@if exist ..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build del ..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build
|
||||
@if exist ..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build del ..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build
|
||||
@if exist ..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build del ..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build
|
||||
@-del /f /q .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\config.h
|
||||
@-rd .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\gdk
|
@ -1,616 +0,0 @@
|
||||
# NMake Makefile portion for (re-)generating Visual Studio
|
||||
# projects. Items in here should not need to be edited unless
|
||||
# one is maintaining the NMake build files.
|
||||
|
||||
|
||||
GTK3_VS10_STATIC_PROJS = \
|
||||
vs10\gtk+.sln \
|
||||
vs10\gtk-builder-tool.vcxproj \
|
||||
vs10\gtk-encode-symbolic-svg.vcxproj \
|
||||
vs10\gtk-query-settings.vcxproj \
|
||||
vs10\gtk-update-icon-cache.vcxproj \
|
||||
vs10\gtk3-demo-application.vcxproj \
|
||||
vs10\gtk3-icon-browser.vcxproj \
|
||||
vs10\gtk3-install.vcxproj \
|
||||
vs10\gtk3-introspect.vcxproj \
|
||||
vs10\gtk3-prebuild.vcxproj \
|
||||
vs10\gtk3-widget-factory.vcxproj \
|
||||
vs10\gtk-builder-tool.vcxproj.filters \
|
||||
vs10\gtk-encode-symbolic-svg.vcxproj.filters \
|
||||
vs10\gtk-query-settings.vcxproj.filters \
|
||||
vs10\gtk-update-icon-cache.vcxproj.filters \
|
||||
vs10\gtk3-demo-application.vcxproj.filters \
|
||||
vs10\gtk3-icon-browser.vcxproj.filters \
|
||||
vs10\gtk3-widget-factory.vcxproj.filters
|
||||
|
||||
GTK3_VS11_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs11\)
|
||||
GTK3_VS12_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs12\)
|
||||
GTK3_VS14_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs14\)
|
||||
GTK3_VS15_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs15\)
|
||||
GTK3_VS16_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs16\)
|
||||
GTK3_VS17_STATIC_PROJS = $(GTK3_VS10_STATIC_PROJS:vs10\=vs17\)
|
||||
|
||||
GDK_VS9_PROJ = gdk-3.vcproj
|
||||
GDKWIN32_VS9_PROJ = gdk3-win32.vcproj
|
||||
GDKBROADWAY_VS9_PROJ = $(GDKWIN32_VS9_PROJ:-win32=-broadway)
|
||||
GTK_VS9_PROJ = gtk-3.vcproj
|
||||
GAILUTIL_VS9_PROJ = gailutil-3.vcproj
|
||||
BROADWAYD_VS9_PROJ = broadwayd.vcproj
|
||||
DEMO_VS9_PROJ = gtk3-demo.vcproj
|
||||
|
||||
GDK_VS1X_PROJ = $(GDK_VS9_PROJ:.vcproj=.vcxproj)
|
||||
GDKWIN32_VS1X_PROJ = $(GDKWIN32_VS9_PROJ:.vcproj=.vcxproj)
|
||||
GDKBROADWAY_VS1X_PROJ = $(GDKBROADWAY_VS9_PROJ:.vcproj=.vcxproj)
|
||||
GTK_VS1X_PROJ = $(GTK_VS9_PROJ:.vcproj=.vcxproj)
|
||||
GAILUTIL_VS1X_PROJ = $(GAILUTIL_VS9_PROJ:.vcproj=.vcxproj)
|
||||
BROADWAYD_VS1X_PROJ = $(BROADWAYD_VS9_PROJ:.vcproj=.vcxproj)
|
||||
DEMO_VS1X_PROJ = $(DEMO_VS9_PROJ:.vcproj=.vcxproj)
|
||||
|
||||
GDK_VS1X_PROJ_FILTERS = $(GDK_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
GDKWIN32_VS1X_PROJ_FILTERS = $(GDKWIN32_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
GDKBROADWAY_VS1X_PROJ_FILTERS = $(GDKBROADWAY_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
GTK_VS1X_PROJ_FILTERS = $(GTK_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
GAILUTIL_VS1X_PROJ_FILTERS = $(GAILUTIL_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
BROADWAYD_VS1X_PROJ_FILTERS = $(BROADWAYD_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
DEMO_VS1X_PROJ_FILTERS = $(DEMO_VS9_PROJ:.vcproj=.vcxproj.filters)
|
||||
|
||||
GTK3_GDK_VC1X_PROJS = \
|
||||
vs10\$(GDK_VS1X_PROJ) \
|
||||
vs11\$(GDK_VS1X_PROJ) \
|
||||
vs12\$(GDK_VS1X_PROJ) \
|
||||
vs14\$(GDK_VS1X_PROJ) \
|
||||
vs15\$(GDK_VS1X_PROJ) \
|
||||
vs16\$(GDK_VS1X_PROJ) \
|
||||
vs17\$(GDK_VS1X_PROJ)
|
||||
|
||||
GTK3_GDK_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(GDK_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GDK_WIN32_VC1X_PROJS = \
|
||||
vs10\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs11\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs12\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs14\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs15\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs16\$(GDKWIN32_VS1X_PROJ) \
|
||||
vs17\$(GDKWIN32_VS1X_PROJ)
|
||||
|
||||
GTK3_GDK_WIN32_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(GDKWIN32_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GDK_BROADWAY_VC1X_PROJS = \
|
||||
vs10\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs11\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs12\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs14\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs15\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs16\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs17\$(GDKBROADWAY_VS1X_PROJ)
|
||||
|
||||
GTK3_GDK_BROADWAY_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(GDKBROADWAY_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GTK_VC1X_PROJS = \
|
||||
vs10\$(GTK_VS1X_PROJ) \
|
||||
vs11\$(GTK_VS1X_PROJ) \
|
||||
vs12\$(GTK_VS1X_PROJ) \
|
||||
vs14\$(GTK_VS1X_PROJ) \
|
||||
vs15\$(GTK_VS1X_PROJ) \
|
||||
vs16\$(GTK_VS1X_PROJ) \
|
||||
vs17\$(GTK_VS1X_PROJ)
|
||||
|
||||
GTK3_GTK_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(GTK_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GAILUTIL_VC1X_PROJS = \
|
||||
vs10\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs11\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs12\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs14\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs15\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs16\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs17\$(GAILUTIL_VS1X_PROJ)
|
||||
|
||||
GTK3_GAILUTIL_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(GAILUTIL_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_BROADWAYD_VC1X_PROJS = \
|
||||
vs10\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs11\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs12\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs14\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs15\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs16\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs17\$(BROADWAYD_VS1X_PROJ)
|
||||
|
||||
GTK3_BROADWAYD_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(BROADWAYD_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_DEMO_VC1X_PROJS = \
|
||||
vs10\$(DEMO_VS1X_PROJ) \
|
||||
vs11\$(DEMO_VS1X_PROJ) \
|
||||
vs12\$(DEMO_VS1X_PROJ) \
|
||||
vs14\$(DEMO_VS1X_PROJ) \
|
||||
vs15\$(DEMO_VS1X_PROJ) \
|
||||
vs16\$(DEMO_VS1X_PROJ) \
|
||||
vs17\$(DEMO_VS1X_PROJ)
|
||||
|
||||
GTK3_DEMO_VC1X_PROJ_FILTERS = \
|
||||
vs11\$(DEMO_VS1X_PROJ_FILTERS) \
|
||||
vs12\$(DEMO_VS1X_PROJ_FILTERS) \
|
||||
vs14\$(DEMO_VS1X_PROJ_FILTERS) \
|
||||
vs15\$(DEMO_VS1X_PROJ_FILTERS) \
|
||||
vs16\$(DEMO_VS1X_PROJ_FILTERS) \
|
||||
vs17\$(DEMO_VS1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GDK_WIN32_VCPROJS = \
|
||||
vs9\$(GDKWIN32_VS9_PROJ) \
|
||||
$(GTK3_GDK_WIN32_VC1X_PROJS) \
|
||||
$(GTK3_GDK_WIN32_VC1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GDK_BROADWAY_VCPROJS = \
|
||||
vs9\$(GDKBROADWAY_VS9_PROJ) \
|
||||
$(GTK3_GDK_BROADWAY_VC1X_PROJS) \
|
||||
$(GTK3_GDK_BROADWAY_VC1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_BROADWAYD_VCPROJS = \
|
||||
vs9\$(BROADWAYD_VS9_PROJ) \
|
||||
$(GTK3_BROADWAYD_VC1X_PROJS) \
|
||||
$(GTK3_BROADWAYD_VC1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GDK_VCPROJS = \
|
||||
vs9\$(GDK_VS9_PROJ) \
|
||||
$(GTK3_GDK_VC1X_PROJS) \
|
||||
$(GTK3_GDK_VC1X_PROJ_FILTERS) \
|
||||
$(GTK3_GDK_WIN32_VCPROJS) \
|
||||
$(GTK3_GDK_BROADWAY_VCPROJS) \
|
||||
$(GTK3_BROADWAYD_VCPROJS)
|
||||
|
||||
GTK3_GTK_VCPROJS = \
|
||||
vs9\$(GTK_VS9_PROJ) \
|
||||
$(GTK3_GTK_VC1X_PROJS) \
|
||||
$(GTK3_GTK_VC1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_GAILUTIL_VCPROJS = \
|
||||
vs9\$(GAILUTIL_VS9_PROJ) \
|
||||
$(GTK3_GAILUTIL_VC1X_PROJS) \
|
||||
$(GTK3_GAILUTIL_VC1X_PROJ_FILTERS)
|
||||
|
||||
GTK3_DEMO_VCPROJS = \
|
||||
vs9\$(DEMO_VS9_PROJ) \
|
||||
$(GTK3_DEMO_VC1X_PROJS) \
|
||||
$(GTK3_DEMO_VC1X_PROJ_FILTERS)
|
||||
|
||||
DEMO_DEP_LIBS_NEW_PANGO=harfbuzz.lib
|
||||
DEMO_DEP_LIBS_PANGOFT2_VS1X=pangoft2-1.0.lib;harfbuzz.lib;freetype.lib
|
||||
DEMO_DEP_LIBS_PANGOFT2_VS9=$(DEMO_DEP_LIBS_PANGOFT2_VS1X:;= )
|
||||
|
||||
# (Re-) generate Visual Studio projects
|
||||
# Dependencies for library projects
|
||||
gdk-3.sourcefiles \
|
||||
gdk-3.vs10.sourcefiles \
|
||||
gdk-3.vs10.sourcefiles.filters: $(GDK_C_SRCS:/=\)
|
||||
|
||||
gdk3-win32.sourcefiles \
|
||||
gdk3-win32.vs10.sourcefiles \
|
||||
gdk3-win32.vs10.sourcefiles.filters: $(GDK_WIN32_C_SRCS)
|
||||
|
||||
gdk3-broadway.sourcefiles \
|
||||
gdk3-broadway.vs10.sourcefiles \
|
||||
gdk3-broadway.vs10.sourcefiles.filters: $(GDK_BROADWAY_C_SRCS)
|
||||
|
||||
# GTK projects-Darn the fatal error U1095...!
|
||||
gtk-3.misc.sourcefiles \
|
||||
gtk-3.misc.vs10.sourcefiles \
|
||||
gtk-3.misc.vs10.sourcefiles.filters: $(GTK_MISC_C_SRCS:/=\)
|
||||
|
||||
gtk-3.a-h.sourcefiles \
|
||||
gtk-3.a-h.vs10.sourcefiles \
|
||||
gtk-3.a-h.vs10.sourcefiles.filters: $(GTK_C_SRCS_A_H:/=\)
|
||||
|
||||
gtk-3.i-w.sourcefiles \
|
||||
gtk-3.i-w.vs10.sourcefiles \
|
||||
gtk-3.i-w.vs10.sourcefiles.filters: $(GTK_C_SRCS_I_W:/=\)
|
||||
|
||||
gtk-3.win32.sourcefiles \
|
||||
gtk-3.win32.vs10.sourcefiles \
|
||||
gtk-3.win32.vs10.sourcefiles.filters: $(GTK_OS_WIN32_C_SRCS:/=\) $(GTK_MORE_C_SRCS)
|
||||
|
||||
gtk-3.sourcefiles: \
|
||||
gtk-3.a-h.sourcefiles \
|
||||
gtk-3.i-w.sourcefiles \
|
||||
gtk-3.misc.sourcefiles \
|
||||
gtk-3.win32.sourcefiles
|
||||
|
||||
gtk-3.vs10.sourcefiles: \
|
||||
gtk-3.a-h.vs10.sourcefiles \
|
||||
gtk-3.i-w.vs10.sourcefiles \
|
||||
gtk-3.misc.vs10.sourcefiles \
|
||||
gtk-3.win32.vs10.sourcefiles
|
||||
|
||||
gtk-3.vs10.sourcefiles.filters: \
|
||||
gtk-3.a-h.vs10.sourcefiles.filters \
|
||||
gtk-3.i-w.vs10.sourcefiles.filters \
|
||||
gtk-3.misc.vs10.sourcefiles.filters \
|
||||
gtk-3.win32.vs10.sourcefiles.filters
|
||||
|
||||
gtk-3.sourcefiles gtk-3.vs10.sourcefiles gtk-3.vs10.sourcefiles.filters:
|
||||
@echo Genarating the final $@ from $**...
|
||||
@for %%f in ($**) do @type %%f>>$@ & del %%f
|
||||
|
||||
gailutil-3.sourcefiles \
|
||||
gailutil-3.vs10.sourcefiles \
|
||||
gailutil-3.vs10.sourcefiles.filters: $(GAILUTIL_C_SRCS)
|
||||
|
||||
# Dependencies for executable projects
|
||||
broadwayd.sourcefiles \
|
||||
broadwayd.vs10.sourcefiles \
|
||||
broadwayd.vs10.sourcefiles.filters: $(BROADWAYD_C_SRCS)
|
||||
|
||||
gtk3-demo.sourcefiles \
|
||||
gtk3-demo.vs10.sourcefiles \
|
||||
gtk3-demo.vs10.sourcefiles.filters: $(demo_actual_sources) $(more_demo_sources)
|
||||
|
||||
gdk-3.sourcefiles gdk3-win32.sourcefiles \
|
||||
gdk3-broadway.sourcefiles gailutil-3.sourcefiles \
|
||||
broadwayd.sourcefiles gtk3-demo.sourcefiles:
|
||||
@-del vs9\$(@B).vcproj
|
||||
@for %%s in ($**) do @echo. ^<File RelativePath^="..\%%s" /^>>>$@
|
||||
|
||||
gtk-3.a-h.sourcefiles gtk-3.i-w.sourcefiles \
|
||||
gtk-3.misc.sourcefiles gtk-3.win32.sourcefiles:
|
||||
@echo Generating $@...
|
||||
@if exist vs9\$(GTK_VS9_PROJ) del vs9\$(GTK_VS9_PROJ)
|
||||
@for %%s in ($(**:..\gtk\=)) do @echo. ^<File RelativePath^="..\..\gtk\%%s" /^>>>$@
|
||||
|
||||
gdk-3.vs10.sourcefiles \
|
||||
gdk3-win32.vs10.sourcefiles \
|
||||
gdk3-broadway.vs10.sourcefiles \
|
||||
gailutil-3.vs10.sourcefiles \
|
||||
broadwayd.vs10.sourcefiles \
|
||||
gtk3-demo.vs10.sourcefiles:
|
||||
@echo Generating $@...
|
||||
@-del vs10\$(@B:.vs10=.vcxproj)
|
||||
@for %%s in ($**) do @echo. ^<ClCompile Include^="..\%%s" /^>>>$@
|
||||
|
||||
gtk-3.a-h.vs10.sourcefiles \
|
||||
gtk-3.i-w.vs10.sourcefiles \
|
||||
gtk-3.misc.vs10.sourcefiles \
|
||||
gtk-3.win32.vs10.sourcefiles:
|
||||
@echo Generating $@...
|
||||
@if exist vs10\$(GTK_VS1X_PROJ) del vs10\$(GTK_VS1X_PROJ)
|
||||
@for %%s in ($(**:..\gtk\=)) do @echo. ^<ClCompile Include^="..\..\gtk\%%s" /^>>>$@
|
||||
|
||||
gdk-3.vs10.sourcefiles.filters \
|
||||
gdk3-win32.vs10.sourcefiles.filters \
|
||||
gdk3-broadway.vs10.sourcefiles.filters \
|
||||
gailutil-3.vs10.sourcefiles.filters \
|
||||
broadwayd.vs10.sourcefiles.filters \
|
||||
gtk3-demo.vs10.sourcefiles.filters:
|
||||
@-del vs10\$(@F:.vs10.sourcefiles=.vcxproj)
|
||||
@for %%s in ($**) do @echo. ^<ClCompile Include^="..\%%s"^>^<Filter^>Source Files^</Filter^>^</ClCompile^>>>$@
|
||||
|
||||
gtk-3.a-h.vs10.sourcefiles.filters \
|
||||
gtk-3.i-w.vs10.sourcefiles.filters \
|
||||
gtk-3.misc.vs10.sourcefiles.filters \
|
||||
gtk-3.win32.vs10.sourcefiles.filters:
|
||||
@if exist vs10\$(GTK_VS1X_PROJ_FILTERS) del vs10\$(GTK_VS1X_PROJ_FILTERS)
|
||||
@for %%s in ($(**:..\gtk\=)) do @echo. ^<ClCompile Include^="..\..\gtk\%%s"^>^<Filter^>Source Files^</Filter^>^</ClCompile^>>>$@
|
||||
|
||||
# Dependencies for GDK projects
|
||||
vs9\$(GDK_VS9_PROJ): gdk-3.sourcefiles vs9\$(GDK_VS9_PROJ)in
|
||||
vs9\$(GDKWIN32_VS9_PROJ).pre: gdk3-win32.sourcefiles vs9\$(GDKWIN32_VS9_PROJ)in
|
||||
vs9\$(GDKBROADWAY_VS9_PROJ): gdk3-broadway.sourcefiles vs9\$(GDKBROADWAY_VS9_PROJ)in
|
||||
vs9\$(GTK_VS9_PROJ).pre: gtk-3.sourcefiles vs9\$(GTK_VS9_PROJ)in
|
||||
vs9\$(GAILUTIL_VS9_PROJ): gailutil-3.sourcefiles vs9\$(GAILUTIL_VS9_PROJ)in
|
||||
|
||||
vs10\$(GDK_VS1X_PROJ): gdk-3.vs10.sourcefiles vs10\$(GDK_VS1X_PROJ)in
|
||||
vs10\$(GDKWIN32_VS1X_PROJ).pre: gdk3-win32.vs10.sourcefiles vs10\$(GDKWIN32_VS1X_PROJ)in
|
||||
vs10\$(GDKBROADWAY_VS1X_PROJ): gdk3-broadway.vs10.sourcefiles vs10\$(GDKBROADWAY_VS1X_PROJ)in
|
||||
vs10\$(GTK_VS1X_PROJ).pre: gtk-3.vs10.sourcefiles vs10\$(GTK_VS1X_PROJ)in
|
||||
vs10\$(GAILUTIL_VS1X_PROJ): gailutil-3.vs10.sourcefiles vs10\$(GAILUTIL_VS1X_PROJ)in
|
||||
|
||||
vs10\$(GDK_VS1X_PROJ_FILTERS): gdk-3.vs10.sourcefiles.filters vs10\$(GDK_VS1X_PROJ_FILTERS)in
|
||||
vs10\$(GDKWIN32_VS1X_PROJ_FILTERS): gdk3-win32.vs10.sourcefiles.filters vs10\$(GDKWIN32_VS1X_PROJ_FILTERS)in
|
||||
vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS): gdk3-broadway.vs10.sourcefiles.filters vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS)in
|
||||
vs10\$(GTK_VS1X_PROJ_FILTERS): gtk-3.vs10.sourcefiles.filters vs10\$(GTK_VS1X_PROJ_FILTERS)in
|
||||
vs10\$(GAILUTIL_VS1X_PROJ_FILTERS): gailutil-3.vs10.sourcefiles.filters vs10\$(GAILUTIL_VS1X_PROJ_FILTERS)in
|
||||
|
||||
# Dependencies for tool executables
|
||||
vs9\$(BROADWAYD_VS9_PROJ): broadwayd.sourcefiles vs9\$(BROADWAYD_VS9_PROJ)in
|
||||
vs10\$(BROADWAYD_VS1X_PROJ): broadwayd.vs10.sourcefiles vs10\$(BROADWAYD_VS1X_PROJ)in
|
||||
vs10\$(BROADWAYD_VS1X_PROJ_FILTERS): broadwayd.vs10.sourcefiles.filters vs10\$(BROADWAYD_VS1X_PROJ_FILTERS)in
|
||||
|
||||
# Dependencies for demos
|
||||
vs9\$(DEMO_VS9_PROJ).pre: gtk3-demo.sourcefiles vs9\$(DEMO_VS9_PROJ)in
|
||||
vs10\$(DEMO_VS1X_PROJ).pre: gtk3-demo.vs10.sourcefiles vs10\$(DEMO_VS1X_PROJ)in
|
||||
vs10\$(DEMO_VS1X_PROJ_FILTERS): gtk3-demo.vs10.sourcefiles.filters vs10\$(DEMO_VS1X_PROJ_FILTERS)in
|
||||
|
||||
# Create the project files themselves without customization with options
|
||||
vs9\$(GDKWIN32_VS9_PROJ).pre \
|
||||
vs9\$(GDKBROADWAY_VS9_PROJ) \
|
||||
vs9\$(GDK_VS9_PROJ) \
|
||||
vs9\$(GTK_VS9_PROJ).pre \
|
||||
vs9\$(GAILUTIL_VS9_PROJ) \
|
||||
vs9\$(BROADWAYD_VS9_PROJ) \
|
||||
vs9\$(DEMO_VS9_PROJ).pre \
|
||||
vs10\$(GDKWIN32_VS1X_PROJ).pre \
|
||||
vs10\$(GDKBROADWAY_VS1X_PROJ) \
|
||||
vs10\$(GDK_VS1X_PROJ) \
|
||||
vs10\$(GTK_VS1X_PROJ).pre \
|
||||
vs10\$(GAILUTIL_VS1X_PROJ) \
|
||||
vs10\$(BROADWAYD_VS1X_PROJ) \
|
||||
vs10\$(DEMO_VS1X_PROJ).pre \
|
||||
vs10\$(GDKWIN32_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(GDKBROADWAY_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(GDK_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(GTK_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(GAILUTIL_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(BROADWAYD_VS1X_PROJ_FILTERS) \
|
||||
vs10\$(DEMO_VS1X_PROJ_FILTERS):
|
||||
@$(CPP) /nologo /EP /I. $(@:.pre=)in>$(@F:.pre=).tmp
|
||||
@for /f "usebackq tokens=* delims=" %%l in ($(@F:.pre=).tmp) do @echo %%l>>$@
|
||||
@-del $(@F:.pre=).tmp
|
||||
@-for %%f in ($**) do @if not "%%f" == "$(@:.pre=)in" del %%f
|
||||
|
||||
vs9\$(GDKWIN32_VS9_PROJ): vs9\$(GDKWIN32_VS9_PROJ).pre
|
||||
vs10\$(GDKWIN32_VS1X_PROJ): vs10\$(GDKWIN32_VS1X_PROJ).pre
|
||||
|
||||
vs9\$(DEMO_VS9_PROJ): vs9\$(DEMO_VS9_PROJ).pre
|
||||
vs10\$(DEMO_VS1X_PROJ): vs10\$(DEMO_VS1X_PROJ).pre
|
||||
|
||||
!ifdef USE_EGL
|
||||
regenerate-gdk-vsproj-msg:
|
||||
@echo Regenerating GDK Visual Studio projects with EGL support...
|
||||
|
||||
vs9\$(GDKWIN32_VS9_PROJ):
|
||||
@echo Generating $@...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring=";INSIDE_GDK_WIN32\"" \
|
||||
--outstring=";INSIDE_GDK_WIN32;GDK_WIN32_ENABLE_EGL\""
|
||||
@-del $**
|
||||
|
||||
vs10\$(GDKWIN32_VS1X_PROJ):
|
||||
@echo Generating $@...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring=";INSIDE_GDK_WIN32;%" \
|
||||
--outstring=";INSIDE_GDK_WIN32;GDK_WIN32_ENABLE_EGL;%"
|
||||
@-del $**
|
||||
!else
|
||||
regenerate-gdk-vsproj-msg:
|
||||
@echo Regenerating GDK Visual Studio projects without EGL support...
|
||||
|
||||
vs9\$(GDKWIN32_VS9_PROJ) vs10\$(GDKWIN32_VS1X_PROJ):
|
||||
@echo Renaming $** to $@...
|
||||
@move $** $@
|
||||
!endif
|
||||
|
||||
# Generate the gtk-3 project with or without using the older PangoFT2 +
|
||||
# HarfBuzz APIs for the font features support (this code is not used if
|
||||
# Pango 1.44.0 and HarfBuzz 2.2.0 or later are used)
|
||||
!ifdef FONT_FEATURES_USE_PANGOFT2
|
||||
vs9\$(GTK_VS9_PROJ): vs9\$(GTK_VS9_PROJ).pre2
|
||||
@echo Generating final $@ using older PangoFT2 APIs...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring="AdditionalDependencies=\"$$(" \
|
||||
--outstring="AdditionalDependencies=\"$(DEMO_DEP_LIBS_PANGOFT2_VS9) $$("
|
||||
@del $**
|
||||
|
||||
vs10\$(GTK_VS1X_PROJ): vs10\$(GTK_VS1X_PROJ).pre2
|
||||
@echo Generating final $@ using older PangoFT2 APIs...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring=";%(AdditionalDependencies)<" \
|
||||
--outstring=";$(DEMO_DEP_LIBS_PANGOFT2_VS1X);%(AdditionalDependencies)<"
|
||||
@del $**
|
||||
|
||||
vs9\$(GTK_VS9_PROJ).pre2: vs9\$(GTK_VS9_PROJ).pre
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring="$$(GtkDefines" \
|
||||
--outstring="HAVE_HARFBUZZ;HAVE_PANGOFT;$$(GtkDefines"
|
||||
@del $**
|
||||
|
||||
vs10\$(GTK_VS1X_PROJ).pre2: vs10\$(GTK_VS1X_PROJ).pre
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring="$$(GtkDefines);%" \
|
||||
--outstring="HAVE_HARFBUZZ;HAVE_PANGOFT;$$(GtkDefines);%"
|
||||
@del $**
|
||||
!else
|
||||
vs9\$(GTK_VS9_PROJ): vs9\$(GTK_VS9_PROJ).pre
|
||||
vs10\$(GTK_VS1X_PROJ): vs10\$(GTK_VS1X_PROJ).pre
|
||||
|
||||
vs9\$(GTK_VS9_PROJ) vs10\$(GTK_VS1X_PROJ):
|
||||
@echo Generating final $@...
|
||||
@move $** $@
|
||||
!endif
|
||||
|
||||
!ifdef FONT_FEATURES_DEMO
|
||||
!ifdef FONT_FEATURES_USE_PANGOFT2
|
||||
DEMO_MSG = with font features demo using PangoFT2
|
||||
vs9\$(DEMO_VS9_PROJ):
|
||||
@echo (Re-)Generating $@ $(DEMO_MSG)...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring="AdditionalDependencies=\"\"" \
|
||||
--outstring="AdditionalDependencies=\"$(DEMO_DEP_LIBS_PANGOFT2_VS9)\""
|
||||
@-del $**
|
||||
|
||||
vs10\$(DEMO_VS1X_PROJ):
|
||||
@echo (Re-)Generating $@ $(DEMO_MSG)...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring=">%(AdditionalDependencies)<" \
|
||||
--outstring=">$(DEMO_DEP_LIBS_PANGOFT2_VS1X);%(AdditionalDependencies)<"
|
||||
@-del $**
|
||||
!else
|
||||
DEMO_MSG = with font features demo
|
||||
vs9\$(DEMO_VS9_PROJ):
|
||||
@echo (Re-)Generating $@ $(DEMO_MSG)...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring="AdditionalDependencies=\"\"" \
|
||||
--outstring="AdditionalDependencies=\"$(DEMO_DEP_LIBS_NEW_PANGO)\""
|
||||
@-del $**
|
||||
|
||||
vs10\$(DEMO_VS1X_PROJ):
|
||||
@echo (Re-)Generating $@ $(DEMO_MSG)...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$** -o=$@ \
|
||||
--instring=">%(AdditionalDependencies)<" \
|
||||
--outstring=">$(DEMO_DEP_LIBS_NEW_PANGO);%(AdditionalDependencies)<"
|
||||
@-del $**
|
||||
!endif
|
||||
!else
|
||||
DEMO_MSG = without font features demo
|
||||
vs9\$(DEMO_VS9_PROJ) vs10\$(DEMO_VS1X_PROJ):
|
||||
@echo (Re-)Generating $@ $(DEMO_MSG)...
|
||||
@move $** $@
|
||||
!endif
|
||||
|
||||
regenerate-demos-h-win32-msg:
|
||||
@echo (Re-)Generating demos.h.win32 $(DEMO_MSG)...
|
||||
|
||||
# VS2012+ .vcxproj: Update the toolset version as appropriate
|
||||
{vs10\}.vcxproj{vs11\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2012
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v110<"
|
||||
|
||||
{vs10\}.vcxproj{vs12\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2013
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v120<"
|
||||
|
||||
{vs10\}.vcxproj{vs14\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2015
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v140<"
|
||||
|
||||
{vs10\}.vcxproj{vs15\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2017
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v141<"
|
||||
|
||||
{vs10\}.vcxproj{vs16\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2019
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v142<"
|
||||
|
||||
{vs10\}.vcxproj{vs17\}.vcxproj:
|
||||
@echo Copying and updating $< for VS2022
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@ --instring=">v100<" --outstring=">v143<"
|
||||
|
||||
# VS2012+ .vcxproj.filters: We simply copy the VS2010 ones
|
||||
{vs10\}.filters{vs11\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.filters{vs12\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.filters{vs14\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.filters{vs15\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.filters{vs16\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.filters{vs17\}.filters:
|
||||
@echo Copying $< to $@...
|
||||
@copy $< $@
|
||||
|
||||
{vs10\}.sln{vs11\}.sln:
|
||||
@echo Copying and updating $< for VS2012...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 2012"
|
||||
@del $@.tmp
|
||||
|
||||
{vs10\}.sln{vs12\}.sln:
|
||||
@echo Copying and updating $< for VS2013...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 2013"
|
||||
@del $@.tmp
|
||||
|
||||
{vs10\}.sln{vs14\}.sln:
|
||||
@echo Copying and updating $< for VS2015...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 14"
|
||||
@del $@.tmp
|
||||
|
||||
{vs10\}.sln{vs15\}.sln:
|
||||
@echo Copying and updating $< for VS2017...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 15"
|
||||
@del $@.tmp
|
||||
|
||||
{vs10\}.sln{vs16\}.sln:
|
||||
@echo Copying and updating $< for VS2019...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 16"
|
||||
@del $@.tmp
|
||||
|
||||
{vs10\}.sln{vs17\}.sln:
|
||||
@echo Copying and updating $< for VS2022...
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$< -o=$@.tmp \
|
||||
--instring="Format Version 11.00" --outstring="Format Version 12.00"
|
||||
@$(PYTHON) replace.py -a=replace-str -i=$@.tmp -o=$@ \
|
||||
--instring="# Visual Studio 2010" --outstring="# Visual Studio 17"
|
||||
@del $@.tmp
|
||||
|
||||
copy-update-static-projects: \
|
||||
$(GTK3_VS11_STATIC_PROJS) \
|
||||
$(GTK3_VS12_STATIC_PROJS) \
|
||||
$(GTK3_VS14_STATIC_PROJS) \
|
||||
$(GTK3_VS15_STATIC_PROJS) \
|
||||
$(GTK3_VS16_STATIC_PROJS) \
|
||||
$(GTK3_VS17_STATIC_PROJS)
|
||||
|
||||
regenerate-gtk-vsproj-msg:
|
||||
@echo Regenerating GTK and gailutil projects...
|
||||
|
||||
regenerate-gdk-vsproj: regenerate-gdk-vsproj-msg $(GTK3_GDK_VCPROJS)
|
||||
regenerate-gtk-vsproj: regenerate-gtk-vsproj-msg $(GTK3_GTK_VCPROJS) $(GTK3_GAILUTIL_VCPROJS)
|
||||
|
||||
regenerate-all-msvc-projs: \
|
||||
copy-update-static-projects \
|
||||
regenerate-gdk-vsproj \
|
||||
regenerate-gtk-vsproj \
|
||||
regenerate-demos-h-win32
|
||||
|
||||
.SUFFIXES: .vcxproj .filters .sln
|
@ -1,150 +0,0 @@
|
||||
# NMake Makefile to build Introspection Files for GTK+
|
||||
|
||||
!include detectenv-msvc.mak
|
||||
!include generate-msvc.mak
|
||||
|
||||
APIVERSION = 3.0
|
||||
|
||||
CHECK_PACKAGE = gdk-pixbuf-2.0 atk pangocairo gio-2.0
|
||||
|
||||
built_install_girs = \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gdk-$(APIVERSION).gir \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\GdkWin32-$(APIVERSION).gir \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-$(APIVERSION).gir
|
||||
|
||||
built_install_typelibs = \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gdk-$(APIVERSION).typelib \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\GdkWin32-$(APIVERSION).typelib \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-$(APIVERSION).typelib
|
||||
|
||||
!include introspection-msvc.mak
|
||||
|
||||
!if "$(BUILD_INTROSPECTION)" == "TRUE"
|
||||
|
||||
!if "$(PLAT)" == "x64"
|
||||
AT_PLAT=x86_64
|
||||
!elseif "$(PLAT)" == "arm64"
|
||||
AT_PLAT=aarch64
|
||||
!else
|
||||
AT_PLAT=i686
|
||||
!endif
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\Gdk-$(APIVERSION).gir.filelist: $(GDK_PUBLIC_HEADERS) $(GDK_C_SRCS) $(GDK_GENERATED_SOURCES)
|
||||
@if exist $@ del $@
|
||||
@for %f in ($(gdk_h_sources:/=\) $(gdk_c_sources:/=\)) do @if not "%f" == "gdkkeysyms-compat.h" echo ..\gdk\%f>>$@
|
||||
@for %f in ($(GDK_GENERATED_SOURCES)) do @if not "%~nxf" == "gdkconfig.h" echo %f>>$@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk3-win32\GdkWin32-$(APIVERSION).gir.filelist: $(GDK_WIN32_INTROSPECTION_SRCS)
|
||||
@if exist $@ del $@
|
||||
@for %f in ($(w32_introspection_files:/=\)) do @echo ..\gdk\%f>>$@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\Gtk-$(APIVERSION).gir.filelist: \
|
||||
$(GTK_PUBLIC_ENUM_HEADERS) $(GTK_SEMI_PRIVATE_HEADERS) \
|
||||
$(GTK_GENERATED_PUB_HDRS) $(GTK_C_SRCS)
|
||||
@if exist $@ del $@
|
||||
@for %f in ($(GTK_PUB_HDRS:.h=)) do @if not "%f" == "gtktextdisplay" if not "%f" == "gtkx" echo ..\gtk\%f.h>>$@
|
||||
@for %f in ($(a11y_h_sources:/=\) $(gtk_deprecated_h_sources:/=\) $(gtk_semi_private_h_sources)) do @if not "%f" == "gtktextlayout.h" echo ..\gtk\%f>>$@
|
||||
@for %f in ($(a11y_c_sources:/=\) $(gtk_deprecated_c_sources:/=\) $(inspector_c_sources:/=\)) do @echo ..\gtk\%f>>$@
|
||||
@for %f in ($(gtk_base_c_sources_base_gtka_gtkh:.c=)) do @echo ..\gtk\%f.c>>$@
|
||||
@for %f in ($(gtk_base_c_sources_base_gtki_gtkw:.c=)) do @echo ..\gtk\%f.c>>$@
|
||||
@for %f in ($(gtk_clipboard_dnd_c_sources_generic) $(gtk_os_win32_c_sources)) do @echo ..\gtk\%f>>$@
|
||||
@for %f in ($(GTK_TYPEBUILTIN_SOURCES) $(GTK_VERSION_H)) do @echo %f>>$@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gdk-$(APIVERSION).gir: vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\Gdk-$(APIVERSION).gir.filelist
|
||||
@-echo Generating $@...
|
||||
@set PYTHONPATH=$(PREFIX)\lib\gobject-introspection
|
||||
@set PATH=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PREFIX)\bin;$(PATH)
|
||||
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
|
||||
@set LIB=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(LIB)
|
||||
@$(PYTHON) $(G_IR_SCANNER) --verbose -no-libtool \
|
||||
--namespace=Gdk --nsversion=$(APIVERSION) \
|
||||
--library=gdk-$(APIVERSION) \
|
||||
--add-include-path=./vs$(VSVER)/$(CFG)/$(PLAT)/bin \
|
||||
--add-include-path=$(G_IR_INCLUDEDIR) \
|
||||
--include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --include=cairo-1.0 \
|
||||
--cflags-begin \
|
||||
-DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3 \
|
||||
-I.. -I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3/gdk -I../gdk -I../gdk/win32 \
|
||||
--cflags-end \
|
||||
--c-include=gdk/gdk.h \
|
||||
--filelist=$** \
|
||||
-L.\vs$(VSVER)\$(CFG)\$(PLAT)\bin \
|
||||
-o $@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\GdkWin32-$(APIVERSION).gir: \
|
||||
./vs$(VSVER)/$(CFG)/$(PLAT)/bin/Gdk-$(APIVERSION).gir \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk3-win32\GdkWin32-$(APIVERSION).gir.filelist
|
||||
@-echo Generating $@...
|
||||
@set PYTHONPATH=$(PREFIX)\lib\gobject-introspection
|
||||
@set PATH=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PREFIX)\bin;$(PATH)
|
||||
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
|
||||
@set LIB=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(LIB)
|
||||
$(PYTHON) $(G_IR_SCANNER) --verbose -no-libtool \
|
||||
--namespace=GdkWin32 --nsversion=$(APIVERSION) \
|
||||
--library=gdk-$(APIVERSION) \
|
||||
--add-include-path=./vs$(VSVER)/$(CFG)/$(PLAT)/bin \
|
||||
--add-include-path=$(G_IR_INCLUDEDIR) \
|
||||
--cflags-begin \
|
||||
-DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3 \
|
||||
-I.. -I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3/gdk -I../gdk -I../gdk/win32 \
|
||||
--cflags-end \
|
||||
--identifier-prefix=Gdk --c-include=gdk/gdkwin32.h \
|
||||
--include-uninstalled=./vs$(VSVER)/$(CFG)/$(PLAT)/bin/Gdk-$(APIVERSION).gir \
|
||||
--filelist=vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk3-win32\GdkWin32-$(APIVERSION).gir.filelist \
|
||||
-L.\vs$(VSVER)\$(CFG)\$(PLAT)\bin \
|
||||
-o $@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-$(APIVERSION).gir: \
|
||||
./vs$(VSVER)/$(CFG)/$(PLAT)/bin/Gdk-$(APIVERSION).gir \
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\Gtk-$(APIVERSION).gir.filelist
|
||||
@-echo Generating $@...
|
||||
@set PYTHONPATH=$(PREFIX)\lib\gobject-introspection
|
||||
@set PATH=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(PREFIX)\bin;$(PATH)
|
||||
@set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
|
||||
@set LIB=vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(LIB)
|
||||
$(PYTHON) $(G_IR_SCANNER) --verbose -no-libtool \
|
||||
--namespace=Gtk --nsversion=$(APIVERSION) \
|
||||
--library=gtk-$(APIVERSION) --library=gdk-$(APIVERSION) \
|
||||
--add-include-path=./vs$(VSVER)/$(CFG)/$(PLAT)/bin \
|
||||
--add-include-path=$(G_IR_INCLUDEDIR) \
|
||||
--include=Atk-1.0 \
|
||||
--pkg-export=gtk+-$(APIVERSION) \
|
||||
--cflags-begin \
|
||||
-DG_LOG_USE_STRUCTURED=1 -DGTK_VERSION="$(GTK_VERSION)" -DGTK_BINARY_VERSION="3.0.0" -DGTK_COMPILATION \
|
||||
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DGTK_LIBDIR=\"/dummy/lib\" -DGTK_DATADIR=\"/dummy/share\" \
|
||||
-DGTK_DATA_PREFIX=\"/dummy\" -DGTK_SYSCONFDIR=\"/dummy/etc\" -DGTK_HOST=\"$(AT_PLAT)-pc-vs$(VSVER)\" \
|
||||
-DGTK_PRINT_BACKENDS=\"file\" -DINCLUDE_IM_am_et -DINCLUDE_IM_cedilla -DINCLUDE_IM_cyrillic_translit \
|
||||
-DINCLUDE_IM_ime -DINCLUDE_IM_inuktitu -DINCLUDE_IM_ipa -DINCLUDE_IM_multipress -DINCLUDE_IM_thai \
|
||||
-DINCLUDE_IM_ti_er -DINCLUDE_IM_ti_et -DINCLUDE_IM_viqr \
|
||||
-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API \
|
||||
-I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gtk-3 \
|
||||
-I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3 \
|
||||
-I.. -I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gtk-3/gtk -I../gtk \
|
||||
-I./vs$(VSVER)/$(CFG)/$(PLAT)/obj/gdk-3/gdk -I../gdk \
|
||||
--cflags-end \
|
||||
--warn-all --include-uninstalled=./vs$(VSVER)/$(CFG)/$(PLAT)/bin/Gdk-$(APIVERSION).gir \
|
||||
--filelist=vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\Gtk-$(APIVERSION).gir.filelist \
|
||||
-L.\vs$(VSVER)\$(CFG)\$(PLAT)\bin \
|
||||
-o $@
|
||||
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gdk-$(APIVERSION).typelib: vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gdk-$(APIVERSION).gir
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\GdkWin32-$(APIVERSION).typelib: vs$(VSVER)\$(CFG)\$(PLAT)\bin\GdkWin32-$(APIVERSION).gir
|
||||
vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-$(APIVERSION).typelib: vs$(VSVER)\$(CFG)\$(PLAT)\bin\Gtk-$(APIVERSION).gir
|
||||
|
||||
$(built_install_typelibs):
|
||||
@-echo Compiling $@...
|
||||
$(G_IR_COMPILER) --includedir=$(@D:\=/) --debug --verbose $(@R:\=/).gir -o $@
|
||||
|
||||
introspect: $(built_install_girs) $(built_install_typelibs)
|
||||
|
||||
!else
|
||||
introspect:
|
||||
@-echo $(ERROR_MSG)
|
||||
!endif
|
||||
|
||||
introspect-clean:
|
||||
@-del /f/q vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-3\Gtk-$(APIVERSION).gir.filelist
|
||||
@-del /f/q vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk3-win32\GdkWin32-$(APIVERSION).gir.filelist
|
||||
@-del /f/q vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-3\Gdk-$(APIVERSION).gir.filelist
|
||||
@-del /f/q vs$(VSVER)\$(CFG)\$(PLAT)\bin\*.typelib
|
||||
@-del /f/q vs$(VSVER)\$(CFG)\$(PLAT)\bin\*.gir
|
@ -1,94 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Utility script to generate .pc files for GTK+
|
||||
# for Visual Studio builds, to be used for
|
||||
# building introspection files
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: April 26, 2016
|
||||
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
from replace import replace_multi, replace
|
||||
from pc_base import BasePCItems
|
||||
|
||||
def main(argv):
|
||||
base_pc = BasePCItems()
|
||||
|
||||
gdk_parser = argparse.ArgumentParser(description='Setup basic .pc file info')
|
||||
gdk_parser.add_argument('--broadway',
|
||||
action='store_const',
|
||||
const=1,
|
||||
help='GDK with Broadway backend')
|
||||
gdk_parser.add_argument('--host',
|
||||
required=True,
|
||||
help='Build type')
|
||||
base_pc.setup(argv, gdk_parser)
|
||||
|
||||
atk_min_ver = '2.15.1'
|
||||
cairo_min_ver = '1.14.0'
|
||||
gdk_pixbuf_min_ver = '2.30.0'
|
||||
gdk_win32_sys_libs = '-lgdi32 -limm32 -lshell32 -lole32 -lwinmm -ldwmapi -lwinspool -lcomctl32 -lcomdlg32'
|
||||
cairo_libs = '-lcairo-gobject -lcairo '
|
||||
glib_min_ver = '2.45.8'
|
||||
|
||||
gdk_backends = 'win32'
|
||||
gio_package = 'gio-2.0 >= ' + glib_min_ver
|
||||
broadway_extra_libs = ''
|
||||
|
||||
gdk_args = gdk_parser.parse_args()
|
||||
if getattr(gdk_args, 'broadway', None) is 1:
|
||||
# On Visual Studio, we link to zlib1.lib
|
||||
broadway_extra_libs = ' -lzlib1'
|
||||
gdk_backends += ' broadway'
|
||||
|
||||
pkg_replace_items = {'@GTK_API_VERSION@': '3.0',
|
||||
'@GDK_BACKENDS@': gdk_backends}
|
||||
|
||||
pkg_required_packages = 'gdk-pixbuf-2.0 >= ' + gdk_pixbuf_min_ver
|
||||
|
||||
gdk_pc_replace_items = {'@GDK_PACKAGES@': gio_package + ' ' + \
|
||||
'pangowin32 pangocairo' + ' ' + \
|
||||
pkg_required_packages,
|
||||
'@GDK_PRIVATE_PACKAGES@': gio_package,
|
||||
'@GDK_EXTRA_LIBS@': cairo_libs + gdk_win32_sys_libs + broadway_extra_libs,
|
||||
'@GDK_EXTRA_CFLAGS@': '',
|
||||
'gdk-3': 'gdk-3.0'}
|
||||
|
||||
gtk_pc_replace_items = {'@host@': gdk_args.host,
|
||||
'@GTK_BINARY_VERSION@': '3.0.0',
|
||||
'@GTK_PACKAGES@': 'atk >= ' + atk_min_ver + ' ' + \
|
||||
pkg_required_packages + ' ' + \
|
||||
gio_package,
|
||||
'@GTK_PRIVATE_PACKAGES@': 'atk',
|
||||
'@GTK_EXTRA_CFLAGS@': '',
|
||||
'@GTK_EXTRA_LIBS@': '',
|
||||
'@GTK_EXTRA_CFLAGS@': '',
|
||||
'gtk-3': 'gtk-3.0'}
|
||||
|
||||
gail_pc_replace_items = {'gailutil-3': 'gailutil-3.0'}
|
||||
|
||||
pkg_replace_items.update(base_pc.base_replace_items)
|
||||
gdk_pc_replace_items.update(pkg_replace_items)
|
||||
gtk_pc_replace_items.update(pkg_replace_items)
|
||||
gail_pc_replace_items.update(base_pc.base_replace_items)
|
||||
|
||||
# Generate gdk-3.0.pc
|
||||
replace_multi(base_pc.top_srcdir + '/gdk-3.0.pc.in',
|
||||
base_pc.srcdir + '/gdk-3.0.pc',
|
||||
gdk_pc_replace_items)
|
||||
|
||||
# Generate gtk+-3.0.pc
|
||||
replace_multi(base_pc.top_srcdir + '/gtk+-3.0.pc.in',
|
||||
base_pc.srcdir + '/gtk+-3.0.pc',
|
||||
gtk_pc_replace_items)
|
||||
|
||||
# Generate gail-3.0.pc
|
||||
replace_multi(base_pc.top_srcdir + '/gail-3.0.pc.in',
|
||||
base_pc.srcdir + '/gail-3.0.pc',
|
||||
gail_pc_replace_items)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
@ -1,145 +0,0 @@
|
||||
# NMake Makefile portion for copying the built files to directories as appropriate
|
||||
# under $(PREFIX)
|
||||
|
||||
!include config-msvc.mak
|
||||
!include create-lists-msvc.mak
|
||||
|
||||
GTK_API_VERSION = 3
|
||||
BASE_BUILT_BIN_DIR = .\vs$(VSVER)\$(CFG)\$(PLAT)\bin
|
||||
|
||||
!ifdef BROADWAY
|
||||
GDK_OUTPUT_CONFIGDIR = $(CFG)_Broadway
|
||||
GDK_BROADWAY_BIN = .\vs$(VSVER)\$(GDK_OUTPUT_CONFIGDIR)\$(PLAT)\bin\broadwayd.exe
|
||||
GDK_BROADWAY_PDB = $(GDK_BROADWAY_BIN:.exe=.pdb)
|
||||
GEN_PC_BROADWAY_FLAG = --broadway
|
||||
!else
|
||||
GDK_OUTPUT_CONFIGDIR = $(CFG)
|
||||
GDK_BROADWAY_BIN =
|
||||
GDK_BROADWAY_PDB =
|
||||
GEN_PC_BROADWAY_FLAG =
|
||||
!endif
|
||||
|
||||
IMPLIB_SUFFIX = $(GTK_API_VERSION).0.lib
|
||||
GDK_DLL = .\vs$(VSVER)\$(GDK_OUTPUT_CONFIGDIR)\$(PLAT)\bin\gdk-$(GTK_API_VERSION)-vs$(VSVER).dll
|
||||
GDK_PDB = $(GDK_DLL:.dll=.pdb)
|
||||
GDK_LIB = .\vs$(VSVER)\$(GDK_OUTPUT_CONFIGDIR)\$(PLAT)\bin\gdk-$(IMPLIB_SUFFIX)
|
||||
GDK_BIN_ITEMS = $(GDK_DLL) $(GDK_PDB) $(GDK_BROADWAY_BIN) $(GDK_BROADWAY_PDB)
|
||||
GTK_DLL_FILENAME = gtk-$(GTK_API_VERSION)-vs$(VSVER)
|
||||
GTK_LIB = $(BASE_BUILT_BIN_DIR)\gtk-$(IMPLIB_SUFFIX)
|
||||
LIBGAIL_UTIL_DLL_FILENAME = gailutil-$(GTK_API_VERSION)-vs$(VSVER)
|
||||
LIBGAIL_UTIL_LIB = $(BASE_BUILT_BIN_DIR)\gailutil-$(IMPLIB_SUFFIX)
|
||||
GTK_PROGRAMS_NAMES = builder-tool encode-symbolic-svg query-settings update-icon-cache
|
||||
GTK3_PROGRAMS_NAMES = demo demo-application icon-browser widget-factory
|
||||
GDK_GIR_FILE = $(BASE_BUILT_BIN_DIR)\Gdk-$(IMPLIB_SUFFIX:.lib=.gir)
|
||||
GDKWIN32_GIR_FILE = $(BASE_BUILT_BIN_DIR)\GdkWin32-$(IMPLIB_SUFFIX:.lib=.gir)
|
||||
GTK_GIR_FILE = $(BASE_BUILT_BIN_DIR)\Gtk-$(IMPLIB_SUFFIX:.lib=.gir)
|
||||
GDK_TYPELIB_FILE = $(GDK_GIR_FILE:.gir=.typelib)
|
||||
GDKWIN32_TYPELIB_FILE = $(GDKWIN32_GIR_FILE:.gir=.typelib)
|
||||
GTK_TYPELIB_FILE = $(GTK_GIR_FILE:.gir=.typelib)
|
||||
|
||||
GTK_HEADERS_BASE_INSTALL_DIR = $(PREFIX)\include\gtk-$(GTK_API_VERSION).0
|
||||
GAILUTIL_HEADERS_BASE_INSTALL_DIR = $(PREFIX)\include\gail-$(GTK_API_VERSION).0
|
||||
|
||||
GDK_BASE_HEADERS = $(gdk_public_h_sources)
|
||||
|
||||
GDK_CONFIG_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-$(GTK_API_VERSION)\gdk\gdkconfig.h
|
||||
GDK_ENUM_TYPES_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-$(GTK_API_VERSION)\gdk\gdkenumtypes.h
|
||||
GDK_VERSION_MACROS_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gdk-$(GTK_API_VERSION)\gdk\gdkversionmacros.h
|
||||
GDK_GENERATED_PUBLIC_H = $(GDK_CONFIG_H) $(GDK_ENUM_TYPES_H) $(GDK_VERSION_MACROS_H)
|
||||
|
||||
GTK_TYPE_BULITINS_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-$(GTK_API_VERSION)\gtk\gtktypebuiltins.h
|
||||
GTK_VERSION_H = .\vs$(VSVER)\$(CFG)\$(PLAT)\obj\gtk-$(GTK_API_VERSION)\gtk\gtkversion.h
|
||||
GTK_GENERATED_PUBLIC_H = $(GTK_TYPE_BULITINS_H) $(GTK_VERSION_H)
|
||||
|
||||
!ifdef INSTALL_TRANSLATIONS
|
||||
DATA_TARGETS = install-data install-translations
|
||||
!else
|
||||
DATA_TARGETS = install-data
|
||||
!endif
|
||||
|
||||
all: install-bin install-headers $(DATA_TARGETS)
|
||||
|
||||
# Copy the built files
|
||||
install-bin:
|
||||
@echo Copying built binaries and data files...
|
||||
|
||||
# Copy the DLLs and programs and their .pdb's
|
||||
@for %d in (bin lib) do @if not exist $(PREFIX)\%d\ mkdir $(PREFIX)\%d
|
||||
@for %f in ($(GDK_BIN_ITEMS)) do @copy /b %f "$(PREFIX)\bin"
|
||||
@for %f in ($(GTK_DLL_FILENAME) $(LIBGAIL_UTIL_DLL_FILENAME)) do @for %x in (dll pdb) do @copy /b $(BASE_BUILT_BIN_DIR)\%f.%x "$(PREFIX)\bin"
|
||||
@for %f in ($(GTK_PROGRAMS_NAMES)) do @for %x in (exe pdb) do @copy /b $(BASE_BUILT_BIN_DIR)\gtk-%f.%x "$(PREFIX)\bin"
|
||||
@for %f in ($(GTK3_PROGRAMS_NAMES)) do @for %x in (exe pdb) do @copy /b $(BASE_BUILT_BIN_DIR)\gtk3-%f.%x "$(PREFIX)\bin"
|
||||
|
||||
# Copy the .lib's
|
||||
@for %f in ($(GDK_LIB) $(GTK_LIB) $(LIBGAIL_UTIL_LIB)) do @copy /b %f "$(PREFIX)\lib"
|
||||
@for %f in (gdk gtk gailutil) do @copy /b "$(PREFIX)\lib\%f-$(IMPLIB_SUFFIX)" "$(PREFIX)\lib\%f-$(GTK_API_VERSION).lib"
|
||||
|
||||
# Generate the pkg-config files, if Python is callable and if it is not disabled
|
||||
@if "$(NO_PKGCONFIG)" == "" if not exist $(PREFIX)\lib\pkgconfig\ mkdir $(PREFIX)\lib\pkgconfig
|
||||
@-if "$(NO_PKGCONFIG)" == "" if exist $(PYTHON) $(PYTHON) gtkpc.py --prefix=$(PREFIX) --version=$(GTK_VERSION) --host=$(AT_PLAT)-pc-vs$(VSVER) $(GEN_PC_BROADWAY_FLAG)
|
||||
@-if "$(NO_PKGCONFIG)" == "" if exist $(PYTHON).exe $(PYTHON) gtkpc.py --prefix=$(PREFIX) --version=$(GTK_VERSION) --host=$(AT_PLAT)-pc-vs$(VSVER) $(GEN_PC_BROADWAY_FLAG)
|
||||
@for %f in (gdk gtk+) do @if exist %f-$(GTK_API_VERSION).0.pc copy "%f-$(GTK_API_VERSION).0.pc" "$(PREFIX)\lib\pkgconfig"
|
||||
@for %f in (gail) do @if exist %f-$(GTK_API_VERSION).0.pc move %f-$(GTK_API_VERSION).0.pc $(PREFIX)\lib\pkgconfig
|
||||
@for %f in (gdk gtk+) do @if exist %f-$(GTK_API_VERSION).0.pc move %f-$(GTK_API_VERSION).0.pc $(PREFIX)\lib\pkgconfig\%f-win32-$(GTK_API_VERSION).0.pc
|
||||
|
||||
# Copy the introspection files, if built
|
||||
@if exist $(GTK_TYPELIB_FILE) @for %d in (lib\girepository-1.0 share\gir-1.0) do @if not exist $(PREFIX)\%d\ mkdir $(PREFIX)\%d
|
||||
@for %f in ($(GDK_GIR_FILE) $(GDKWIN32_GIR_FILE) $(GTK_GIR_FILE)) do @if exist %f copy /b %f "$(PREFIX)\share\gir-1.0"
|
||||
@for %f in ($(GDK_TYPELIB_FILE) $(GDKWIN32_TYPELIB_FILE) $(GTK_TYPELIB_FILE)) do @if exist %f copy /b %f "$(PREFIX)\lib\girepository-1.0"
|
||||
|
||||
# Copy the public headers
|
||||
install-headers:
|
||||
@echo Copying the headers...
|
||||
|
||||
# Create the GDK header directories
|
||||
@for %d in (gdk gdk\deprecated gdk\win32) do @if not exist $(GTK_HEADERS_BASE_INSTALL_DIR)\%d\ mkdir $(GTK_HEADERS_BASE_INSTALL_DIR)\%d
|
||||
@if not "$(BROADWAY)" == "" if not exist $(GTK_HEADERS_BASE_INSTALL_DIR)\gdk\broadway\ mkdir $(GTK_HEADERS_BASE_INSTALL_DIR)\gdk\broadway
|
||||
|
||||
# Create the GTK header directories
|
||||
@for %d in (gtk gtk\a11y gtk\deprecated) do @if not exist $(GTK_HEADERS_BASE_INSTALL_DIR)\%d\ mkdir $(GTK_HEADERS_BASE_INSTALL_DIR)\%d
|
||||
|
||||
# Create the libgail-util header directories
|
||||
@for %d in (libgail-util) do @if not exist $(GAILUTIL_HEADERS_BASE_INSTALL_DIR)\%d\ mkdir $(GAILUTIL_HEADERS_BASE_INSTALL_DIR)\%d
|
||||
|
||||
# Copy the GDK headers (with GdkWin32 and with Gdk-Broadway, if built)
|
||||
@for %f in ($(GDK_GENERATED_PUBLIC_H)) do @copy %f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk"
|
||||
@for %f in ($(gdk_public_h_sources)) do @copy ..\gdk\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk"
|
||||
@for %f in ($(gdk_deprecated_h_sources:/=\)) do @copy ..\gdk\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk\deprecated"
|
||||
@for %f in ($(GDK_PUBLIC_H_SRCS_WIN32)) do @copy ..\gdk\win32\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk"
|
||||
@for %f in ($(libgdkwin32include_HEADERS)) do @copy ..\gdk\win32\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk\win32"
|
||||
@if not "$(BROADWAY)" == "" for %f in ($(GDK_PUBLIC_H_SRCS_BROADWAY)) do @copy ..\gdk\broadway\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk"
|
||||
@if not "$(BROADWAY)" == "" for %f in ($(libgdkbroadwayinclude_HEADERS)) do @copy ..\gdk\broadway\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gdk\broadway"
|
||||
|
||||
# Copy the GTK headers
|
||||
@for %f in ($(GTK_GENERATED_PUBLIC_H)) do @copy %f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gtk"
|
||||
# I hate the U1095 command line too long fatal error :|, work around it...
|
||||
@for %f in ($(GTK_PUB_HDRS:.h=) $(gtk_semi_private_h_sources:.h=)) do @copy ..\gtk\%f.h "$(GTK_HEADERS_BASE_INSTALL_DIR)\gtk"
|
||||
@for %f in ($(a11y_h_sources:a11y/=)) do @copy ..\gtk\a11y\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gtk\a11y"
|
||||
@for %f in ($(gtk_deprecated_h_sources:deprecated/=)) do @copy ..\gtk\deprecated\%f "$(GTK_HEADERS_BASE_INSTALL_DIR)\gtk\deprecated"
|
||||
|
||||
# Copy the libgail-util headers
|
||||
@for %f in ($(util_public_h_sources)) do @copy ..\libgail-util\%f "$(GAILUTIL_HEADERS_BASE_INSTALL_DIR)\libgail-util"
|
||||
|
||||
# install the data files
|
||||
install-data:
|
||||
@echo Copying the non-generated data files...
|
||||
# GSettings schemas
|
||||
@if not exist $(PREFIX)\share\glib-2.0\schemas\ mkdir $(PREFIX)\share\glib-2.0\schemas
|
||||
@for %f in (..\gtk\org.gtk.Settings.*.gschema.xml ..\demos\gtk-demo\org.gtk.Demo.gschema.xml) do @copy %f "$(PREFIX)\share\glib-2.0\schemas"
|
||||
@-$(GLIB_COMPILE_SCHEMAS) $(PREFIX)\share\glib-2.0\schemas
|
||||
# Demo icons
|
||||
@for %t in (16 22 24 32 48 256) do @for %d in ($(PREFIX)\share\icons\hicolor\%tx%t\apps) do @((if not exist %d\ mkdir %d) & copy /b ..\demos\gtk-demo\data\%tx%t\gtk3-demo*.png "%d")
|
||||
@for %t in (16 22 24 32 48 256) do @for %d in ($(PREFIX)\share\icons\hicolor\%tx%t\apps) do @((if not exist %d\ mkdir %d) & copy /b ..\demos\widget-factory\data\%tx%t\gtk3-widget-factory*.png "%d")
|
||||
@-$(BASE_BUILT_BIN_DIR)\gtk-update-icon-cache.exe --ignore-theme-index --force "$(PREFIX)\share\icons\hicolor"
|
||||
# Auxiliary build-related data files (m4, ITS files, RelaxNG files)
|
||||
@for %d in (aclocal gettext\its gtk-3.0\emoji) do @if not exist $(PREFIX)\share\%d\ mkdir $(PREFIX)\share\%d
|
||||
@copy ..\m4macros\gtk-3.0.m4 $(PREFIX)\share\aclocal
|
||||
@for %x in (its loc) do @copy ..\gtk\gtkbuilder.%x $(PREFIX)\share\gettext\its
|
||||
@for %x in (rng) do @copy ..\gtk\gtkbuilder.%x $(PREFIX)\share\gtk-3.0
|
||||
@for %l in (de es fr zh) do @for %f in ($(BASE_BUILT_BIN_DIR)\%l.gresource) do @copy %f $(PREFIX)\share\gtk-3.0\emoji
|
||||
|
||||
# Generate and install the translations
|
||||
install-translations:
|
||||
@for %d in (po po-properties) do @for %l in (..\%d\*.po) do @if not exist $(PREFIX)\share\locale\%~nl\LC_MESSAGES\ md $(PREFIX)\share\locale\%~nl\LC_MESSAGES
|
||||
@for %l in (..\po\*.po) do @$(MSGFMT) -c -v -o $(PREFIX)\share\locale\%~nl\LC_MESSAGES\gtk30.mo %l
|
||||
@for %l in (..\po-properties\*.po) do @$(MSGFMT) -c -v -o $(PREFIX)\share\locale\%~nl\LC_MESSAGES\gtk30-properties.mo %l
|
@ -1,94 +0,0 @@
|
||||
# Common NMake Makefile module for checking the build environment is sane
|
||||
# for building introspection files under MSVC/NMake.
|
||||
# This can be copied from $(gi_srcroot)\build\win32 for GNOME items
|
||||
# that support MSVC builds and introspection under MSVC.
|
||||
|
||||
# Can override with env vars as needed
|
||||
# You will need to have built gobject-introspection for this to work.
|
||||
# Change or pass in or set the following to suit your environment
|
||||
|
||||
!if "$(PREFIX)" == ""
|
||||
PREFIX = ..\..\vs$(VSVER)\$(PLAT)
|
||||
!endif
|
||||
|
||||
!if ![setlocal] && \
|
||||
![set PFX=$(PREFIX)] && \
|
||||
![for %P in (%PFX%) do @echo PREFIX_FULL=%~dpnfP > pfx.x]
|
||||
!endif
|
||||
!include pfx.x
|
||||
|
||||
!if "$(PKG_CONFIG_PATH)" == ""
|
||||
PKG_CONFIG_PATH=$(PREFIX_FULL)\lib\pkgconfig
|
||||
!else
|
||||
PKG_CONFIG_PATH=$(PREFIX_FULL)\lib\pkgconfig;$(PKG_CONFIG_PATH)
|
||||
!endif
|
||||
|
||||
!if ![del $(ERRNUL) /q/f pfx.x]
|
||||
!endif
|
||||
|
||||
# Note: The PYTHON must be the Python release series that was used to build
|
||||
# the GObject-introspection scanner Python module!
|
||||
# Either having python.exe your PATH will work or passing in
|
||||
# PYTHON=<full path to your Python interpretor> will do
|
||||
|
||||
# This is required, and gobject-introspection needs to be built
|
||||
# before this can be successfully run.
|
||||
!if "$(PYTHON)" == ""
|
||||
PYTHON=python
|
||||
!endif
|
||||
|
||||
# Path to the pkg-config tool, if not already in the PATH
|
||||
!if "$(PKG_CONFIG)" == ""
|
||||
PKG_CONFIG=pkg-config
|
||||
!endif
|
||||
|
||||
# Don't change anything following this line!
|
||||
|
||||
GIR_SUBDIR = share\gir-1.0
|
||||
GIR_TYPELIBDIR = lib\girepository-1.0
|
||||
G_IR_SCANNER = $(PREFIX)\bin\g-ir-scanner
|
||||
G_IR_COMPILER = $(PREFIX)\bin\g-ir-compiler.exe
|
||||
G_IR_INCLUDEDIR = $(PREFIX)\$(GIR_SUBDIR)
|
||||
G_IR_TYPELIBDIR = $(PREFIX)\$(GIR_TYPELIBDIR)
|
||||
|
||||
VALID_PKG_CONFIG_PATH = FALSE
|
||||
|
||||
MSG_INVALID_PKGCONFIG = You must set or specifiy a valid PKG_CONFIG_PATH
|
||||
MSG_INVALID_CFG = You need to specify or set CFG to be release or debug to use this Makefile to build the Introspection Files
|
||||
|
||||
ERROR_MSG =
|
||||
|
||||
BUILD_INTROSPECTION = TRUE
|
||||
|
||||
!if ![set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)] \
|
||||
&& ![$(PKG_CONFIG) --print-errors --errors-to-stdout $(CHECK_PACKAGE) > pkgconfig.x] \
|
||||
&& ![setlocal] \
|
||||
&& ![set file="pkgconfig.x"] \
|
||||
&& ![FOR %A IN (%file%) DO @echo PKG_CHECK_SIZE=%~zA > pkgconfig.chksize] \
|
||||
&& ![del $(ERRNUL) /q/f pkgconfig.x]
|
||||
!endif
|
||||
|
||||
!include pkgconfig.chksize
|
||||
!if "$(PKG_CHECK_SIZE)" == "0"
|
||||
VALID_PKG_CONFIG_PATH = TRUE
|
||||
!else
|
||||
VALID_PKG_CONFIG_PATH = FALSE
|
||||
!endif
|
||||
|
||||
!if ![del $(ERRNUL) /q/f pkgconfig.chksize]
|
||||
!endif
|
||||
|
||||
VALID_CFGSET = FALSE
|
||||
!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
|
||||
VALID_CFGSET = TRUE
|
||||
!endif
|
||||
|
||||
!if "$(VALID_PKG_CONFIG_PATH)" != "TRUE"
|
||||
BUILD_INTROSPECTION = FALSE
|
||||
ERROR_MSG = $(MSG_INVALID_PKGCONFIG)
|
||||
!endif
|
||||
|
||||
!if "$(VALID_CFGSET)" != "TRUE"
|
||||
BUILD_INTROSPECTION = FALSE
|
||||
ERROR_MSG = $(MSG_INVALID_CFG)
|
||||
!endif
|
124
win32/pc_base.py
124
win32/pc_base.py
@ -1,124 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Simple utility script to generate the basic info
|
||||
# needed in a .pc (pkg-config) file, used especially
|
||||
# for introspection purposes
|
||||
|
||||
# This can be used in various projects where
|
||||
# there is the need to generate .pc files,
|
||||
# and is copied from GLib's $(srcroot)/build/win32
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: March 10, 2016
|
||||
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
class BasePCItems:
|
||||
def __init__(self):
|
||||
self.base_replace_items = {}
|
||||
self.exec_prefix = ''
|
||||
self.includedir = ''
|
||||
self.libdir = ''
|
||||
self.prefix = ''
|
||||
self.srcdir = os.path.dirname(__file__)
|
||||
self.top_srcdir = os.path.join(self.srcdir, os.pardir)
|
||||
self.version = ''
|
||||
|
||||
def setup(self, argv, parser=None):
|
||||
if parser is None:
|
||||
parser = argparse.ArgumentParser(description='Setup basic .pc file info')
|
||||
parser.add_argument('--prefix', help='prefix of the installed library',
|
||||
required=True)
|
||||
parser.add_argument('--exec-prefix',
|
||||
help='prefix of the installed programs, \
|
||||
if different from the prefix')
|
||||
parser.add_argument('--includedir',
|
||||
help='includedir of the installed library, \
|
||||
if different from ${prefix}/include')
|
||||
parser.add_argument('--libdir',
|
||||
help='libdir of the installed library, \
|
||||
if different from ${prefix}/lib')
|
||||
parser.add_argument('--version', help='Version of the package',
|
||||
required=True)
|
||||
args = parser.parse_args()
|
||||
|
||||
self.version = args.version
|
||||
|
||||
# check whether the prefix and exec_prefix are valid
|
||||
if not os.path.exists(args.prefix):
|
||||
raise SystemExit('Specified prefix \'%s\' is invalid' % args.prefix)
|
||||
|
||||
# use absolute paths for prefix
|
||||
self.prefix = os.path.abspath(args.prefix).replace('\\','/')
|
||||
|
||||
# check and setup the exec_prefix
|
||||
if getattr(args, 'exec_prefix', None) is None:
|
||||
exec_prefix_use_shorthand = True
|
||||
self.exec_prefix = '${prefix}'
|
||||
else:
|
||||
if args.exec_prefix.startswith('${prefix}'):
|
||||
exec_prefix_use_shorthand = True
|
||||
input_exec_prefix = args.prefix + args.exec_prefix[len('${prefix}'):]
|
||||
else:
|
||||
exec_prefix_use_shorthand = False
|
||||
input_exec_prefix = args.exec_prefix
|
||||
if not os.path.exists(input_exec_prefix):
|
||||
raise SystemExit('Specified exec_prefix \'%s\' is invalid' %
|
||||
args.exec_prefix)
|
||||
if exec_prefix_use_shorthand is True:
|
||||
self.exec_prefix = args.exec_prefix.replace('\\','/')
|
||||
else:
|
||||
self.exec_prefix = os.path.abspath(input_exec_prefix).replace('\\','/')
|
||||
|
||||
# check and setup the includedir
|
||||
if getattr(args, 'includedir', None) is None:
|
||||
self.includedir = '${prefix}/include'
|
||||
else:
|
||||
if args.includedir.startswith('${prefix}'):
|
||||
includedir_use_shorthand = True
|
||||
input_includedir = args.prefix + args.includedir[len('${prefix}'):]
|
||||
else:
|
||||
if args.includedir.startswith('${exec_prefix}'):
|
||||
includedir_use_shorthand = True
|
||||
input_includedir = input_exec_prefix + args.includedir[len('${exec_prefix}'):]
|
||||
else:
|
||||
includedir_use_shorthand = False
|
||||
input_includedir = args.includedir
|
||||
if not os.path.exists(input_includedir):
|
||||
raise SystemExit('Specified includedir \'%s\' is invalid' %
|
||||
args.includedir)
|
||||
if includedir_use_shorthand is True:
|
||||
self.includedir = args.includedir.replace('\\','/')
|
||||
else:
|
||||
self.includedir = os.path.abspath(input_includedir).replace('\\','/')
|
||||
|
||||
# check and setup the libdir
|
||||
if getattr(args, 'libdir', None) is None:
|
||||
self.libdir = '${prefix}/lib'
|
||||
else:
|
||||
if args.libdir.startswith('${prefix}'):
|
||||
libdir_use_shorthand = True
|
||||
input_libdir = args.prefix + args.libdir[len('${prefix}'):]
|
||||
else:
|
||||
if args.libdir.startswith('${exec_prefix}'):
|
||||
libdir_use_shorthand = True
|
||||
input_libdir = input_exec_prefix + args.libdir[len('${exec_prefix}'):]
|
||||
else:
|
||||
libdir_use_shorthand = False
|
||||
input_libdir = args.libdir
|
||||
if not os.path.exists(input_libdir):
|
||||
raise SystemExit('Specified libdir \'%s\' is invalid' %
|
||||
args.libdir)
|
||||
if libdir_use_shorthand is True:
|
||||
self.libdir = args.libdir.replace('\\','/')
|
||||
else:
|
||||
self.libdir = os.path.abspath(input_libdir).replace('\\','/')
|
||||
|
||||
# setup dictionary for replacing items in *.pc.in
|
||||
self.base_replace_items.update({'@VERSION@': self.version})
|
||||
self.base_replace_items.update({'@prefix@': self.prefix})
|
||||
self.base_replace_items.update({'@exec_prefix@': self.exec_prefix})
|
||||
self.base_replace_items.update({'@libdir@': self.libdir})
|
||||
self.base_replace_items.update({'@includedir@': self.includedir})
|
115
win32/replace.py
115
win32/replace.py
@ -1,115 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Simple utility script to manipulate
|
||||
# certain types of strings in a file
|
||||
|
||||
# This can be used in various projects where
|
||||
# there is the need to replace strings in files,
|
||||
# and is copied from GLib's $(srcroot)/build/win32
|
||||
|
||||
# Author: Fan, Chun-wei
|
||||
# Date: September 03, 2014
|
||||
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import string
|
||||
import argparse
|
||||
|
||||
valid_actions = ['remove-prefix',
|
||||
'replace-var',
|
||||
'replace-str',
|
||||
'remove-str']
|
||||
|
||||
def open_file(filename, mode):
|
||||
if sys.version_info[0] < 3:
|
||||
return open(filename, mode=mode)
|
||||
else:
|
||||
return open(filename, mode=mode, encoding='utf-8')
|
||||
|
||||
def replace_multi(src, dest, replace_items):
|
||||
with open_file(src, 'r') as s:
|
||||
with open_file(dest, 'w') as d:
|
||||
for line in s:
|
||||
replace_dict = dict((re.escape(key), value) \
|
||||
for key, value in replace_items.items())
|
||||
replace_pattern = re.compile("|".join(replace_dict.keys()))
|
||||
d.write(replace_pattern.sub(lambda m: \
|
||||
replace_dict[re.escape(m.group(0))], line))
|
||||
|
||||
def replace(src, dest, instring, outstring):
|
||||
replace_item = {instring: outstring}
|
||||
replace_multi(src, dest, replace_item)
|
||||
|
||||
def check_required_args(args, params):
|
||||
for param in params:
|
||||
if getattr(args, param, None) is None:
|
||||
raise SystemExit('%s: error: --%s argument is required' % (__file__, param))
|
||||
|
||||
def warn_ignored_args(args, params):
|
||||
for param in params:
|
||||
if getattr(args, param, None) is not None:
|
||||
print('%s: warning: --%s argument is ignored' % (__file__, param))
|
||||
|
||||
def main(argv):
|
||||
|
||||
parser = argparse.ArgumentParser(description='Process strings in a file.')
|
||||
parser.add_argument('-a',
|
||||
'--action',
|
||||
help='Action to carry out. Can be one of:\n'
|
||||
'remove-prefix\n'
|
||||
'replace-var\n'
|
||||
'replace-str\n'
|
||||
'remove-str',
|
||||
choices=valid_actions)
|
||||
parser.add_argument('-i', '--input', help='Input file')
|
||||
parser.add_argument('-o', '--output', help='Output file')
|
||||
parser.add_argument('--instring', help='String to replace or remove')
|
||||
parser.add_argument('--var', help='Autotools variable name to replace')
|
||||
parser.add_argument('--outstring',
|
||||
help='New String to replace specified string or variable')
|
||||
parser.add_argument('--removeprefix', help='Prefix of string to remove')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
input_string = ''
|
||||
output_string = ''
|
||||
|
||||
# We must have action, input, output for all operations
|
||||
check_required_args(args, ['action','input','output'])
|
||||
|
||||
# Build the arguments by the operation that is to be done,
|
||||
# to be fed into replace()
|
||||
|
||||
# Get rid of prefixes from a string
|
||||
if args.action == 'remove-prefix':
|
||||
check_required_args(args, ['instring','removeprefix'])
|
||||
warn_ignored_args(args, ['outstring','var'])
|
||||
input_string = args.removeprefix + args.instring
|
||||
output_string = args.instring
|
||||
|
||||
# Replace an m4-style variable (those surrounded by @...@)
|
||||
if args.action == 'replace-var':
|
||||
check_required_args(args, ['var','outstring'])
|
||||
warn_ignored_args(args, ['instring','removeprefix'])
|
||||
input_string = '@' + args.var + '@'
|
||||
output_string = args.outstring
|
||||
|
||||
# Replace a string
|
||||
if args.action == 'replace-str':
|
||||
check_required_args(args, ['instring','outstring'])
|
||||
warn_ignored_args(args, ['var','removeprefix'])
|
||||
input_string = args.instring
|
||||
output_string = args.outstring
|
||||
|
||||
# Remove a string
|
||||
if args.action == 'remove-str':
|
||||
check_required_args(args, ['instring'])
|
||||
warn_ignored_args(args, ['var','outstring','removeprefix'])
|
||||
input_string = args.instring
|
||||
output_string = ''
|
||||
|
||||
replace(args.input, args.output, input_string, output_string)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main(sys.argv))
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user