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