2005-11-06 Sven Neumann <sven@gimp.org> Added support for binary relocation by means of binreloc, largely based on a patch by Hongli Lai: * m4macros/Makefile.am * m4macros/binreloc.m4: new file providing a macro to check for binreloc support. * acinclude.m4 * configure.in: use the macro. * libgimpbase/Makefile.am * libgimpbase/gimpreloc.[ch]: new files providing binreloc support on Linux. * libgimpbase/gimpenv.[ch]: use binreloc, provide a function to initialize the environment machinery. * libgimpbase/gimpbase.def: updated. * app/Makefile.am: fiddle with the LDFLAGS for binreloc. * app/main.c (main): gimp_env_init(FALSE). * libgimp/gimp.c (gimp_main): gimp_env_init(TRUE).
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
# The name of the module.
|
|
DOC_MODULE = libgimpbase
|
|
|
|
# The top-level SGML file.
|
|
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
|
|
|
|
# The directory containing the source code.
|
|
DOC_SOURCE_DIR = $(top_srcdir)/$(DOC_MODULE)
|
|
|
|
# Extra options to pass to gtkdoc-scangobj
|
|
SCANGOBJ_OPTIONS =
|
|
|
|
# Extra options to supply to gtkdoc-scan
|
|
SCAN_OPTIONS =
|
|
|
|
# Extra options to supply to gtkdoc-mkdb
|
|
MKDB_OPTIONS = --sgml-mode --output-format=xml
|
|
|
|
# Extra options to supply to gtkdoc-fixref
|
|
FIXXREF_OPTIONS =
|
|
|
|
# Used for dependencies
|
|
HFILE_GLOB = $(DOC_SOURCE_DIR)/*.h
|
|
CFILE_GLOB = $(DOC_SOURCE_DIR)/*.c
|
|
|
|
# Header files to ignore when scanning
|
|
IGNORE_HFILES = \
|
|
gimpbase.h \
|
|
gimpbase-private.h \
|
|
gimpreloc.h \
|
|
gimpwin32-io.h
|
|
|
|
# Images to copy into HTML directory
|
|
HTML_IMAGES=
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
|
content_files =
|
|
|
|
# Other files to distribute
|
|
extra_files =
|
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
# if $(DOC_MODULE).types is non-empty.
|
|
GTKDOC_CFLAGS =
|
|
GTKDOC_LIBS =
|
|
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
# Other files to distribute
|
|
EXTRA_DIST += version.in
|