1 # GObject - GLib Type, Object, Parameter and Signal Library
2 # Copyright (C) 1997,98,99,2000 Tim Janik and Red Hat, Inc.
4 ## Process this file with automake to produce Makefile.in
8 INCLUDES = -I$(top_srcdir) -I$(top_builddir) @GLIB_DEBUG_FLAGS@
10 # libraries to compile and install
11 lib_LTLIBRARIES = libgobject.la
13 # provide g_logv() domain
14 DEFS += -DG_LOG_DOMAIN=g_log_domain_gobject
16 # libtool stuff: set version and export symbols for resolving
17 libgobjectincludedir = $(includedir)/gobject
18 libgobject_la_LDFLAGS = @STRIP_BEGIN@ \
19 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
20 -release $(LT_RELEASE) \
23 libgobject_la_LIBADD = # $(libglib)
26 # setup source file variables
28 # GObject header files for public installation (non-generated)
29 gobject_public_h_sources = @STRIP_BEGIN@ \
39 # private GObject header files
40 gobject_private_h_sources = @STRIP_BEGIN@ \
43 # GObject C sources to build the library from
44 gobject_c_sources = @STRIP_BEGIN@ \
54 # non-header sources (headers should be specified in the above variables)
55 # that don't serve as direct make target sources, i.e. they don't have
56 # their own .lo rules and don't get publically installed
57 gobject_extra_sources = @STRIP_BEGIN@ \
61 # setup GObject sources and their dependancies
63 gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
64 libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
65 libgobject_la_SOURCES = $(gobject_c_sources)
66 MAINTAINERCLEANFILES += # $(gobject_built_public_sources) $(gobject_built_sources)
68 EXTRA_DIST += $(gobject_private_h_sources)
69 EXTRA_DIST += $(gobject_extra_sources) # $(gobject_built_sources) $(gobject_built_public_sources)
72 # programs to compile and install
74 bin_PROGRAMS = gobject-query
76 gobject_query_SOURCES = gobject-query.c
77 # link programs against libgobject
78 progs_LDADD = ../libglib.la libgobject.la
79 gobject_query_LDADD = $(progs_LDADD)
91 gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
92 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
94 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
95 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status