Remove autotools
This commit is contained in:
parent
8e50c7068d
commit
9a9ef4b60b
32 changed files with 4 additions and 1880 deletions
56
.gitignore
vendored
56
.gitignore
vendored
|
@ -1,55 +1 @@
|
|||
.deps
|
||||
.libs
|
||||
*-api.xml
|
||||
*.dll
|
||||
*.dll.config
|
||||
*.exe
|
||||
*.exe.config
|
||||
*.la
|
||||
*.lo
|
||||
*.msi
|
||||
*.msm
|
||||
*.mdb
|
||||
*.o
|
||||
*.pc
|
||||
*.pidb
|
||||
*.pdb
|
||||
*.userprefs
|
||||
*.wixobj
|
||||
*.wixpdb
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
audit/data
|
||||
compile
|
||||
config.*
|
||||
configure
|
||||
depcomp
|
||||
doc/gtk-sharp-3-docs.*
|
||||
generated/*/*.cs
|
||||
generated.c
|
||||
generated-stamp
|
||||
install-sh
|
||||
libtool
|
||||
ltmain.sh
|
||||
m4/
|
||||
missing
|
||||
msi/gtk-sharp-3.0.wxs
|
||||
msi/unmanaged/download-stamp
|
||||
msi/unmanaged/source/*
|
||||
policy.config
|
||||
policy.*.config
|
||||
stamp-h1
|
||||
AssemblyInfo.cs
|
||||
Makefile
|
||||
Makefile.in
|
||||
|
||||
# Nuget build files
|
||||
NuGet/build
|
||||
NuGet/nupkg
|
||||
|
||||
# Python compiled files
|
||||
*.egg-*
|
||||
*.pyc
|
||||
.eggs
|
||||
dist
|
||||
*.suo
|
||||
build/
|
||||
|
|
20
README.md
20
README.md
|
@ -9,24 +9,10 @@ Building & Installing Gtk#:
|
|||
Install the gtk-3 development headers first. On Debian, this can be done using:
|
||||
apt-get install libgtk-3-dev
|
||||
|
||||
The build is the traditional:
|
||||
We are using [meson](http://mesonbuild.com/) as a build system, you can build with
|
||||
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
You may want to consider using configure's prefix option to install
|
||||
Gtk# using the same prefix as Mono. That way all of your .NET assemblies
|
||||
get placed in the same place, and you don't need to do any extra "configuring"
|
||||
to make it so mono (and mint) can find your assemblies. In other words,
|
||||
doing something like:
|
||||
|
||||
./configure --prefix=`pkg-config --variable=prefix mono`
|
||||
make
|
||||
make install
|
||||
|
||||
If you are compiling from GIT, you will need libtool and the auto* tools
|
||||
and will need to replace the configure above with autogen.sh.
|
||||
meson build/
|
||||
ninja -C build/
|
||||
|
||||
|
||||
The gui-thread-check profiler module.
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
SUBDIRS = sources generator parser glib gio cairo pango atk gdk gtk gtkdotnet sample doc msi
|
||||
|
||||
EXTRA_DIST = \
|
||||
gapi.xsd \
|
||||
gtk-sharp.snk \
|
||||
policy.config.in \
|
||||
AssemblyInfo.cs.in \
|
||||
HACKING \
|
||||
README \
|
||||
README.generator
|
|
@ -1,82 +0,0 @@
|
|||
SNK = $(top_srcdir)/gtk-sharp.snk
|
||||
API = $(pkg)-api.xml
|
||||
RAW_API = $(pkg)-api.raw
|
||||
|
||||
ASSEMBLY_NAME = $(pkg)-sharp
|
||||
ASSEMBLY_NAME_VERSION = $(ASSEMBLY_NAME),Version=$(API_VERSION)
|
||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||
|
||||
GAPI_XSD=$(top_srcdir)/gapi.xsd
|
||||
|
||||
TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES)
|
||||
noinst_DATA = $(TARGET)
|
||||
TARGET_API = $(pkg:=-api.xml)
|
||||
gapidir = $(datadir)/gapi-3.0
|
||||
gapi_DATA = $(TARGET_API) $(GAPI_XSD)
|
||||
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*/*.cs $(API) glue/generated.c $(POLICY_CONFIGS)
|
||||
DISTCLEANFILES = $(ASSEMBLY).config
|
||||
|
||||
POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
|
||||
EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(sources) $(add_dist)
|
||||
|
||||
build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS))
|
||||
|
||||
$(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/generator/gapi-fixup.exe
|
||||
cp $(srcdir)/$(RAW_API) $(API)
|
||||
chmod u+w $(API)
|
||||
@if test -n '$(METADATA)'; then \
|
||||
echo "$(RUNTIME) $(top_builddir)/generator/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \
|
||||
$(RUNTIME) $(top_builddir)/generator/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \
|
||||
fi
|
||||
|
||||
api_includes = $(addprefix -I:, $(INCLUDE_API))
|
||||
|
||||
generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(GAPI_XSD)
|
||||
rm -rf generated/* && \
|
||||
$(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \
|
||||
$(api_includes) \
|
||||
--outdir=generated --assembly-name=$(ASSEMBLY_NAME) \
|
||||
--gluelib-name=$(pkg)sharpglue-3 --glue-filename=glue/generated.c \
|
||||
--glue-includes=$(glue_includes) \
|
||||
--schema=$(GAPI_XSD) \
|
||||
&& touch generated-stamp
|
||||
|
||||
policy.%.config: $(top_builddir)/policy.config
|
||||
sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@
|
||||
|
||||
$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK)
|
||||
$(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK)
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS)
|
||||
|
||||
$(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references)
|
||||
@rm -f $(ASSEMBLY).mdb
|
||||
$(CSC) $(CSFLAGS) -keyfile:$(SNK) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES_OPTION) $(build_sources) $(top_builddir)$(ASSEMBLYINFO)
|
||||
|
||||
install-data-local:
|
||||
@if test -n '$(pkg)'; then \
|
||||
echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test -n '$(pkg)'; then \
|
||||
echo "$(GACUTIL) -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
SUBDIRS = . glue
|
||||
|
||||
pkg = atk
|
||||
METADATA = Atk.metadata
|
||||
SYMBOLS =
|
||||
references = ../glib/glib-sharp.dll
|
||||
|
||||
glue_includes = atk/atk.h
|
||||
|
||||
sources = \
|
||||
Global.cs \
|
||||
Hyperlink.cs \
|
||||
Misc.cs \
|
||||
Object.cs \
|
||||
SelectionAdapter.cs \
|
||||
TextAdapter.cs \
|
||||
TextChangedDetail.cs \
|
||||
Util.cs
|
||||
|
||||
add_dist =
|
||||
|
||||
include ../Makefile.include
|
|
@ -1,23 +0,0 @@
|
|||
lib_LTLIBRARIES = libatksharpglue-3.la
|
||||
|
||||
libatksharpglue_3_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libatksharpglue_3_la_SOURCES = \
|
||||
misc.c \
|
||||
util.c \
|
||||
vmglueheaders.h
|
||||
|
||||
nodist_libatksharpglue_3_la_SOURCES = generated.c
|
||||
|
||||
# Adding a new glue file?
|
||||
|
||||
libatksharpglue_3_la_LIBADD = $(ATK_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(ATK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libatksharpglue.dll: $(libatksharpglue_3_la_OBJECTS) libatksharpglue.rc libatksharpglue.def
|
||||
./build-dll libatksharpglue-3 $(VERSION)
|
||||
|
||||
CLEANFILES = lib*.a lib*.dll
|
||||
|
||||
EXTRA_DIST = win32dll.c
|
|
@ -1,110 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
DIE=0
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`autoconf' installed to compile Gtk#."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if [ -z "$LIBTOOL" ]; then
|
||||
LIBTOOL=`which glibtool 2>/dev/null`
|
||||
if [ ! -x "$LIBTOOL" ]; then
|
||||
LIBTOOL=`which libtool`
|
||||
fi
|
||||
fi
|
||||
|
||||
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
|
||||
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`libtool' installed to compile Gtk#."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
}
|
||||
|
||||
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`automake' installed to compile Gtk#."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
NO_AUTOMAKE=yes
|
||||
}
|
||||
|
||||
|
||||
# if no automake, don't bother testing for aclocal
|
||||
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
|
||||
echo "installed doesn't appear recent enough."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$*"; then
|
||||
echo "**Warning**: I am going to run \`configure' with no arguments."
|
||||
echo "If you wish to pass any to it, please specify them on the"
|
||||
echo \`$0\'" command line."
|
||||
echo
|
||||
fi
|
||||
|
||||
case $CC in
|
||||
xlc )
|
||||
am_opt=--include-deps;;
|
||||
esac
|
||||
|
||||
|
||||
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
|
||||
|
||||
if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
|
||||
if test -z "$NO_LIBTOOLIZE" ; then
|
||||
echo "Running $LIBTOOLIZE..."
|
||||
$LIBTOOLIZE --force --copy --quiet
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Running aclocal $ACLOCAL_FLAGS ..."
|
||||
aclocal $ACLOCAL_FLAGS || {
|
||||
echo
|
||||
echo "**Error**: aclocal failed. This may mean that you have not"
|
||||
echo "installed all of the packages you need, or you may need to"
|
||||
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
|
||||
echo "for the prefix where you installed the packages whose"
|
||||
echo "macros were not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
|
||||
echo "Running autoheader..."
|
||||
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
|
||||
fi
|
||||
|
||||
echo "Running automake --foreign $am_opt ..."
|
||||
automake --add-missing --foreign $am_opt ||
|
||||
{ echo "**Error**: automake failed."; exit 1; }
|
||||
echo "Running autoconf ..."
|
||||
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
|
||||
|
||||
|
||||
conf_flags="--enable-maintainer-mode"
|
||||
|
||||
if test x$NOCONFIGURE = x; then
|
||||
echo Running $srcdir/configure $conf_flags "$@" ...
|
||||
$srcdir/configure $conf_flags "$@" \
|
||||
&& echo Now type \`make\' to compile gtk-sharp || exit 1
|
||||
else
|
||||
echo Skipping configure process.
|
||||
fi
|
|
@ -1,90 +0,0 @@
|
|||
ASSEMBLY_NAME = cairo-sharp
|
||||
ASSEMBLY_NAME_VERSION = $(ASSEMBLY_NAME),Version=$(CAIRO_API_VERSION)
|
||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||
SNK = $(srcdir)/mono.snk
|
||||
|
||||
TARGET=$(ASSEMBLY)
|
||||
|
||||
noinst_DATA = $(TARGET)
|
||||
gapidir = $(datadir)/gapi-3.0
|
||||
gapi_DATA = cairo-api.xml
|
||||
|
||||
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
|
||||
|
||||
sources = \
|
||||
Antialias.cs \
|
||||
Cairo.cs \
|
||||
CairoDebug.cs \
|
||||
Color.cs \
|
||||
Content.cs \
|
||||
Context.cs \
|
||||
Device.cs \
|
||||
DirectFBSurface.cs \
|
||||
Distance.cs \
|
||||
Extend.cs \
|
||||
FillRule.cs \
|
||||
Filter.cs \
|
||||
FontExtents.cs \
|
||||
FontFace.cs \
|
||||
FontOptions.cs \
|
||||
FontSlant.cs \
|
||||
FontType.cs \
|
||||
FontWeight.cs \
|
||||
Format.cs \
|
||||
GlitzSurface.cs \
|
||||
Glyph.cs \
|
||||
Gradient.cs \
|
||||
HintMetrics.cs \
|
||||
HintStyle.cs \
|
||||
ImageSurface.cs \
|
||||
LinearGradient.cs \
|
||||
LineCap.cs \
|
||||
LineJoin.cs \
|
||||
Matrix.cs \
|
||||
NativeMethods.cs \
|
||||
Operator.cs \
|
||||
Path.cs \
|
||||
Pattern.cs \
|
||||
PatternType.cs \
|
||||
PdfSurface.cs \
|
||||
Point.cs \
|
||||
PointD.cs \
|
||||
PSSurface.cs \
|
||||
RadialGradient.cs \
|
||||
Rectangle.cs \
|
||||
Region.cs \
|
||||
ScaledFont.cs \
|
||||
SolidPattern.cs \
|
||||
Status.cs \
|
||||
SubpixelOrder.cs \
|
||||
Surface.cs \
|
||||
SurfacePattern.cs \
|
||||
SurfaceType.cs \
|
||||
SvgSurface.cs \
|
||||
SvgVersion.cs \
|
||||
TextExtents.cs \
|
||||
Win32Surface.cs \
|
||||
XcbSurface.cs \
|
||||
XlibSurface.cs \
|
||||
#
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources)) $(builddir)/AssemblyInfo.cs
|
||||
|
||||
$(ASSEMBLY): $(build_sources) $(SNK)
|
||||
@rm -f $(ASSEMBLY).mdb
|
||||
$(CSC) $(CSFLAGS) -keyfile:$(SNK) -out:$(ASSEMBLY) -target:library $(references) $(build_sources)
|
||||
|
||||
install-data-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS) || exit 1; \
|
||||
fi
|
||||
|
||||
EXTRA_DIST = $(sources) cairo-api.xml mono.snk
|
||||
|
|
@ -1,320 +0,0 @@
|
|||
|
||||
AC_INIT(gtk-sharp, 3.22.6)
|
||||
|
||||
AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 tar-ustar foreign])
|
||||
AC_CANONICAL_HOST
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
AM_MAINTAINER_MODE
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
API_VERSION=3.0.0.0
|
||||
AC_SUBST(API_VERSION)
|
||||
CAIRO_API_VERSION=1.12.0.0
|
||||
AC_SUBST(CAIRO_API_VERSION)
|
||||
POLICY_VERSIONS=""
|
||||
AC_SUBST(POLICY_VERSIONS)
|
||||
|
||||
PACKAGE_VERSION=gtk-sharp-3.0
|
||||
AC_SUBST(PACKAGE_VERSION)
|
||||
|
||||
WIN64DEFINES=
|
||||
|
||||
AC_MSG_CHECKING([whether we're on Windows])
|
||||
|
||||
case "$host" in
|
||||
x86_64-*-mingw*|x86_64-*-cygwin*)
|
||||
WIN64DEFINES="-define:WIN64LONGS"
|
||||
platform_win32=yes
|
||||
AC_MSG_RESULT([yes, 64-bit])
|
||||
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC="gcc -g"
|
||||
HOST_CC="gcc"
|
||||
fi
|
||||
;;
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
platform_win32=yes
|
||||
AC_MSG_RESULT([yes, 32-bit])
|
||||
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC="gcc -g"
|
||||
HOST_CC="gcc"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
platform_win32=no
|
||||
AC_MSG_RESULT([no])
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
|
||||
|
||||
AC_CHECK_TOOL(CC, gcc, gcc)
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
dnl may require a specific autoconf version
|
||||
dnl AC_PROG_CC_FOR_BUILD
|
||||
dnl CC_FOR_BUILD not automatically detected
|
||||
CC_FOR_BUILD=$CC
|
||||
BUILD_EXEEXT=
|
||||
if test "x$cross_compiling" = "xyes"; then
|
||||
CC_FOR_BUILD=cc
|
||||
BUILD_EXEEXT=""
|
||||
fi
|
||||
AC_SUBST(CC_FOR_BUILD)
|
||||
AC_SUBST(HOST_CC)
|
||||
AC_SUBST(BUILD_EXEEXT)
|
||||
|
||||
# Set STDC_HEADERS
|
||||
AC_HEADER_STDC
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
# not 64 bit clean in cross-compile
|
||||
AC_CHECK_SIZEOF(void *, 4)
|
||||
|
||||
CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings"
|
||||
|
||||
if test "x$enable_maintainer_mode" = "xyes"; then
|
||||
DEBUG_FLAGS='-debug'
|
||||
RUNTIME_DEBUG_FLAGS=' --debug'
|
||||
else
|
||||
DEBUG_FLAGS=
|
||||
RUNTIME_DEBUG_FLAGS=
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for dlls],
|
||||
DEBUG_FLAGS='-debug'
|
||||
)
|
||||
fi
|
||||
|
||||
enable_msi="no"
|
||||
if test "x$platform_win32" = "xyes"; then
|
||||
AC_PATH_PROG(WIX_CANDLE, candle, no)
|
||||
AC_PATH_PROG(WIX_LIGHT, light, no)
|
||||
if test "x$WIX_CANDLE" != "xno" -a "x$WIX_LIGHT" != "xno" ; then
|
||||
enable_msi="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
if test "x$PKG_CONFIG" = "xno"; then
|
||||
AC_MSG_ERROR([You need to install pkg-config])
|
||||
fi
|
||||
|
||||
AC_CHECK_SIZEOF(off_t)
|
||||
OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t"
|
||||
AC_SUBST(OFF_T_FLAGS)
|
||||
|
||||
MONO_REQUIRED_VERSION=3.2.8
|
||||
PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
|
||||
|
||||
AC_PATH_PROG(GACUTIL, gacutil, no)
|
||||
if test "x$GACUTIL" = "xno" ; then
|
||||
AC_MSG_ERROR([No gacutil tool found. You need to install either the mono or .Net SDK.])
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(AL, al, no)
|
||||
if test "x$AL" = "xno" ; then
|
||||
AC_MSG_ERROR([No al tool found. You need to install either the mono or .Net SDK.])
|
||||
fi
|
||||
|
||||
if test "x$has_mono" = "xtrue"; then
|
||||
GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /gacdir $(DESTDIR)$(prefix)/lib'
|
||||
GENERATED_SOURCES_FILES=generated/*/*.cs
|
||||
GENERATED_SOURCES_OPTION=$GENERATED_SOURCES_FILES
|
||||
ASSEMBLYINFO=/AssemblyInfo.cs
|
||||
AC_PATH_PROG(RUNTIME, mono, no)
|
||||
|
||||
# libmono and glib required for gui-thread-check profiler module
|
||||
PKG_CHECK_MODULES(PROFILER, mono-2 glib-2.0)
|
||||
AM_CONDITIONAL(ENABLE_THREADCHECK, true)
|
||||
|
||||
# If mono is found, it's in the path. Require it to be in the path at runtime as well
|
||||
if test "x$RUNTIME" != "no" ; then
|
||||
RUNTIME="mono$RUNTIME_DEBUG_FLAGS"
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(CSC, mcs, no)
|
||||
if test `uname -s` = "Darwin"; then
|
||||
LIB_PREFIX=
|
||||
LIB_SUFFIX=.dylib
|
||||
else
|
||||
LIB_PREFIX=.so
|
||||
LIB_SUFFIX=
|
||||
fi
|
||||
SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`"
|
||||
if test "x$SDCHECK" = "xSystem.Drawing"; then
|
||||
enable_dotnet=yes
|
||||
else
|
||||
enable_dotnet=no
|
||||
fi
|
||||
dnl End of has_mono = true
|
||||
else
|
||||
dnl Check for .NET Framework
|
||||
AC_PATH_PROG(CSC, csc.exe, no)
|
||||
CSFLAGS="-nologo -platform:x86"
|
||||
GACUTIL_FLAGS=
|
||||
GENERATED_SOURCES_FILES="generated\\\\*.cs"
|
||||
GENERATED_SOURCES_OPTION="-recurse:$GENERATED_SOURCES_FILES"
|
||||
ASSEMBLYINFO=\\\\AssemblyInfo.cs
|
||||
AM_CONDITIONAL(ENABLE_THREADCHECK, false)
|
||||
enable_dotnet=yes
|
||||
|
||||
RUNTIME=
|
||||
LIB_PREFIX=
|
||||
LIB_SUFFIX=.dylib
|
||||
fi
|
||||
|
||||
CS="C#"
|
||||
if test "x$CSC" = "xno" ; then
|
||||
AC_MSG_ERROR([No $CS compiler found. You need to install either mono (>=$MONO_REQUIRED_VERSION) or .Net])
|
||||
fi
|
||||
|
||||
AC_SUBST(RUNTIME)
|
||||
AC_SUBST(CSC)
|
||||
AC_SUBST(GACUTIL)
|
||||
AC_SUBST(GACUTIL_FLAGS)
|
||||
AC_SUBST(LIB_PREFIX)
|
||||
AC_SUBST(LIB_SUFFIX)
|
||||
AC_SUBST(GENERATED_SOURCES_FILES)
|
||||
AC_SUBST(GENERATED_SOURCES_OPTION)
|
||||
AC_SUBST(ASSEMBLYINFO)
|
||||
|
||||
GTK_REQUIRED_VERSION=3.0.0
|
||||
GLIB_REQUIRED_VERSION=2.32.0
|
||||
|
||||
PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GLIB_REQUIRED_VERSION)
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(GIO, gio-2.0 >= $GLIB_REQUIRED_VERSION)
|
||||
AC_SUBST(GIO_CFLAGS)
|
||||
AC_SUBST(GIO_LIBS)
|
||||
|
||||
CSFLAGS="$CSFLAGS $DEBUG_FLAGS $WIN64DEFINES"
|
||||
AC_SUBST(CSFLAGS)
|
||||
|
||||
PKG_CHECK_MODULES(PANGO, pango)
|
||||
AC_SUBST(PANGO_CFLAGS)
|
||||
AC_SUBST(PANGO_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(ATK, atk)
|
||||
AC_SUBST(ATK_CFLAGS)
|
||||
AC_SUBST(ATK_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQUIRED_VERSION)
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
|
||||
AC_PATH_PROG(MDOC, mdoc, no)
|
||||
if test "x$MDOC" = "xno"; then
|
||||
enable_monodoc=no
|
||||
doc_sources_dir=
|
||||
else
|
||||
enable_monodoc=yes
|
||||
doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`"
|
||||
fi
|
||||
AC_SUBST(MDOC)
|
||||
|
||||
AM_CONDITIONAL(ENABLE_DOTNET, test "x$enable_dotnet" = "xyes")
|
||||
AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes")
|
||||
AM_CONDITIONAL(ENABLE_MSI, test "x$enable_msi" = "xyes")
|
||||
|
||||
AC_SUBST(CFLAGS)
|
||||
|
||||
AC_OUTPUT([
|
||||
AssemblyInfo.cs
|
||||
Makefile
|
||||
policy.config
|
||||
sources/Makefile
|
||||
parser/Makefile
|
||||
parser/gapi-3.0.pc
|
||||
parser/gapi3-parser
|
||||
generator/Makefile
|
||||
generator/gapi3-codegen
|
||||
generator/gapi3-fixup
|
||||
glib/Makefile
|
||||
glib/glib-sharp-3.0.pc
|
||||
glib/glib-sharp.dll.config
|
||||
gio/Makefile
|
||||
gio/gio-sharp-3.0.pc
|
||||
gio/gio-sharp.dll.config
|
||||
gio/glue/Makefile
|
||||
cairo/AssemblyInfo.cs
|
||||
cairo/Makefile
|
||||
pango/Makefile
|
||||
pango/pango-sharp.dll.config
|
||||
pango/glue/Makefile
|
||||
atk/Makefile
|
||||
atk/atk-sharp.dll.config
|
||||
atk/glue/Makefile
|
||||
gdk/Makefile
|
||||
gdk/gdk-sharp-3.0.pc
|
||||
gdk/gdk-sharp.dll.config
|
||||
gtk/Makefile
|
||||
gtk/gtk-sharp-3.0.pc
|
||||
gtk/gtk-sharp.dll.config
|
||||
gtk/glue/Makefile
|
||||
gtk/gui-thread-check/Makefile
|
||||
gtk/gui-thread-check/profiler/Makefile
|
||||
gtkdotnet/Makefile
|
||||
gtkdotnet/gtk-dotnet.dll.config
|
||||
gtkdotnet/gtk-dotnet-3.0.pc
|
||||
doc/Makefile
|
||||
msi/gtk-sharp-3.0.wxs
|
||||
msi/Makefile
|
||||
msi/unmanaged/Makefile
|
||||
sample/GtkDemo/Makefile
|
||||
sample/Makefile
|
||||
sample/pixmaps/Makefile
|
||||
sample/test/Makefile
|
||||
sample/valtest/Makefile
|
||||
sample/valtest/valtest.exe.config
|
||||
sample/opaquetest/Makefile
|
||||
sample/opaquetest/opaquetest.exe.config
|
||||
sample/gio/Makefile
|
||||
sample/gtk-gio/Makefile
|
||||
])
|
||||
|
||||
if test x$platform_win32 = xyes; then
|
||||
# Get rid of 'cyg' prefixes in library names
|
||||
sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
|
||||
fi
|
||||
|
||||
if test "x$enable_mono_cairo" = "xyes"; then
|
||||
cairo_comment="building local copy"
|
||||
else
|
||||
cairo_comment="using system assembly"
|
||||
fi
|
||||
|
||||
echo "---"
|
||||
echo "Configuration summary"
|
||||
echo ""
|
||||
echo " * Installation prefix = $prefix"
|
||||
echo " * $CS compiler: $CSC $CSFLAGS"
|
||||
echo ""
|
||||
echo " Optional assemblies included in the build:"
|
||||
echo ""
|
||||
echo " * gtk-dotnet.dll: $enable_dotnet"
|
||||
echo ""
|
||||
echo " NOTE: if any of the above say 'no' you may install the"
|
||||
echo " corresponding development packages for them, rerun"
|
||||
echo " autogen.sh to include them in the build."
|
||||
echo ""
|
||||
echo " * Documentation build enabled: $enable_monodoc "
|
||||
if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then
|
||||
echo " WARNING: The install prefix is different than the monodoc prefix."
|
||||
echo " Monodoc will not be able to load the documentation."
|
||||
fi
|
||||
echo "---"
|
||||
|
||||
if test "x$has_mono" = "xtrue"; then
|
||||
mono_prefix=`pkg-config --variable=prefix mono`
|
||||
mono_prefix_canonical=`readlink -m $mono_prefix`
|
||||
if test "x$mono_prefix_canonical" != "x$prefix"; then
|
||||
AC_MSG_WARN(Prefix to use ($prefix) is not the same as Mono's ($mono_prefix_canonical).
|
||||
Consider using ./configure --prefix=$mono_prefix_canonical
|
||||
See the README for more information.
|
||||
)
|
||||
fi
|
||||
fi
|
|
@ -1,55 +0,0 @@
|
|||
ASSEMBLIES = \
|
||||
lib/glib-sharp.dll \
|
||||
lib/gio-sharp.dll \
|
||||
lib/pango-sharp.dll \
|
||||
lib/atk-sharp.dll \
|
||||
lib/gdk-sharp.dll \
|
||||
lib/gtk-sharp.dll \
|
||||
lib/gtk-dotnet.dll
|
||||
|
||||
UPDATER = $(MDOC) update --out=en -pretty --fno-assembly-versions --since="Gtk# 3.0" $(ASSEMBLIES)
|
||||
|
||||
if ENABLE_MONODOC
|
||||
SOURCESDIR=$(prefix)/lib/monodoc/sources
|
||||
TARGETS=gtk-sharp-3-docs.zip gtk-sharp-3-docs.tree gtk-sharp-3-docs.source
|
||||
else
|
||||
SOURCESDIR=$(datadir)
|
||||
TARGETS=
|
||||
endif
|
||||
|
||||
monodocdir=$(SOURCESDIR)
|
||||
monodoc_DATA=$(TARGETS)
|
||||
|
||||
assemble: gtk-sharp-3-docs.zip gtk-sharp-3-docs.tree
|
||||
|
||||
gtk-sharp-3-docs.tree: gtk-sharp-3-docs.zip
|
||||
|
||||
gtk-sharp-3-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
|
||||
$(MDOC) assemble -o gtk-sharp-3-docs $(srcdir)/en
|
||||
|
||||
get-assemblies:
|
||||
mkdir -p lib
|
||||
cp $(top_builddir)/*/*.dll lib
|
||||
cp $(top_builddir)/*/*.dll.config lib
|
||||
|
||||
update: get-assemblies
|
||||
$(MDOC) update --out=en --fno-assembly-versions --since="Gtk# 3.0" $(ASSEMBLIES)
|
||||
|
||||
update-delete: get-assemblies
|
||||
$(MDOC) update --out=en --fno-assembly-versions --delete --since="Gtk# 3.0" $(ASSEMBLIES)
|
||||
|
||||
CLEANFILES = gtk-sharp-3-docs.zip gtk-sharp-3-docs.tree lib
|
||||
|
||||
EXTRA_DIST = \
|
||||
gtk-sharp-3-docs.source
|
||||
|
||||
NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet
|
||||
|
||||
dist-hook:
|
||||
mkdir -p $(distdir)/en
|
||||
cp $(srcdir)/en/*.xml $(distdir)/en/
|
||||
for i in $(NAMESPACES); do \
|
||||
mkdir -p $(distdir)/en/$$i; \
|
||||
cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \
|
||||
done
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
pkg = gdk
|
||||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
pkgconfig_DATA=gdk-sharp-3.0.pc
|
||||
|
||||
SYMBOLS = gdk-symbols.xml
|
||||
INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_srcdir)/cairo/cairo-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.xml
|
||||
METADATA = Gdk.metadata
|
||||
references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/gio/gio-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/cairo/cairo-sharp.dll
|
||||
glue_includes = gdk/gdk.h
|
||||
|
||||
sources = \
|
||||
Atom.cs \
|
||||
Color.cs \
|
||||
Device.cs \
|
||||
Display.cs \
|
||||
DisplayManager.cs \
|
||||
EventButton.cs \
|
||||
EventConfigure.cs \
|
||||
EventCrossing.cs \
|
||||
Event.cs \
|
||||
EventDND.cs \
|
||||
EventExpose.cs \
|
||||
EventFocus.cs \
|
||||
EventGrabBroken.cs \
|
||||
EventKey.cs \
|
||||
EventMotion.cs \
|
||||
EventOwnerChange.cs \
|
||||
EventProperty.cs \
|
||||
EventProximity.cs \
|
||||
EventScroll.cs \
|
||||
EventSelection.cs \
|
||||
EventSetting.cs \
|
||||
EventVisibility.cs \
|
||||
EventWindowState.cs \
|
||||
Global.cs \
|
||||
Key.cs \
|
||||
Keymap.cs \
|
||||
Pixbuf.cs \
|
||||
PixbufAnimation.cs \
|
||||
PixbufFrame.cs \
|
||||
PixbufLoader.cs \
|
||||
Pixdata.cs \
|
||||
Point.cs \
|
||||
Property.cs \
|
||||
Rectangle.cs \
|
||||
RGBA.cs \
|
||||
Screen.cs \
|
||||
Selection.cs \
|
||||
Size.cs \
|
||||
TextProperty.cs \
|
||||
WindowAttr.cs \
|
||||
Window.cs
|
||||
|
||||
add_dist =
|
||||
|
||||
include $(top_srcdir)/Makefile.include
|
|
@ -1,89 +0,0 @@
|
|||
assemblydir = $(prefix)/lib/gapi-3.0
|
||||
assembly_DATA = gapi-fixup.exe gapi_codegen.exe
|
||||
bin_SCRIPTS = gapi3-fixup gapi3-codegen
|
||||
CLEANFILES = gapi-fixup.exe gapi_codegen.exe
|
||||
DISTCLEANFILES = gapi3-fixup gapi3-codegen
|
||||
|
||||
references =
|
||||
|
||||
fixup_sources = \
|
||||
gapi-fixup.cs
|
||||
|
||||
sources = \
|
||||
AliasGen.cs \
|
||||
ArrayParameter.cs \
|
||||
BoxedGen.cs \
|
||||
ByRefGen.cs \
|
||||
CallbackGen.cs \
|
||||
ChildProperty.cs \
|
||||
ClassBase.cs \
|
||||
ClassField.cs \
|
||||
ClassGen.cs \
|
||||
CodeGenerator.cs \
|
||||
ConstFilenameGen.cs \
|
||||
ConstStringGen.cs \
|
||||
Constant.cs \
|
||||
Ctor.cs \
|
||||
DefaultSignalHandler.cs \
|
||||
EnumGen.cs \
|
||||
FieldBase.cs \
|
||||
GenBase.cs \
|
||||
GenerationInfo.cs \
|
||||
GObjectVM.cs \
|
||||
HandleBase.cs \
|
||||
IAccessor.cs \
|
||||
IGeneratable.cs \
|
||||
IManualMarshaler.cs \
|
||||
InterfaceGen.cs \
|
||||
InterfaceVM.cs \
|
||||
IOwnable.cs \
|
||||
LogWriter.cs \
|
||||
LPGen.cs \
|
||||
LPUGen.cs \
|
||||
ManagedCallString.cs \
|
||||
ManualGen.cs \
|
||||
MarshalGen.cs \
|
||||
MethodBase.cs \
|
||||
MethodBody.cs \
|
||||
Method.cs \
|
||||
NativeStructGen.cs \
|
||||
ObjectField.cs \
|
||||
ObjectBase.cs \
|
||||
ObjectGen.cs \
|
||||
OpaqueGen.cs \
|
||||
Options.cs \
|
||||
OwnableGen.cs \
|
||||
Parameter.cs \
|
||||
Parameters.cs \
|
||||
Parser.cs \
|
||||
Property.cs \
|
||||
PropertyBase.cs \
|
||||
ReturnValue.cs \
|
||||
Signal.cs \
|
||||
Signature.cs \
|
||||
SimpleBase.cs \
|
||||
SimpleGen.cs \
|
||||
Statistics.cs \
|
||||
StructBase.cs \
|
||||
StructABIField.cs \
|
||||
StructField.cs \
|
||||
StructGen.cs \
|
||||
SymbolTable.cs \
|
||||
UnionGen.cs \
|
||||
VirtualMethod.cs \
|
||||
VMSignature.cs \
|
||||
XmlElementExtensions.cs
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
build_fixup_sources = $(addprefix $(srcdir)/, $(fixup_sources))
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(sources) \
|
||||
$(fixup_sources)
|
||||
|
||||
gapi-fixup.exe: $(build_fixup_sources)
|
||||
$(CSC) $(CSFLAGS) -out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs
|
||||
|
||||
gapi_codegen.exe: $(build_sources)
|
||||
$(CSC) $(CSFLAGS) -out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources)
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
SUBDIRS = . glue
|
||||
|
||||
pkg = gio
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gio-sharp-3.0.pc
|
||||
INCLUDE_API = $(top_srcdir)/glib/glib-api.xml
|
||||
METADATA = Gio.metadata
|
||||
SYMBOLS =
|
||||
references = ../glib/glib-sharp.dll
|
||||
glue_includes = gio/gio.h
|
||||
|
||||
POLICY_VERSIONS=
|
||||
|
||||
sources = \
|
||||
Application.cs \
|
||||
AppInfoAdapter.cs \
|
||||
FileAdapter.cs \
|
||||
FileEnumerator.cs \
|
||||
FileFactory.cs \
|
||||
GioGlobal.cs \
|
||||
GioStream.cs \
|
||||
IFile.cs
|
||||
|
||||
add_dist = gio-sharp-3.0.pc.in
|
||||
|
||||
include ../Makefile.include
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
lib_LTLIBRARIES = libgiosharpglue-3.la
|
||||
|
||||
libgiosharpglue_3_la_SOURCES =
|
||||
|
||||
nodist_libgiosharpglue_3_la_SOURCES = generated.c
|
||||
|
||||
libgiosharpglue_3_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libgiosharpglue_3_la_LIBADD = $(GIO_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(GIO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libgiosharpglue.dll: $(libgiosharpglue_3_la_OBJECTS) libgiosharpglue.rc libgiosharpglue.def
|
||||
./build-dll libgiosharpglue-3 $(VERSION)
|
||||
|
||||
CLEANFILES = lib*.a lib*.dll
|
||||
|
||||
EXTRA_DIST = win32dll.c
|
|
@ -1,141 +0,0 @@
|
|||
SUBDIRS =
|
||||
|
||||
SNK = $(top_srcdir)/gtk-sharp.snk
|
||||
TARGET = $(ASSEMBLY)
|
||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||
ASSEMBLY_NAME = glib-sharp
|
||||
ASSEMBLY_NAME_VERSION = $(ASSEMBLY_NAME),Version=$(API_VERSION)
|
||||
noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES)
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = glib-sharp-3.0.pc
|
||||
gapidir = $(datadir)/gapi-3.0
|
||||
gapi_DATA = glib-api.xml
|
||||
|
||||
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS)
|
||||
DISTCLEANFILES = $(ASSEMBLY).config
|
||||
|
||||
POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
|
||||
references =
|
||||
|
||||
# TODO: auto-generate at compile time the following classes:
|
||||
# Cond, Date, DateTime, Mutex, PollFD, RecMutex, (half)Source,
|
||||
# SourceCallbackFuncs, SourceDummyMarshal, SourceFunc,
|
||||
# SourceFuncNative, SourceFuncs, TimeVal, TimeZone
|
||||
# (to do that, we need to fill missing pieces in glib's
|
||||
# gobject-introspection metadata upstream)
|
||||
|
||||
sources = \
|
||||
Argv.cs \
|
||||
Bytes.cs \
|
||||
ConnectBeforeAttribute.cs \
|
||||
Cond.cs \
|
||||
Date.cs \
|
||||
DateTime.cs \
|
||||
DefaultSignalHandlerAttribute.cs \
|
||||
DestroyNotify.cs \
|
||||
ExceptionManager.cs \
|
||||
FileUtils.cs \
|
||||
GException.cs \
|
||||
GInterfaceAdapter.cs \
|
||||
GInterfaceAttribute.cs \
|
||||
GLibSynchronizationContext.cs \
|
||||
Global.cs \
|
||||
GString.cs \
|
||||
GType.cs \
|
||||
GTypeAttribute.cs \
|
||||
Idle.cs \
|
||||
InitiallyUnowned.cs \
|
||||
IOChannel.cs \
|
||||
IWrapper.cs \
|
||||
KeyFile.cs \
|
||||
ListBase.cs \
|
||||
List.cs \
|
||||
Log.cs \
|
||||
MainContext.cs \
|
||||
MainLoop.cs \
|
||||
ManagedValue.cs \
|
||||
Markup.cs \
|
||||
Marshaller.cs \
|
||||
MissingIntPtrCtorException.cs \
|
||||
Mutex.cs \
|
||||
NotifyHandler.cs \
|
||||
Object.cs \
|
||||
ObjectManager.cs \
|
||||
Opaque.cs \
|
||||
ParamSpec.cs \
|
||||
PollFD.cs \
|
||||
Priority.cs \
|
||||
PropertyAttribute.cs \
|
||||
PtrArray.cs \
|
||||
RecMutex.cs \
|
||||
Signal.cs \
|
||||
SignalArgs.cs \
|
||||
SignalAttribute.cs \
|
||||
SignalClosure.cs \
|
||||
SList.cs \
|
||||
Source.cs \
|
||||
SourceFunc.cs \
|
||||
SourceFuncs.cs \
|
||||
SourceDummyMarshal.cs \
|
||||
GLibSharp.SourceFuncNative.cs \
|
||||
GLibSharp.SourceDummyMarshalNative.cs \
|
||||
SourceCallbackFuncs.cs \
|
||||
Spawn.cs \
|
||||
Thread.cs \
|
||||
Timeout.cs \
|
||||
TimeVal.cs \
|
||||
TimeZone.cs \
|
||||
ToggleRef.cs \
|
||||
TypeFundamentals.cs \
|
||||
TypeInitializerAttribute.cs \
|
||||
TypeNameAttribute.cs \
|
||||
ValueArray.cs \
|
||||
Value.cs \
|
||||
Variant.cs \
|
||||
VariantType.cs
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
dist_sources = $(sources)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(dist_sources) \
|
||||
$(ASSEMBLY).config.in \
|
||||
glib-sharp-3.0.pc.in \
|
||||
glib-api.xml
|
||||
|
||||
$(ASSEMBLY): $(build_sources) $(SNK)
|
||||
@rm -f $(ASSEMBLY).mdb
|
||||
$(CSC) $(CSFLAGS) -keyfile:$(SNK) -unsafe -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(top_builddir)$(ASSEMBLYINFO)
|
||||
|
||||
policy.%.config: $(top_builddir)/policy.config
|
||||
sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@
|
||||
|
||||
$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK)
|
||||
$(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK)
|
||||
|
||||
install-data-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
if !PLATFORM_WIN32
|
||||
SUBDIRS = . glue gui-thread-check
|
||||
else
|
||||
SUBDIRS = . glue
|
||||
endif
|
||||
|
||||
pkg = gtk
|
||||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
pkgconfig_DATA=gtk-sharp-3.0.pc
|
||||
|
||||
SYMBOLS = gtk-symbols.xml
|
||||
INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_srcdir)/cairo/cairo-api.xml $(top_builddir)/gio/gio-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml
|
||||
METADATA = Gtk.metadata
|
||||
references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/cairo/cairo-sharp.dll $(top_builddir)/gio/gio-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll
|
||||
glue_includes = gtk/gtk.h
|
||||
|
||||
sources = \
|
||||
Accel.cs \
|
||||
AccelKey.cs \
|
||||
Action.cs \
|
||||
ActionEntry.cs \
|
||||
ActionGroup.cs \
|
||||
Adjustment.cs \
|
||||
Application.cs \
|
||||
ArrayExtensions.cs \
|
||||
Bin.cs \
|
||||
BindingAttribute.cs \
|
||||
Builder.cs \
|
||||
Button.cs \
|
||||
Calendar.cs \
|
||||
CellAreaBox.cs \
|
||||
CellLayoutAdapter.cs \
|
||||
CellRenderer.cs \
|
||||
CellView.cs \
|
||||
CheckMenuItem.cs \
|
||||
ChildPropertyAttribute.cs \
|
||||
Clipboard.cs \
|
||||
ColorSelection.cs \
|
||||
ComboBox.cs \
|
||||
ComboBoxText.cs \
|
||||
Container.cs \
|
||||
Dialog.cs \
|
||||
Drag.cs \
|
||||
Entry.cs \
|
||||
EntryCompletion.cs \
|
||||
FileChooserDialog.cs \
|
||||
FileChooserNative.cs \
|
||||
Frame.cs \
|
||||
Global.cs \
|
||||
HBox.cs \
|
||||
HScale.cs \
|
||||
ICellLayout.cs \
|
||||
IconFactory.cs \
|
||||
IconSet.cs \
|
||||
IconTheme.cs \
|
||||
IconView.cs \
|
||||
Image.cs \
|
||||
ImageMenuItem.cs \
|
||||
Init.cs \
|
||||
ITreeModel.cs \
|
||||
ITreeNode.cs \
|
||||
Key.cs \
|
||||
Label.cs \
|
||||
ListStore.cs \
|
||||
Menu.cs \
|
||||
MenuItem.cs \
|
||||
MessageDialog.cs \
|
||||
NativeDialog.cs \
|
||||
NodeCellDataFunc.cs \
|
||||
NodeSelection.cs \
|
||||
NodeStore.cs \
|
||||
NodeView.cs \
|
||||
Notebook.cs \
|
||||
PaperSize.cs \
|
||||
Plug.cs \
|
||||
Printer.cs \
|
||||
RadioAction.cs \
|
||||
RadioActionEntry.cs \
|
||||
RadioButton.cs \
|
||||
RadioMenuItem.cs \
|
||||
RadioToolButton.cs \
|
||||
RecentManager.cs \
|
||||
RowsReorderedHandler.cs \
|
||||
ScrolledWindow.cs \
|
||||
SelectionData.cs \
|
||||
Settings.cs \
|
||||
SpinButton.cs \
|
||||
StatusIcon.cs \
|
||||
Stock.cs \
|
||||
StockItem.cs \
|
||||
StockManager.cs \
|
||||
Style.cs \
|
||||
StyleContext.cs \
|
||||
StyleProviderPriority.cs \
|
||||
Target.cs \
|
||||
TargetEntry.cs \
|
||||
TargetList.cs \
|
||||
TextAttributes.cs \
|
||||
TextBuffer.cs \
|
||||
TextChildAnchor.cs \
|
||||
TextIter.cs \
|
||||
TextMark.cs \
|
||||
TextTag.cs \
|
||||
TextView.cs \
|
||||
ThreadNotify.cs \
|
||||
ToggleActionEntry.cs \
|
||||
TreeEnumerator.cs \
|
||||
TreeIter.cs \
|
||||
TreeMenu.cs \
|
||||
TreeModelAdapter.cs \
|
||||
TreeModelFilter.cs \
|
||||
TreeModelSort.cs \
|
||||
TreeNode.cs \
|
||||
TreeNodeAttribute.cs \
|
||||
TreeNodeValueAttribute.cs \
|
||||
TreePath.cs \
|
||||
TreeSelection.cs \
|
||||
TreeStore.cs \
|
||||
TreeView.cs \
|
||||
TreeViewColumn.cs \
|
||||
UIManager.cs \
|
||||
VBox.cs \
|
||||
Viewport.cs \
|
||||
VScale.cs \
|
||||
Widget.cs \
|
||||
Window.cs
|
||||
|
||||
add_dist = gtk-sharp-3.0.pc.in
|
||||
|
||||
include $(top_srcdir)/Makefile.include
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
lib_LTLIBRARIES = libgtksharpglue-3.la
|
||||
|
||||
libgtksharpglue_3_la_SOURCES = \
|
||||
cellrenderer.c \
|
||||
container.c \
|
||||
style.c \
|
||||
vmglueheaders.h \
|
||||
widget.c
|
||||
|
||||
nodist_libgtksharpglue_3_la_SOURCES = generated.c
|
||||
|
||||
# Adding a new glue file?
|
||||
|
||||
libgtksharpglue_3_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libgtksharpglue_3_la_LIBADD = $(GTK_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libgtksharpglue.dll: $(libgtksharpglue_3_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def
|
||||
./build-dll libgtksharpglue-3 $(VERSION)
|
||||
|
||||
CLEANFILES = lib*.a lib*.dll
|
||||
|
||||
EXTRA_DIST = win32dll.c
|
|
@ -1,3 +0,0 @@
|
|||
|
||||
SUBDIRS = profiler
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
if ENABLE_THREADCHECK
|
||||
lib_LTLIBRARIES = libmono-profiler-gui-thread-check.la
|
||||
endif
|
||||
|
||||
libmono_profiler_gui_thread_check_la_SOURCES = gui-thread-check.c
|
||||
|
||||
libmono_profiler_gui_thread_check_la_LIBADD = @PROFILER_LIBS@
|
||||
|
||||
AM_CPPFLAGS = @PROFILER_CFLAGS@ -Wall
|
|
@ -1,67 +0,0 @@
|
|||
if ENABLE_DOTNET
|
||||
TARGET = $(ASSEMBLY) $(ASSEMBLY).config
|
||||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
pkgconfig_DATA=gtk-dotnet-3.0.pc
|
||||
else
|
||||
TARGET =
|
||||
endif
|
||||
|
||||
SNK = $(top_srcdir)/gtk-sharp.snk
|
||||
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
||||
ASSEMBLY_NAME = gtk-dotnet
|
||||
ASSEMBLY_NAME_VERSION = $(ASSEMBLY_NAME),Version=$(API_VERSION)
|
||||
noinst_DATA = $(ASSEMBLY) $(POLICY_ASSEMBLIES)
|
||||
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS)
|
||||
DISTCLEANFILES = $(ASSEMBLY).config
|
||||
|
||||
POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS)))
|
||||
|
||||
references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/gio/gio-sharp.dll $(top_builddir)/cairo/cairo-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll
|
||||
build_references = $(addprefix -r:, $(references)) -r:System.Drawing.dll
|
||||
|
||||
sources = \
|
||||
Graphics.cs \
|
||||
StyleContextExtensions.cs
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(sources) \
|
||||
$(ASSEMBLY).config.in \
|
||||
gtk-dotnet-3.0.pc.in
|
||||
|
||||
$(ASSEMBLY): $(build_sources) $(references) $(SNK)
|
||||
@rm -f $(ASSEMBLY).mdb
|
||||
$(CSC) $(CSFLAGS) -keyfile:$(SNK) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(top_builddir)$(ASSEMBLYINFO)
|
||||
|
||||
policy.%.config: $(top_builddir)/policy.config
|
||||
sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@
|
||||
|
||||
$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK)
|
||||
$(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK)
|
||||
|
||||
install-data-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test -n '$(TARGET)'; then \
|
||||
echo "$(GACUTIL) -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u $(ASSEMBLY_NAME_VERSION) $(GACUTIL_FLAGS) || exit 1; \
|
||||
if test -n '$(POLICY_VERSIONS)'; then \
|
||||
for i in $(POLICY_VERSIONS); do \
|
||||
echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
|
||||
"$(GACUTIL)" -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \
|
||||
done \
|
||||
fi \
|
||||
fi
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
SUBDIRS = . glue
|
||||
|
||||
pkg = pango
|
||||
METADATA = Pango.metadata
|
||||
INCLUDE_API = $(top_srcdir)/cairo/cairo-api.xml
|
||||
SYMBOLS = pango-symbols.xml
|
||||
references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/cairo/cairo-sharp.dll
|
||||
glue_includes = pango/pango.h
|
||||
|
||||
sources = \
|
||||
Analysis.cs \
|
||||
AttrBackground.cs \
|
||||
AttrColor.cs \
|
||||
AttrFallback.cs \
|
||||
AttrFamily.cs \
|
||||
AttrFloat.cs \
|
||||
AttrFontDesc.cs \
|
||||
AttrForeground.cs \
|
||||
AttrGravity.cs \
|
||||
AttrGravityHint.cs \
|
||||
Attribute.cs \
|
||||
AttrInt.cs \
|
||||
AttrIterator.cs \
|
||||
AttrLanguage.cs \
|
||||
AttrLetterSpacing.cs \
|
||||
AttrList.cs \
|
||||
AttrRise.cs \
|
||||
AttrScale.cs \
|
||||
AttrShape.cs \
|
||||
AttrSize.cs \
|
||||
AttrStretch.cs \
|
||||
AttrStrikethrough.cs \
|
||||
AttrStrikethroughColor.cs \
|
||||
AttrStyle.cs \
|
||||
AttrUnderline.cs \
|
||||
AttrUnderlineColor.cs \
|
||||
AttrVariant.cs \
|
||||
AttrWeight.cs \
|
||||
Context.cs \
|
||||
Coverage.cs \
|
||||
FontFamily.cs \
|
||||
FontMap.cs \
|
||||
Global.cs \
|
||||
GlyphItem.cs \
|
||||
GlyphString.cs \
|
||||
Item.cs \
|
||||
Layout.cs \
|
||||
LayoutLine.cs \
|
||||
LayoutRun.cs \
|
||||
Matrix.cs \
|
||||
Scale.cs \
|
||||
ScriptIter.cs \
|
||||
TabArray.cs \
|
||||
Units.cs
|
||||
|
||||
add_dist =
|
||||
|
||||
include $(top_srcdir)/Makefile.include
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
lib_LTLIBRARIES = libpangosharpglue-3.la
|
||||
|
||||
libpangosharpglue_3_la_SOURCES =
|
||||
|
||||
nodist_libpangosharpglue_3_la_SOURCES = generated.c
|
||||
|
||||
# Adding a new glue file?
|
||||
|
||||
libpangosharpglue_3_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libpangosharpglue_3_la_LIBADD = $(PANGO_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(PANGO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libpangosharpglue.dll: $(libpangosharpglue_3_la_OBJECTS) libpangosharpglue.rc libpangosharpglue.def
|
||||
./build-dll libpangosharpglue-3 $(VERSION)
|
||||
|
||||
CLEANFILES = lib*.a lib*.dll
|
||||
|
||||
EXTRA_DIST = win32dll.c
|
|
@ -1,22 +0,0 @@
|
|||
assemblydir = $(prefix)/lib/gapi-3.0
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
assembly_DATA = gapi-parser.exe
|
||||
pkgconfig_DATA = gapi-3.0.pc
|
||||
bin_SCRIPTS = gapi3-parser
|
||||
assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl
|
||||
CLEANFILES = gapi-parser.exe
|
||||
DISTCLEANFILES = gapi3-parser gapi-3.0.pc
|
||||
|
||||
sources = \
|
||||
gapi-parser.cs
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(sources) \
|
||||
gapi3-parser.in \
|
||||
gapi_pp.pl \
|
||||
gapi2xml.pl \
|
||||
gapi-3.0.pc.in
|
||||
|
||||
gapi-parser.exe: $(srcdir)/gapi-parser.cs
|
||||
$(CSC) $(CSFLAGS) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs
|
||||
|
|
@ -1,89 +0,0 @@
|
|||
assemblies = \
|
||||
$(top_builddir)/glib/glib-sharp.dll \
|
||||
$(top_builddir)/gio/gio-sharp.dll \
|
||||
$(top_builddir)/cairo/cairo-sharp.dll \
|
||||
$(top_builddir)/pango/pango-sharp.dll \
|
||||
$(top_builddir)/atk/atk-sharp.dll \
|
||||
$(top_builddir)/gdk/gdk-sharp.dll \
|
||||
$(top_builddir)/gtk/gtk-sharp.dll
|
||||
|
||||
references = $(addprefix -r:, $(assemblies))
|
||||
TARGETS = GtkDemo.exe
|
||||
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||
noinst_SCRIPTS = $(TARGETS)
|
||||
|
||||
EXTRA_DIST = $(sources) $(resource_files)
|
||||
|
||||
sources = \
|
||||
DemoApplicationWindow.cs \
|
||||
DemoAttribute.cs \
|
||||
DemoButtonBox.cs \
|
||||
DemoClipboard.cs \
|
||||
DemoColorSelection.cs \
|
||||
DemoDialog.cs \
|
||||
DemoDrawingArea.cs \
|
||||
DemoEditableCells.cs \
|
||||
DemoEntryCompletion.cs \
|
||||
DemoExpander.cs \
|
||||
DemoHyperText.cs \
|
||||
DemoIconView.cs \
|
||||
DemoImages.cs \
|
||||
DemoListStore.cs \
|
||||
DemoMain.cs \
|
||||
DemoMenus.cs \
|
||||
DemoPanes.cs \
|
||||
DemoPixbuf.cs \
|
||||
DemoRotatedText.cs \
|
||||
DemoSizeGroup.cs \
|
||||
DemoSpinner.cs \
|
||||
DemoStockBrowser.cs \
|
||||
DemoTextView.cs \
|
||||
DemoThemingStyleClasses.cs \
|
||||
DemoTreeStore.cs \
|
||||
DemoUIManager.cs \
|
||||
DemoPrinting.cs
|
||||
|
||||
resource_ids = \
|
||||
css/css_basics.css,css_basics.css \
|
||||
css/reset.css,reset.css \
|
||||
images/gnome-foot.png,gnome-foot.png \
|
||||
images/MonoIcon.png,MonoIcon.png \
|
||||
images/gnome-calendar.png,gnome-calendar.png \
|
||||
images/gnome-gmush.png,gnome-gmush.png \
|
||||
images/gnu-keys.png,gnu-keys.png \
|
||||
images/gnome-applets.png,gnome-applets.png \
|
||||
images/gnome-gsame.png,gnome-gsame.png \
|
||||
images/alphatest.png,alphatest.png \
|
||||
images/gnome-gimp.png,gnome-gimp.png \
|
||||
images/apple-red.png,apple-red.png \
|
||||
images/background.jpg,background.jpg \
|
||||
images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \
|
||||
images/floppybuddy.gif,floppybuddy.gif \
|
||||
theming.ui,theming.ui
|
||||
|
||||
resource_files = \
|
||||
css/css_basics.css \
|
||||
css/reset.css \
|
||||
images/gnome-foot.png \
|
||||
images/MonoIcon.png \
|
||||
images/gnome-calendar.png \
|
||||
images/gnome-gmush.png \
|
||||
images/gnu-keys.png \
|
||||
images/gnome-applets.png \
|
||||
images/gnome-gsame.png \
|
||||
images/alphatest.png \
|
||||
images/gnome-gimp.png \
|
||||
images/apple-red.png \
|
||||
images/background.jpg \
|
||||
images/gtk-logo-rgb.gif \
|
||||
images/floppybuddy.gif \
|
||||
theming.ui
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
build_resources = $(addprefix $(srcdir)/, $(resource_ids))
|
||||
resources = $(addprefix -resource:, $(build_sources), $(build_resources))
|
||||
|
||||
GtkDemo.exe: $(build_sources) $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:GtkDemo.exe $(build_sources) $(references) $(resources)
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
SUBDIRS = test GtkDemo pixmaps valtest opaquetest gio gtk-gio
|
||||
|
||||
if ENABLE_DOTNET
|
||||
DOTNET_TARGETS=drawing-sample.exe
|
||||
DOTNET_ASSEMBLY=../gtkdotnet/gtk-dotnet.dll
|
||||
else
|
||||
DOTNET_TARGETS=
|
||||
DOTNET_ASSEMBLY=
|
||||
endif
|
||||
|
||||
TARGETS = gtk-hello-world.exe async-sample.exe button.exe calendar.exe subclass.exe menu.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe native-instantiation.exe polarfixed.exe cairo-sample.exe scribble.exe testdnd.exe custom-cellrenderer.exe custom-widget.exe custom-scrollable.exe cairo-png.exe variantdemo.exe #scribble-xinput.exe $(DOTNET_TARGETS)
|
||||
|
||||
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
||||
|
||||
assemblies = \
|
||||
$(top_builddir)/glib/glib-sharp.dll \
|
||||
$(top_builddir)/gio/gio-sharp.dll \
|
||||
$(top_builddir)/cairo/cairo-sharp.dll \
|
||||
$(top_builddir)/pango/pango-sharp.dll \
|
||||
$(top_builddir)/atk/atk-sharp.dll \
|
||||
$(top_builddir)/gdk/gdk-sharp.dll \
|
||||
$(top_builddir)/gtk/gtk-sharp.dll
|
||||
|
||||
references=$(addprefix -r:, $(assemblies))
|
||||
|
||||
noinst_SCRIPTS = $(TARGETS)
|
||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||
|
||||
gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs
|
||||
|
||||
async-sample.exe: $(srcdir)/AsyncSample.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:async-sample.exe $(references) $(srcdir)/AsyncSample.cs
|
||||
|
||||
button.exe: $(srcdir)/ButtonApp.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:button.exe $(references) $(srcdir)/ButtonApp.cs
|
||||
|
||||
calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:calendar.exe $(references) $(srcdir)/CalendarApp.cs
|
||||
|
||||
subclass.exe: $(srcdir)/Subclass.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:subclass.exe $(references) $(srcdir)/Subclass.cs
|
||||
|
||||
menu.exe: $(srcdir)/Menu.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:menu.exe $(references) $(srcdir)/Menu.cs
|
||||
|
||||
native-instantiation.exe: $(srcdir)/NativeInstantiationTest.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:native-instantiation.exe $(references) $(srcdir)/NativeInstantiationTest.cs
|
||||
|
||||
scribble.exe: $(srcdir)/Scribble.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:scribble.exe $(references) $(srcdir)/Scribble.cs
|
||||
|
||||
scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs
|
||||
|
||||
treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs
|
||||
|
||||
managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs
|
||||
|
||||
nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs
|
||||
|
||||
treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs
|
||||
|
||||
cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:cairo-sample.exe $(references) $(srcdir)/CairoSample.cs
|
||||
|
||||
testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -unsafe -out:testdnd.exe $(references) $(srcdir)/TestDnd.cs
|
||||
|
||||
custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs
|
||||
|
||||
dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll
|
||||
|
||||
drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES)
|
||||
$(CSC) $(CSFLAGS) -out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs
|
||||
|
||||
custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs
|
||||
|
||||
custom-scrollable.exe: $(srcdir)/CustomScrollableWidget.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:custom-scrollable.exe $(references) $(srcdir)/CustomScrollableWidget.cs
|
||||
|
||||
actions.exe: $(srcdir)/Actions.cs
|
||||
$(CSC) $(CSFLAGS) -unsafe -out:actions.exe $(references) $(srcdir)/Actions.cs
|
||||
|
||||
polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs
|
||||
|
||||
spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:spawn.exe $(references) $(srcdir)/SpawnTests.cs
|
||||
|
||||
assistant.exe: $(srcdir)/Assistant.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:assistant.exe $(references) $(srcdir)/Assistant.cs
|
||||
|
||||
registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs
|
||||
|
||||
gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs
|
||||
|
||||
cairo-png.exe: $(srcdir)/CairoPng.cs $(top_builddir)/cairo/cairo-sharp.dll
|
||||
$(CSC) $(CSFLAGS) -out:cairo-png.exe -r:$(top_builddir)/cairo/cairo-sharp.dll $(srcdir)/CairoPng.cs
|
||||
|
||||
variantdemo.exe: $(srcdir)/VariantDemo.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:variantdemo.exe $(references) $(srcdir)/VariantDemo.cs
|
||||
|
||||
EXTRA_DIST = \
|
||||
HelloWorld.cs \
|
||||
Assistant.cs \
|
||||
AsyncSample.cs \
|
||||
ButtonApp.cs \
|
||||
CalendarApp.cs \
|
||||
Subclass.cs \
|
||||
Menu.cs \
|
||||
Scribble.cs \
|
||||
ScribbleXInput.cs \
|
||||
SpawnTests.cs \
|
||||
TreeModelDemo.cs \
|
||||
TreeViewDemo.cs \
|
||||
ManagedTreeViewDemo.cs \
|
||||
NativeInstantiationTest.cs \
|
||||
NodeViewDemo.cs \
|
||||
GExceptionTest.cs \
|
||||
CairoPng.cs \
|
||||
CairoSample.cs \
|
||||
TestDnd.cs \
|
||||
CustomCellRenderer.cs \
|
||||
DrawingSample.cs \
|
||||
CustomWidget.cs \
|
||||
CustomScrollableWidget.cs \
|
||||
Actions.cs \
|
||||
PropertyRegistration.cs \
|
||||
PolarFixed.cs \
|
||||
VariantDemo.cs
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
TARGETS = AppInfo.exe Volume.exe
|
||||
|
||||
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
||||
|
||||
assemblies = \
|
||||
$(top_builddir)/glib/glib-sharp.dll \
|
||||
$(top_builddir)/gio/gio-sharp.dll
|
||||
|
||||
references=$(addprefix -r:, $(assemblies))
|
||||
|
||||
noinst_SCRIPTS = $(TARGETS)
|
||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||
|
||||
.cs.exe: $(assemblies)
|
||||
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
||||
|
||||
EXTRA_DIST = \
|
||||
AppInfo.cs \
|
||||
Volume.cs
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
TARGETS = MountOperation.exe
|
||||
|
||||
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
||||
|
||||
assemblies = \
|
||||
$(top_builddir)/glib/glib-sharp.dll \
|
||||
$(top_builddir)/cairo/cairo-sharp.dll \
|
||||
$(top_builddir)/gtk/gtk-sharp.dll \
|
||||
$(top_builddir)/gio/gio-sharp.dll \
|
||||
$(top_builddir)/gdk/gdk-sharp.dll \
|
||||
$(top_builddir)/pango/pango-sharp.dll \
|
||||
$(top_builddir)/atk/atk-sharp.dll
|
||||
|
||||
references=$(addprefix -r:, $(assemblies))
|
||||
|
||||
noinst_SCRIPTS = $(TARGETS)
|
||||
CLEANFILES = $(TARGETS) $(DEBUGS)
|
||||
|
||||
.cs.exe: $(assemblies)
|
||||
$(CSC) $(CSFLAGS) /out:$@ $(references) $<
|
||||
|
||||
EXTRA_DIST = \
|
||||
MountOperation.cs
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
noinst_SCRIPTS = opaquetest.exe
|
||||
lib_LTLIBRARIES = libopaque.la
|
||||
|
||||
assemblies=../../glib/glib-sharp.dll ../../gio/gio-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll
|
||||
references=$(addprefix -r:, $(assemblies))
|
||||
|
||||
opaquetest.exe: generated-stamp OpaqueTest.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -unsafe -out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES_OPTION)
|
||||
|
||||
libopaque_la_SOURCES = \
|
||||
opaques.c \
|
||||
opaques.h
|
||||
|
||||
libopaque_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libopaque_la_LIBADD = $(GTK_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(GTK_CFLAGS)
|
||||
|
||||
generated-stamp: opaque-api.xml
|
||||
rm -rf generated/* && \
|
||||
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml \
|
||||
--include=../../gtk/gtk-api.xml --include=../../gdk/gdk-api.xml \
|
||||
--outdir=generated --assembly-name=opaque-sharp \
|
||||
--schema=$(top_srcdir)/gapi.xsd \
|
||||
&& touch generated-stamp
|
||||
|
||||
api:
|
||||
PATH=../../parser:$(PATH) $(RUNTIME) ../../parser/gapi-parser.exe opaque-sources.xml
|
||||
$(RUNTIME) ../../generator/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml
|
||||
|
||||
install:
|
||||
|
||||
CLEANFILES = \
|
||||
opaquetest.exe \
|
||||
opaquetest.exe.mdb \
|
||||
generated-stamp \
|
||||
$(GENERATED_SOURCES_FILES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
OpaqueTest.cs \
|
||||
opaque-api.xml \
|
||||
opaque-sources.xml
|
|
@ -1,7 +0,0 @@
|
|||
EXTRA_DIST = \
|
||||
gnome-ccdialog.png \
|
||||
gnome-color-browser.png \
|
||||
gnome-gmenu.png \
|
||||
gnome-mdi.png \
|
||||
gtk-sharp-logo.png
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
TARGETS = WidgetViewer.exe
|
||||
|
||||
assemblies= \
|
||||
$(top_builddir)/glib/glib-sharp.dll \
|
||||
$(top_builddir)/gio/gio-sharp.dll \
|
||||
$(top_builddir)/cairo/cairo-sharp.dll \
|
||||
$(top_builddir)/pango/pango-sharp.dll \
|
||||
$(top_builddir)/atk/atk-sharp.dll \
|
||||
$(top_builddir)/gdk/gdk-sharp.dll \
|
||||
$(top_builddir)/gtk/gtk-sharp.dll
|
||||
|
||||
references = $(addprefix -r:, $(assemblies))
|
||||
|
||||
noinst_SCRIPTS = $(TARGETS)
|
||||
CLEANFILES = $(TARGETS)
|
||||
|
||||
EXTRA_DIST = $(sources) ChangeLog
|
||||
|
||||
sources = \
|
||||
TestCheckButton.cs \
|
||||
TestColorSelection.cs \
|
||||
TestComboBox.cs \
|
||||
TestDialog.cs \
|
||||
TestFlipping.cs \
|
||||
TestRadioButton.cs \
|
||||
TestRange.cs \
|
||||
TestSizeGroup.cs \
|
||||
TestStatusbar.cs \
|
||||
WidgetViewer.cs
|
||||
|
||||
build_sources = $(addprefix $(srcdir)/, $(sources))
|
||||
|
||||
WidgetViewer.exe: $(build_sources) $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -out:WidgetViewer.exe $(references) $(build_sources)
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
noinst_SCRIPTS = valtest.exe
|
||||
lib_LTLIBRARIES = libvalobj.la
|
||||
|
||||
assemblies=../../glib/glib-sharp.dll ../../gio/gio-sharp.dll ../../cairo/cairo-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll
|
||||
references=$(addprefix -r:, $(assemblies))
|
||||
|
||||
valtest.exe: generated-stamp Valtest.cs $(assemblies)
|
||||
$(CSC) $(CSFLAGS) -unsafe -out:valtest.exe $(references) $(srcdir)/Valtest.cs $(GENERATED_SOURCES_OPTION)
|
||||
|
||||
libvalobj_la_SOURCES = \
|
||||
valobj.c \
|
||||
valobj.h
|
||||
|
||||
libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
libvalobj_la_LIBADD = $(GTK_LIBS)
|
||||
|
||||
AM_CPPFLAGS = $(GTK_CFLAGS)
|
||||
|
||||
generated-stamp: valobj-api.xml
|
||||
rm -rf generated/* && \
|
||||
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml \
|
||||
--include=../../gtk/gtk-api.xml --include=../../gdk/gdk-api.xml \
|
||||
--outdir=generated --assembly-name=valobj-sharp \
|
||||
--schema=$(top_srcdir)/gapi.xsd && \
|
||||
touch generated-stamp
|
||||
|
||||
api:
|
||||
PATH=../../parser:$(PATH) $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml
|
||||
|
||||
install:
|
||||
|
||||
CLEANFILES = \
|
||||
valtest.exe \
|
||||
valtest.exe.mdb \
|
||||
generated-stamp \
|
||||
$(GENERATED_SOURCES_FILES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
Valtest.cs \
|
||||
valobj-api.xml \
|
||||
valobj-sources.xml
|
|
@ -1,28 +0,0 @@
|
|||
EXTRA_DIST = \
|
||||
README \
|
||||
sources.xml \
|
||||
gtk_tree_model_signal_fix.patch
|
||||
|
||||
TARGET_GTK_VERSION=3.22.6
|
||||
TARGET_GTK_API=3.22
|
||||
|
||||
GTK_DOWNLOADS = \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/glib/2.50/glib-2.50.2.tar.xz \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-1.40.3.tar.xz \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/atk/2.22/atk-2.22.0.tar.xz \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.36/gdk-pixbuf-2.36.2.tar.xz \
|
||||
http://ftp.gnome.org/pub/GNOME/sources/gtk+/$(TARGET_GTK_API)/gtk+-$(TARGET_GTK_VERSION).tar.xz
|
||||
|
||||
api:
|
||||
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
|
||||
|
||||
get-source-code:
|
||||
for i in $(GTK_DOWNLOADS); do \
|
||||
wget $$i --output-document=- | tar -xJ ; \
|
||||
done;
|
||||
ln -f -s gtkfilechooserprivate.h gtk+-$(TARGET_GTK_VERSION)/gtk/gtkfilechooserpriv.h
|
||||
patch -p1 -d gtk+-$(TARGET_GTK_VERSION) < patches/gtk_tree_model_signal_fix.patch
|
||||
echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
|
||||
echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-$(TARGET_GTK_VERSION)/gtk/gtkclipboard.h
|
||||
patch -p0 gtk+-$(TARGET_GTK_VERSION)/gtk/gtktextattributes.h < patches/gtktextattributes-gi-scanner.patch
|
||||
patch -p0 glib-2.50.2/gio/gwin32registrykey.h < patches/gwin32registrykey-little-endian.patch
|
Loading…
Reference in a new issue