define gstring in terms of gchar*. this typedef reflects the type name of
[platform/upstream/glib.git] / gobject / Makefile.am
1 # GObject - GLib Type, Object, Parameter and Signal Library
2 # Copyright (C) 1997,98,99,2000 Tim Janik and Red Hat, Inc.
3 #
4 ## Process this file with automake to produce Makefile.in
5
6 SUBDIRS =
7
8 INCLUDES = -I$(top_srcdir) -I$(top_builddir) @GLIB_DEBUG_FLAGS@
9
10 # libraries to compile and install
11 lib_LTLIBRARIES = libgobject.la
12
13 # provide g_logv() domain
14 DEFS += -DG_LOG_DOMAIN=g_log_domain_gobject
15
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) \
21         -export-dynamic \
22 @STRIP_END@
23 libgobject_la_LIBADD = # $(libglib)
24
25 #
26 # setup source file variables
27 #
28 # GObject header files for public installation (non-generated)
29 gobject_public_h_sources = @STRIP_BEGIN@ \
30         gvalue.h \
31         gvaluetypes.h \
32         gparam.h \
33         gparamspecs.h \
34         genums.h \
35         gobject.h \
36         gtype.h \
37         gvaluecollector.h \
38 @STRIP_END@
39 # private GObject header files
40 gobject_private_h_sources = @STRIP_BEGIN@ \
41 @STRIP_END@
42
43 # GObject C sources to build the library from
44 gobject_c_sources = @STRIP_BEGIN@ \
45         gvalue.c \
46         gvaluetypes.c \
47         gparam.c \
48         gparamspecs.c \
49         genums.c \
50         gobject.c \
51         gtype.c \
52 @STRIP_END@
53
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@ \
58 @STRIP_END@
59
60 #
61 # setup GObject sources and their dependancies
62 #
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)
67 EXTRA_HEADERS +=
68 EXTRA_DIST += $(gobject_private_h_sources)
69 EXTRA_DIST += $(gobject_extra_sources) # $(gobject_built_sources) $(gobject_built_public_sources)
70
71 #
72 # programs to compile and install
73 #
74 bin_PROGRAMS = gobject-query
75 # source files
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)
80
81 #
82 # auxillary files
83 #
84 EXTRA_DIST += \
85         TODO            \
86         makefile.mingw  \
87         makefile.mingw.in \
88         gobject.rc      \
89         gobject.rc.in
90
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
93
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
96