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