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@ \
38 # private GObject header files
39 gobject_private_h_sources = @STRIP_BEGIN@ \
42 # GObject C sources to build the library from
43 gobject_c_sources = @STRIP_BEGIN@ \
52 # non-header sources (headers should be specified in the above variables)
53 # that don't serve as direct make target sources, i.e. they don't have
54 # their own .lo rules and don't get publically installed
55 gobject_extra_sources = @STRIP_BEGIN@ \
59 # setup GObject sources and their dependancies
61 gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
62 libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
63 libgobject_la_SOURCES = $(gobject_c_sources)
64 MAINTAINERCLEANFILES += # $(gobject_built_public_sources) $(gobject_built_sources)
66 EXTRA_DIST += $(gobject_private_h_sources)
67 EXTRA_DIST += $(gobject_extra_sources) # $(gobject_built_sources) $(gobject_built_public_sources)
70 # programs to compile and install
72 bin_PROGRAMS = gobject-query
74 gobject_query_SOURCES = gobject-query.c
75 # link programs against libgobject
76 progs_LDADD = ../libglib.la libgobject.la
77 gobject_query_LDADD = $(progs_LDADD)
89 gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
90 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
92 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
93 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status