summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2020-03-13 23:45:46 +1100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2020-03-18 19:13:49 -0400
commit5bbb8ed91d3782dc586c7c0e8023ca7af72e2d39 (patch)
treeff100bf0686b61909e82aa4b0211de28fefe4f19
parent16a76c5785aa7349bf3f9ef48cee56236196f495 (diff)
downloadgupnp-igd-5bbb8ed91d3782dc586c7c0e8023ca7af72e2d39.tar.gz
Remove autotools build.
Switch completely to meson, like GUPnP did already
-rw-r--r--INSTALL237
-rw-r--r--Makefile.am24
-rwxr-xr-xautogen.sh38
-rw-r--r--configure.ac71
-rw-r--r--doc/Makefile.am97
-rw-r--r--gupnp-igd-1.0-uninstalled.pc.in12
-rw-r--r--gupnp-igd-1.0.pc.in12
-rw-r--r--libgupnp-igd/Makefile.am77
-rw-r--r--m4/as-check-python-headers.m430
-rw-r--r--python/Makefile.am44
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/examples/Makefile.am9
-rw-r--r--tests/gtest/Makefile.am19
13 files changed, 0 insertions, 671 deletions
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index d3c5b40..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,237 +0,0 @@
-Installation Instructions
-*************************
-
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007 Free Software Foundation, Inc.
-
-This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
-
-Basic Installation
-==================
-
-Briefly, the shell commands `./configure; make; make install' should
-configure, build, and install this package. The following
-more-detailed instructions are generic; see the `README' file for
-instructions specific to this package.
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, and a
-file `config.log' containing compiler output (useful mainly for
-debugging `configure').
-
- It can also use an optional file (typically called `config.cache'
-and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring. Caching is
-disabled by default to prevent problems with accidental use of stale
-cache files.
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If you are using the cache, and at
-some point `config.cache' contains results you don't want to keep, you
-may remove or edit it.
-
- The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'. You need `configure.ac' if
-you want to change it or regenerate `configure' using a newer version
-of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system.
-
- Running `configure' might take a while. While running, it prints
- some messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Optionally, type `make check' to run any self-tests that come with
- the package.
-
- 4. Type `make install' to install the programs and any data files and
- documentation.
-
- 5. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- also a `make maintainer-clean' target, but that is intended mainly
- for the package's developers. If you use it, you may have to get
- all sorts of other programs in order to regenerate files that came
- with the distribution.
-
- 6. Often, you can also type `make uninstall' to remove the installed
- files again.
-
-Compilers and Options
-=====================
-
-Some systems require unusual options for compilation or linking that the
-`configure' script does not know about. Run `./configure --help' for
-details on some of the pertinent environment variables.
-
- You can give `configure' initial values for configuration parameters
-by setting variables in the command line or in the environment. Here
-is an example:
-
- ./configure CC=c99 CFLAGS=-g LIBS=-lposix
-
- *Note Defining Variables::, for more details.
-
-Compiling For Multiple Architectures
-====================================
-
-You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory. To do this, you can use GNU `make'. `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
- With a non-GNU `make', it is safer to compile the package for one
-architecture at a time in the source code directory. After you have
-installed the package for one architecture, use `make distclean' before
-reconfiguring for another architecture.
-
-Installation Names
-==================
-
-By default, `make install' installs the package's commands under
-`/usr/local/bin', include files under `/usr/local/include', etc. You
-can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
-
- You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files. If you
-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
-PREFIX as the prefix for installing programs and libraries.
-Documentation and other data files still use the regular prefix.
-
- In addition, if you use an unusual directory layout you can give
-options like `--bindir=DIR' to specify different values for particular
-kinds of files. Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
-
- If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
-Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
- For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
-There may be some features `configure' cannot figure out automatically,
-but needs to determine by the type of machine the package will run on.
-Usually, assuming the package is built to be run on the _same_
-architectures, `configure' can figure that out, but if it prints a
-message saying it cannot guess the machine type, give it the
-`--build=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name which has the form:
-
- CPU-COMPANY-SYSTEM
-
-where SYSTEM can have one of these forms:
-
- OS KERNEL-OS
-
- See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the machine type.
-
- If you are _building_ compiler tools for cross-compiling, you should
-use the option `--target=TYPE' to select the type of system they will
-produce code for.
-
- If you want to _use_ a cross compiler, that generates code for a
-platform different from the build platform, you should specify the
-"host" platform (i.e., that on which the generated programs will
-eventually be run) with `--host=TYPE'.
-
-Sharing Defaults
-================
-
-If you want to set default values for `configure' scripts to share, you
-can create a site shell script called `config.site' that gives default
-values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Defining Variables
-==================
-
-Variables not defined in a site shell script can be set in the
-environment passed to `configure'. However, some packages may run
-configure again during the build, and the customized values of these
-variables may be lost. In order to avoid this problem, you should set
-them in the `configure' command line, using `VAR=value'. For example:
-
- ./configure CC=/usr/local2/bin/gcc
-
-causes the specified `gcc' to be used as the C compiler (unless it is
-overridden in the site shell script).
-
-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug. Until the bug is fixed you can use this workaround:
-
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
-
-`configure' Invocation
-======================
-
-`configure' recognizes the following options to control how it operates.
-
-`--help'
-`-h'
- Print a summary of the options to `configure', and exit.
-
-`--version'
-`-V'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`--cache-file=FILE'
- Enable the cache: use and save the results of the tests in FILE,
- traditionally `config.cache'. FILE defaults to `/dev/null' to
- disable caching.
-
-`--config-cache'
-`-C'
- Alias for `--cache-file=config.cache'.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made. To
- suppress all normal output, redirect it to `/dev/null' (any error
- messages will still be shown).
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`configure' also accepts some other, not widely useful, options. Run
-`configure --help' for more details.
-
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index d9c62f2..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-
-if WANT_PYTHON
-PYTHON_SUBDIR = python
-else
-PYTHON_SUBDIR =
-endif
-
-DIST_SUBDIRS = libgupnp-igd python tests doc
-
-SUBDIRS = libgupnp-igd $(PYTHON_SUBDIR) tests doc
-
-ACLOCAL_AMFLAGS = -I m4
-
-pkgconfig_DATA= gupnp-igd-1.0.pc
-pkgconfigdir = $(libdir)/pkgconfig
-
-DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
-
-# Extra clean files so that maintainer-clean removes *everything*
-MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing config.h.in
-
-dist-hook:
- chmod u+w ${distdir}/ChangeLog
- if test -d .git; then git log >${distdir}/ChangeLog; fi
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 60bbda0..0000000
--- a/autogen.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/sh
-
-# Copyright (C) 2010 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>.
-#
-# Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
-#
-# This file is part of GUPnP.
-#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-test -n "$srcdir" || srcdir=`dirname "$0"`
-test -n "$srcdir" || srcdir=.
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME git"
- exit 1
-}
-
-test -d $srcdir/m4 || mkdir -p $srcdir/m4
-
-# require automak 1.11 for vala support
-REQUIRED_AUTOMAKE_VERSION=1.11 \
-REQUIRED_AUTOCONF_VERSION=2.64 \
-REQUIRED_LIBTOOL_VERSION=2.2.6 \
-REQUIRED_INTLTOOL_VERSION=0.40.0 \
-. gnome-autogen.sh "$@"
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index aa7f0ca..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,71 +0,0 @@
-AC_PREREQ(2.53)
-AC_INIT(gupnp-igd, 0.2.5, http://www.gupnp.org/)
-AM_INIT_AUTOMAKE()
-AC_CONFIG_SRCDIR(libgupnp-igd/gupnp-simple-igd.h)
-AC_CONFIG_HEADERS(config.h)
-AC_CONFIG_MACRO_DIR([m4])
-
-AC_ISC_POSIX
-AC_PROG_CC
-AC_STDC_HEADERS
-AC_PROG_LIBTOOL
-AC_FUNC_MMAP
-
-PKG_CHECK_MODULES(LIBGUPNP, glib-2.0 >= 2.26 gobject-2.0 >= 2.26 gssdp-1.2 gupnp-1.2 >= 0.18 gthread-2.0)
-
-# glib-genmarshal
-GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
-AC_SUBST(GLIB_GENMARSHAL)
-
-dnl use pretty build output with automake >= 1.11
-m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
- [AM_DEFAULT_VERBOSITY=1
- AC_SUBST(AM_DEFAULT_VERBOSITY)])
-
-GTK_DOC_CHECK([1.10],[--flavour no-tmpl])
-
-AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_26], [Version 2.26 is required])
-AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_26], [Ignore post 2.26 deprecations])
-
-GOBJECT_INTROSPECTION_CHECK([0.10])
-if test "x$found_introspection" = "xyes"; then
- INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG --variable=typelibdir --define-variable="libdir=${libdir}" gobject-introspection-1.0`
- INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir --define-variable="datadir=${datadir}" gobject-introspection-1.0`
- AC_SUBST(INTROSPECTION_TYPELIBDIR)
- AC_SUBST(INTROSPECTION_GIRDIR)
-fi
-
-AC_ARG_ENABLE([python],
- AC_HELP_STRING([--enable-python], [Enable pre-introspection Python bindings]),
- [case "${enableval}" in
- yes) WANT_PYTHON=yes ;;
- no) WANT_PYTHON=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-python) ;;
- esac],
- WANT_PYTHON=no)
-
-if test "x$WANT_PYTHON" = "xyes"; then
- AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
- PKG_CHECK_MODULES(PYGUPNP_IGD, [ pygobject-2.0 >= 2.12.0 ] )
- PKG_CHECK_MODULES(PYCODEGEN, [ pygobject-2.0 >= 2.16.0 ],
- PYCODEGEN=pygobject-codegen-2.0,
- PKG_CHECK_MODULES(PYCODEGEN, [ pygtk-2.0 >= 2.10 ],
- PYCODEGEN=pygtk-codegen-2.0,
- AC_MSG_ERROR([You need pygobject 2.16+ or pygtk for the codegen])))
- AM_PATH_PYTHON([], [], [AC_MSG_ERROR([You need python installed])])
-fi
-AC_SUBST(PYCODEGEN)
-AM_CONDITIONAL(WANT_PYTHON, test "x$WANT_PYTHON" = "xyes")
-
-AC_OUTPUT([
-Makefile
-libgupnp-igd/Makefile
-python/Makefile
-tests/Makefile
-tests/gtest/Makefile
-tests/examples/Makefile
-doc/Makefile
-doc/version.xml
-gupnp-igd-1.0.pc
-gupnp-igd-1.0-uninstalled.pc
-])
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index c0f4eeb..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,97 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-# We require automake 1.6 at least.
-AUTOMAKE_OPTIONS = 1.6
-
-# This is a blank Makefile.am for using gtk-doc.
-# Copy this to your project's API docs directory and modify the variables to
-# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
-# of using the various options.
-
-# The name of the module, e.g. 'glib'.
-DOC_MODULE=gupnp-igd
-
-# The top-level SGML file. You can change this if you want to.
-DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
-
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=$(top_srcdir)/libgupnp-igd
-
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=
-
-# Extra options to supply to gtkdoc-scan.
-# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--rebuild-types
-
-# Extra options to supply to gtkdoc-mkdb.
-# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
-MKDB_OPTIONS=--xml-mode --output-format=xml
-
-# Extra options to supply to gtkdoc-mktmpl
-# e.g. MKTMPL_OPTIONS=--only-section-tmpl
-MKTMPL_OPTIONS=
-
-# Extra options to supply to gtkdoc-fixref. Not normally needed.
-# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
-FIXXREF_OPTIONS=
-
-# Used for dependencies. The docs will be rebuilt if any of these change.
-# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
-# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/libgupnp-igd/*.h
-CFILE_GLOB=$(top_srcdir)/libgupnp-igd/*.c
-
-# Header files to ignore when scanning.
-# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=$(top_srcdir)/libgupnp-igd/*marshal.h \
- gupnp-simple-igd-priv.h \
- gupnp-enum-types.h
-
-# Images to copy into HTML directory.
-# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
-HTML_IMAGES=
-
-# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files= version.xml
-
-# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
-# These files must be listed here *and* in content_files
-# e.g. expand_content_files=running.sgml
-expand_content_files=
-
-# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
-# Only needed if you are using gtkdoc-scangobj to dynamically query widget
-# signals and properties.
-# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
-# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
-AM_CPPFLAGS= $(LIBGUPNP_CFLAGS) -I$(top_srcdir)
-GTKDOC_LIBS= \
- $(top_builddir)/libgupnp-igd/libgupnp-igd-1.0.la \
- $(LIBGUPNP_LIBS)
-
-# This includes the standard gtk-doc make rules, copied by gtkdocize.
-include $(top_srcdir)/gtk-doc.make
-
-# Other files to distribute
-# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += version.xml.in
-
-# Files not to distribute
-# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
-# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
-DISTCLEANFILES = $(DOC_MODULE).types
-
-# Comment this out if you want your docs-status tested during 'make check'
-# TESTS = $(GTKDOC_CHECK)
-
-if ENABLE_GTK_DOC
-TESTS_ENVIRONMENT = \
- DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
- SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
-TESTS = $(GTKDOC_CHECK)
-endif
diff --git a/gupnp-igd-1.0-uninstalled.pc.in b/gupnp-igd-1.0-uninstalled.pc.in
deleted file mode 100644
index 6db3bee..0000000
--- a/gupnp-igd-1.0-uninstalled.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=
-exec_prefix=
-libdir=${pcfiledir}/libgupnp-av
-includedir=${pcfiledir}/
-
-Name: gupnp-igd-1.0
-Description: GUPnP Simple IGD library
-Requires: gupnp-1.2
-Version: @VERSION@
-Libs: ${libdir}/libgupnp-av-1.0.la
-Cflags: -I${includedir}
-
diff --git a/gupnp-igd-1.0.pc.in b/gupnp-igd-1.0.pc.in
deleted file mode 100644
index aa74ed3..0000000
--- a/gupnp-igd-1.0.pc.in
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: gupnp-igd-1.0
-Description: GUPnP Simple IGD library
-Requires: gupnp-1.2
-Version: @VERSION@
-Libs: -L${libdir} -lgupnp-igd-1.0
-Cflags: -I${includedir}/gupnp-igd-1.0
-
diff --git a/libgupnp-igd/Makefile.am b/libgupnp-igd/Makefile.am
deleted file mode 100644
index e10d857..0000000
--- a/libgupnp-igd/Makefile.am
+++ /dev/null
@@ -1,77 +0,0 @@
-# current:revision:age
-# library source changed -> increment REVISION
-# interfaces added/removed/changed -> increment CURRENT, REVISION = 0
-# interfaces added -> increment AGE
-# interfaces removed -> AGE = 0
-
-LTVERSION = 6:0:2
-
-AM_CFLAGS = $(LIBGUPNP_CFLAGS) -I$(top_srcdir)
-
-libgupnp_igd_incdir = $(includedir)/gupnp-igd-1.0/libgupnp-igd
-
-lib_LTLIBRARIES = libgupnp-igd-1.0.la
-
-libgupnp_igd_inc_HEADERS = \
- gupnp-simple-igd.h \
- gupnp-simple-igd-thread.h
-
-libgupnp_igd_1_0_la_SOURCES = \
- gupnp-simple-igd.c \
- gupnp-simple-igd-thread.c \
- gupnp-simple-igd-priv.h \
- gupnp-enum-types.c \
- gupnp-enum-types.h \
- $(BUILT_SOURCES)
-
-BUILT_SOURCES = \
- gupnp-simple-igd-marshal.c \
- gupnp-simple-igd-marshal.h
-
-gupnp-simple-igd-marshal.h: gupnp-simple-igd-marshal.list Makefile
- $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_gupnp_simple_igd_marshal $< > $@.tmp
- @mv $@.tmp $@
-
-gupnp-simple-igd-marshal.c: gupnp-simple-igd-marshal.list Makefile
- $(AM_V_GEN)echo "#include \"glib-object.h\"" > $@.tmp && \
- echo "#include \"gupnp-simple-igd-marshal.h\"" >> $@.tmp && \
- $(GLIB_GENMARSHAL) --body --prefix=_gupnp_simple_igd_marshal $< >> $@.tmp && \
- mv $@.tmp $@
-
-libgupnp_igd_1_0_la_LDFLAGS = -version-info $(LTVERSION) \
- -export-symbols-regex ^gupnp_ \
- $(GUPNP_LDFLAGS)
-
-libgupnp_igd_1_0_la_LIBADD = \
- $(LIBGUPNP_LIBS)
-
-EXTRA_DIST = gupnp-simple-igd-marshal.list
-
-
-include $(INTROSPECTION_MAKEFILE)
-GUPnPIgd-1.0.gir: libgupnp-igd-1.0.la
-INTROSPECTION_SCANNER_ARGS = --identifier-prefix=gupnp \
- --identifier-prefix=gupnp_igd \
- --identifier-prefix=GUPnP \
- --identifier-prefix=GUPnPIgd
-INTROSPECTION_GIRS = GUPnPIgd-1.0.gir
-GUPnPIgd_1_0_gir_NAMESPACE = GUPnPIgd
-GUPnPIgd_1_0_gir_VERSION = 1.0
-GUPnPIgd_1_0_gir_LIBS = $(lib_LTLIBRARIES)
-GUPnPIgd_1_0_gir_FILES = $(libgupnp_igd_1_0_la_SOURCES) $(libgupnp_igd_inc_HEADERS)
-GUPnPIgd_1_0_gir_INCLUDES=GObject-2.0
-GUPnPIgd_1_0_gir_PACKAGES=gupnp-1.2
-GUPnPIgd_1_0_gir_CFLAGS=-I$(srcdir) -I$(top_srcdir)
-
-if HAVE_INTROSPECTION
-
-girdir = $(INTROSPECTION_GIRDIR)
-dist_gir_DATA = $(INTROSPECTION_GIRS)
-typelibdir = $(INTROSPECTION_TYPELIBDIR)
-typelib_DATA = GUPnPIgd-1.0.typelib
-
-endif
-
-CLEANFILES = $(BUILT_SOURCES) $(dist_gir_DATA) $(typelib_DATA)
-DISTCLEANFILES = $(BUILT_SOURCES)
-MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)
diff --git a/m4/as-check-python-headers.m4 b/m4/as-check-python-headers.m4
deleted file mode 100644
index 585455f..0000000
--- a/m4/as-check-python-headers.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-dnl Copy pasted from gst-python's acinclude.m4 file
-
-dnl a macro to check for ability to create python extensions
-dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
-dnl function also defines PYTHON_INCLUDES
-AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
-[AC_REQUIRE([AM_PATH_PYTHON])
-AC_MSG_CHECKING(for headers required to compile python extensions)
-dnl deduce PYTHON_INCLUDES
-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
-py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
-if $PYTHON-config --help 2>/dev/null; then
- PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
-else
- PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
- if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
- fi
-fi
-AC_SUBST(PYTHON_INCLUDES)
-dnl check if the headers exist:
-save_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
-AC_TRY_CPP([#include <Python.h>],dnl
-[AC_MSG_RESULT(found)
-$1],dnl
-[AC_MSG_RESULT(not found)
-$2])
-CPPFLAGS="$save_CPPFLAGS"
-])
diff --git a/python/Makefile.am b/python/Makefile.am
deleted file mode 100644
index 44594c0..0000000
--- a/python/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-PYDEFS=`pkg-config --variable=defsdir pygobject-2.0`
-PYDEFS ?= `pkg-config --variable=defsdir pygtk-2.0`
-
-AM_CPPFLAGS = \
- -I. \
- -I$(top_srcdir) \
- -DDATADIR=\""$(datadir)"\" \
- $(PYGUPNP_IGD_CFLAGS) \
- $(PYTHON_INCLUDES) \
- $(LIBGUPNP_CFLAGS) \
- $(WARN_CFLAGS)
-
-BUILT_SOURCES = \
- pygupnp-igd.c
-
-pygupnpigddir = $(pyexecdir)/gupnp
-pygupnpigd_LTLIBRARIES = igd.la
-pygupnpigd_PYTHON = __init__.py
-
-igd_la_SOURCES = \
- pygupnp-igd-module.c
-
-nodist_igd_la_SOURCES = pygupnp-igd.c
-
-igd_la_LIBADD = \
- $(PYGUPNP_IGD_LIBS) \
- $(top_builddir)/libgupnp-igd/libgupnp-igd-1.0.la
-
-igd_la_LDFLAGS = \
- -module -avoid-version
-
-pygupnp-igd.c: $(srcdir)/pygupnp-igd.override $(srcdir)/pygupnp-igd.defs
- $(PYCODEGEN) \
- --prefix igd \
- --override $(srcdir)/pygupnp-igd.override \
- $(srcdir)/pygupnp-igd.defs > $@
-
-EXTRA_DIST = \
- pygupnp-igd.defs \
- pygupnp-igd-filters.defs \
- pygupnp-igd.override \
- rebuild-defs.sh
-
-CLEANFILES = $(BUILT_SOURCES)
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 916d05e..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = gtest examples
diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am
deleted file mode 100644
index 7fdf6f3..0000000
--- a/tests/examples/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-
-noinst_PROGRAMS = test test-thread
-
-LDADD = \
- $(top_builddir)/libgupnp-igd/libgupnp-igd-1.0.la \
- $(LIBGUPNP_LIBS)
-
-AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
- -I$(top_srcdir)
diff --git a/tests/gtest/Makefile.am b/tests/gtest/Makefile.am
deleted file mode 100644
index c1375e8..0000000
--- a/tests/gtest/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-
-TESTS_ENVIRONMENT = XML_PATH=$(srcdir) \
- G_SLICE=debug-blocks \
- LD_LIBRARY_PATH=$(top_builddir)/libgupnp-igd/.libs:$(LD_LIBRARY_PATH)
-
-TESTS = $(check_PROGRAMS)
-
-check_PROGRAMS = gupnp-simple-igd
-
-gupnp_simple_igd_SOURCES = gupnp-simple-igd.c
-
-LDADD = \
- $(top_builddir)/libgupnp-igd/libgupnp-igd-1.0.la \
- $(LIBGUPNP_LIBS)
-
-AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
- -I$(top_srcdir)
-
-EXTRA_DIST = InternetGatewayDevice.xml WANIPConnection.xml WANPPPConnection.xml