revert accidentally commited change
[glib.git] / gobject / Makefile.am
blob4b8e658c2fbcb74ec69d13b9c3b11362f6ad7495
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) \
18         -export-dynamic
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@ \
26         gboxed.h \
27         gbsearcharray.h \
28         gclosure.h \
29         genums.h \
30         gobject.h \
31         gparam.h \
32         gparamspecs.h \
33         gsignal.h \
34         gtype.h \
35         gtypeplugin.h \
36         gvalue.h \
37         gvaluecollector.h \
38         gvaluetypes.h \
39 @STRIP_END@
41 # private GObject header files
42 gobject_private_h_sources = 
44 # GObject C sources to build the library from
45 gobject_c_sources = @STRIP_BEGIN@ \
46         gboxed.c \
47         gbsearcharray.c \
48         gclosure.c \
49         genums.c \
50         gobject.c \
51         gparam.c \
52         gparamspecs.c \
53         gsignal.c \
54         gtype.c \
55         gtypeplugin.c \
56         gvalue.c \
57         gvaluetypes.c \
58 @STRIP_END@
60 # non-header sources (headers should be specified in the above variables)
61 # that don't serve as direct make target sources, i.e. they don't have
62 # their own .lo rules and don't get publically installed
63 gobject_extra_sources = 
66 # setup GObject sources and their dependancies
68 gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
69 libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
70 libgobject_1_3_la_SOURCES = $(gobject_c_sources)
71 MAINTAINERCLEANFILES += 
72 # $(gobject_built_public_sources) $(gobject_built_sources)
73 EXTRA_HEADERS +=
74 EXTRA_DIST += $(gobject_private_h_sources)
75 EXTRA_DIST += $(gobject_extra_sources) 
76 # $(gobject_built_sources) $(gobject_built_public_sources)
79 # programs to compile and install
81 bin_PROGRAMS = gobject-query glib-genmarshal
82 # source files
83 gobject_query_SOURCES = gobject-query.c
84 glib_genmarshal_SOURCES = glib-genmarshal.c
85 # link programs against libgobject
86 progs_LDADD = ../libglib-1.3.la libgobject-1.3.la
87 gobject_query_LDADD = $(progs_LDADD)
88 glib_genmarshal_LDADD = $(progs_LDADD)
91 # manual pages to install
93 man_MANS = glib-genmarshal.1
96 # auxillary files
98 EXTRA_DIST +=                   \
99         makefile.mingw.in       \
100         makefile.msc.in         \
101         gobject.def             \
102         gobject.rc.in
104 BUILT_EXTRA_DIST = \
105         makefile.mingw          \
106         makefile.msc            \
107         gobject.rc
109 gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
110         cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
112 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
113         cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
115 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.msc.in
116         cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
118 dist-hook: $(BUILT_EXTRA_DIST)
119         files='$(BUILT_EXTRA_DIST)'; \
120         for f in $$files; do \
121           if test -f $$f; then d=.; else d=$(srcdir); fi; \
122           cp $$d/$$f $(distdir) || exit 1; done