Move gbsearcharray.[ch] to glib as a private ininstalled header.
[platform/upstream/glib.git] / glib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES = -I$(top_srcdir) -DG_LOG_DOMAIN=g_log_domain_glib \
4         @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION 
5
6 EXTRA_DIST =                    \
7         gen-unicode-tables.pl   \
8         glib.def
9
10 # These may be in the builddir too
11 BUILT_EXTRA_DIST =              \
12         makefile.msc            \
13         makefile.mingw          \
14         glib.rc
15
16 lib_LTLIBRARIES = libglib-1.3.la
17
18 libglib_1_3_la_SOURCES =        \
19         garray.c                \
20         gasyncqueue.c           \
21         gbacktrace.c            \
22         gbsearcharray.c         \
23         gbsearcharray.h         \
24         gcache.c                \
25         gcompletion.c           \
26         gconvert.c              \
27         gdataset.c              \
28         gdate.c                 \
29         gerror.c                \
30         gfileutils.c            \
31         ghash.c                 \
32         ghook.c                 \
33         giochannel.c            \
34         glibintl.h              \
35         glist.c                 \
36         gmain.c                 \
37         gmarkup.c               \
38         gmem.c                  \
39         gmessages.c             \
40         gnode.c                 \
41         gpattern.c              \
42         gprimes.c               \
43         gqsort.c                \
44         gqueue.c                \
45         grel.c                  \
46         grand.c                 \
47         gscanner.c              \
48         gshell.c                \
49         gslist.c                \
50         gstrfuncs.c             \
51         gstring.c               \
52         gthread.c               \
53         gthreadpool.c           \
54         gtimer.c                \
55         gtree.c                 \
56         guniprop.c              \
57         gutf8.c                 \
58         gunibreak.h             \
59         gunibreak.c             \
60         gunichartables.h        \
61         gunicollate.c           \
62         gunicomp.h              \
63         gunidecomp.h            \
64         gunidecomp.c            \
65         gutils.c
66
67 EXTRA_libglib_1_3_la_SOURCES = \
68         giounix.c       \
69         giowin32.c      \
70         gspawn.c        \
71         gspawn-win32.c  \
72         gwin32.c
73
74 glibincludedir=$(includedir)/glib-2.0
75 glibinclude_HEADERS =   \
76         glib-object.h   \
77         glib.h
78
79 glibsubincludedir=$(includedir)/glib-2.0/glib
80 glibsubinclude_HEADERS =   \
81         galloca.h       \
82         garray.h        \
83         gasyncqueue.h   \
84         gbacktrace.h    \
85         gcache.h        \
86         gcompletion.h   \
87         gconvert.h      \
88         gdataset.h      \
89         gdate.h         \
90         gerror.h        \
91         gfileutils.h    \
92         ghash.h         \
93         ghook.h         \
94         giochannel.h    \
95         glist.h         \
96         gmacros.h       \
97         gmain.h         \
98         gmarkup.h       \
99         gmem.h          \
100         gmessages.h     \
101         gnode.h         \
102         gpattern.h      \
103         gprimes.h       \
104         gqsort.h        \
105         gquark.h        \
106         gqueue.h        \
107         grand.h         \
108         grel.h          \
109         gscanner.h      \
110         gshell.h        \
111         gslist.h        \
112         gspawn.h        \
113         gstrfuncs.h     \
114         gstring.h       \
115         gthread.h       \
116         gthreadpool.h   \
117         gtimer.h        \
118         gtree.h         \
119         gtypes.h        \
120         gunicode.h      \
121         gutils.h        \
122         gwin32.h
123
124 install-data-local:
125         @if test -f $(glibincludedir)/glist.h ; then                                    \
126           echo "*** Old headers found in $(glibincludedir). You should remove the" ;    \
127           echo "*** contents of this directory and type 'make install' again." ;        \
128           false ;                                                                       \
129         fi
130
131 libglib_1_3_la_LIBADD = @GIO@ @GSPAWN@ @PLATFORMDEP@ @ICONV_LIBS@ @G_LIBS_EXTRA@
132 libglib_1_3_la_DEPENDENCIES = @GIO@ @GSPAWN@ @PLATFORMDEP@ 
133
134
135 if PLATFORM_WIN32
136 no_undefined = -no-undefined
137 endif
138 if OS_WIN32
139 # This requires a very new libtool
140 export_symbols = -export-symbols glib.def
141 endif
142
143 libglib_1_3_la_LDFLAGS = \
144         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
145         -export-dynamic $(no_undefined) $(export_symbols)
146
147 if OS_WIN32
148 bin_PROGRAMS = gspawn-win32-helper
149 gspawn_win32_helper_LDADD = libglib-1.3.la
150 endif
151