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
6 INCLUDES = -I$(top_srcdir) -I$(top_builddir) @GLIB_DEBUG_FLAGS@
8 # libraries to compile and install
9 lib_LTLIBRARIES = libgobject-1.3.la
11 # provide g_logv() domain
12 AM_CFLAGS = -DG_LOG_DOMAIN=g_log_domain_gobject
14 # libtool stuff: set version and export symbols for resolving
15 libgobjectincludedir = $(includedir)/glib-2.0/gobject
16 libgobject_1_3_la_LDFLAGS = \
17 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
19 libgobject_1_3_la_LIBADD = # $(libglib)
22 # setup source file variables
24 # GObject header files for public installation (non-generated)
25 gobject_public_h_sources = @STRIP_BEGIN@ \
42 # private GObject header files
43 gobject_private_h_sources =
45 # GObject C sources to build the library from
46 gobject_c_sources = @STRIP_BEGIN@ \
62 # non-header sources (headers should be specified in the above variables)
63 # that don't serve as direct make target sources, i.e. they don't have
64 # their own .lo rules and don't get publically installed
65 gobject_extra_sources =
68 # setup GObject sources and their dependancies
70 gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
71 libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
72 libgobject_1_3_la_SOURCES = $(gobject_c_sources)
73 MAINTAINERCLEANFILES +=
74 # $(gobject_built_public_sources) $(gobject_built_sources)
76 EXTRA_DIST += $(gobject_private_h_sources)
77 EXTRA_DIST += $(gobject_extra_sources)
78 # $(gobject_built_sources) $(gobject_built_public_sources)
81 # programs to compile and install
83 bin_PROGRAMS = gobject-query glib-genmarshal
85 gobject_query_SOURCES = gobject-query.c
86 glib_genmarshal_SOURCES = glib-genmarshal.c
87 # link programs against libgobject
88 progs_LDADD = ../libglib-1.3.la libgobject-1.3.la
89 gobject_query_LDADD = $(progs_LDADD)
90 glib_genmarshal_LDADD = $(progs_LDADD)
93 # manual pages to install
95 man_MANS = glib-genmarshal.1
112 gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
113 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
115 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
116 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
118 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.msc.in
119 cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
121 dist-hook: $(BUILT_EXTRA_DIST)
122 files='$(BUILT_EXTRA_DIST)'; \
123 for f in $$files; do \
124 if test -f $$f; then d=.; else d=$(srcdir); fi; \
125 cp $$d/$$f $(distdir) || exit 1; done