mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-15 06:47:14 +01:00
gmodule: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). gobject: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). (*): Remove traces of @STRIP_{BEGIN,END}@. gthread: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). docs/reference: 'make distcheck' fixes. * glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt. (html): Run 'gtkdoc-fixxref' in $(srcdir). (dist-check-gtkdoc): Add missing quote. (dist-hook): Copy in dependency order, so that none of the makerules are fired in a tarball build. * gobject/Makefile.am: Likewise. toplevel: Remove need for acconfig.h, and misc. cleanups. * acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to AC_DEFINE_UNQUOTED. (GLIB_BYTE_CONTENTS): Likewise. * configure.in: Add 'autoheader' comments to all AC_DEFINE(...) and AC_DEFINE_UNQUOTED(...) lines. Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK. (AM_PROG_LIBTOOL): Move after AC_PROG_CC. * acconfig.h: Empty out. * Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able files that are created in the builddir. (dist-hook): Handle those files. (libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only be used in an _LDADD or _LIBADD, since it expands (if necessary) to 'alloca.o'. * tests/Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
105 lines
2.9 KiB
Makefile
105 lines
2.9 KiB
Makefile
# GObject - GLib Type, Object, Parameter and Signal Library
|
|
# Copyright (C) 1997,98,99,2000 Tim Janik and Red Hat, Inc.
|
|
#
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I. @GLIB_DEBUG_FLAGS@
|
|
|
|
# libraries to compile and install
|
|
lib_LTLIBRARIES = libgobject-1.3.la
|
|
|
|
# provide g_logv() domain
|
|
AM_CFLAGS = -DG_LOG_DOMAIN=g_log_domain_gobject
|
|
|
|
# libtool stuff: set version and export symbols for resolving
|
|
libgobjectincludedir = $(includedir)/glib-2.0/gobject
|
|
libgobject_1_3_la_LDFLAGS = \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
-export-dynamic
|
|
libgobject_1_3_la_LIBADD = # $(libglib)
|
|
|
|
#
|
|
# setup source file variables
|
|
#
|
|
# GObject header files for public installation (non-generated)
|
|
gobject_public_h_sources = \
|
|
gvalue.h \
|
|
gvaluetypes.h \
|
|
gparam.h \
|
|
gparamspecs.h \
|
|
genums.h \
|
|
gobject.h \
|
|
gtype.h \
|
|
gvaluecollector.h
|
|
|
|
# private GObject header files
|
|
gobject_private_h_sources =
|
|
|
|
# GObject C sources to build the library from
|
|
gobject_c_sources = \
|
|
gvalue.c \
|
|
gvaluetypes.c \
|
|
gparam.c \
|
|
gparamspecs.c \
|
|
genums.c \
|
|
gobject.c \
|
|
gtype.c
|
|
|
|
# non-header sources (headers should be specified in the above variables)
|
|
# that don't serve as direct make target sources, i.e. they don't have
|
|
# their own .lo rules and don't get publically installed
|
|
gobject_extra_sources =
|
|
|
|
#
|
|
# setup GObject sources and their dependancies
|
|
#
|
|
gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
|
|
libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
|
|
libgobject_1_3_la_SOURCES = $(gobject_c_sources)
|
|
MAINTAINERCLEANFILES +=
|
|
# $(gobject_built_public_sources) $(gobject_built_sources)
|
|
EXTRA_HEADERS +=
|
|
EXTRA_DIST += $(gobject_private_h_sources)
|
|
EXTRA_DIST += $(gobject_extra_sources)
|
|
# $(gobject_built_sources) $(gobject_built_public_sources)
|
|
|
|
#
|
|
# programs to compile and install
|
|
#
|
|
bin_PROGRAMS = gobject-query
|
|
# source files
|
|
gobject_query_SOURCES = gobject-query.c
|
|
# link programs against libgobject
|
|
progs_LDADD = ../libglib-1.3.la libgobject-1.3.la
|
|
gobject_query_LDADD = $(progs_LDADD)
|
|
|
|
#
|
|
# auxillary files
|
|
#
|
|
EXTRA_DIST += \
|
|
makefile.mingw.in \
|
|
makefile.msc.in \
|
|
gobject.def \
|
|
gobject.rc.in
|
|
|
|
BUILT_EXTRA_DIST = \
|
|
makefile.mingw \
|
|
makefile.msc \
|
|
gobject.rc
|
|
|
|
gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
|
|
cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
|
|
cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.msc.in
|
|
cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
dist-hook: $(BUILT_EXTRA_DIST)
|
|
files='$(BUILT_EXTRA_DIST)'; \
|
|
for f in $$files; do \
|
|
if test -f $$f; then d=.; else d=$(srcdir); fi; \
|
|
cp $$d/$$f $(distdir) || exit 1; done
|
|
|