Move glib-config to glib-config-2.0 move glib.m4 to glib-2.0.m4
[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-1.3.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)/glib-2.0/gobject
18 libgobject_1_3_la_LDFLAGS = @STRIP_BEGIN@ \
19         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
20         -export-dynamic \
21 @STRIP_END@
22 libgobject_1_3_la_LIBADD = # $(libglib)
23
24 #
25 # setup source file variables
26 #
27 # GObject header files for public installation (non-generated)
28 gobject_public_h_sources = @STRIP_BEGIN@ \
29         gvalue.h \
30         gvaluetypes.h \
31         gparam.h \
32         gparamspecs.h \
33         genums.h \
34         gobject.h \
35         gtype.h \
36         gvaluecollector.h \
37 @STRIP_END@
38 # private GObject header files
39 gobject_private_h_sources = @STRIP_BEGIN@ \
40 @STRIP_END@
41
42 # GObject C sources to build the library from
43 gobject_c_sources = @STRIP_BEGIN@ \
44         gvalue.c \
45         gvaluetypes.c \
46         gparam.c \
47         gparamspecs.c \
48         genums.c \
49         gobject.c \
50         gtype.c \
51 @STRIP_END@
52
53 # non-header sources (headers should be specified in the above variables)
54 # that don't serve as direct make target sources, i.e. they don't have
55 # their own .lo rules and don't get publically installed
56 gobject_extra_sources = @STRIP_BEGIN@ \
57 @STRIP_END@
58
59 #
60 # setup GObject sources and their dependancies
61 #
62 gobject_h_sources = $(gobject_private_h_sources) $(gobject_public_h_sources) # $(gobject_built_public_sources)
63 libgobjectinclude_HEADERS = $(gobject_public_h_sources) # $(gobject_built_public_sources)
64 libgobject_1_3_la_SOURCES = $(gobject_c_sources)
65 MAINTAINERCLEANFILES += 
66 # $(gobject_built_public_sources) $(gobject_built_sources)
67 EXTRA_HEADERS +=
68 EXTRA_DIST += $(gobject_private_h_sources)
69 EXTRA_DIST += $(gobject_extra_sources) 
70 # $(gobject_built_sources) $(gobject_built_public_sources)
71
72 #
73 # programs to compile and install
74 #
75 bin_PROGRAMS = gobject-query
76 # source files
77 gobject_query_SOURCES = gobject-query.c
78 # link programs against libgobject
79 progs_LDADD = ../libglib-1.3.la libgobject-1.3.la
80 gobject_query_LDADD = $(progs_LDADD)
81
82 #
83 # auxillary files
84 #
85 EXTRA_DIST +=                   \
86         makefile.mingw          \
87         makefile.mingw.in       \
88         gobject.def             \
89         gobject.rc              \
90         gobject.rc.in
91
92 gobject.rc: $(top_builddir)/config.status $(top_srcdir)/gobject/gobject.rc.in
93         cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
94
95 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gobject/makefile.mingw.in
96         cd $(top_builddir) && CONFIG_FILES=gobject/$@ CONFIG_HEADERS= $(SHELL) ./config.status
97