Revamp to be like makefile.mingw.in, make the MSVC build actually work
[platform/upstream/glib.git] / gthread / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gthread \
4         -DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@
5
6 EXTRA_DIST =                            \
7                 makefile.mingw          \
8                 makefile.mingw.in       \
9                 makefile.msc            \
10                 makefile.msc.in         \
11                 gthread-posix.c         \
12                 gthread-solaris.c       \
13                 gthread-none.c          \
14                 gthread.def             \
15                 gthread.rc              \
16                 gthread.rc.in
17
18 libglib = $(top_builddir)/libglib.la # -lglib
19
20 top_builddir_full=`cd \$(top_builddir); pwd`
21
22 lib_LTLIBRARIES = libgthread-1.3.la
23
24 libgthread_1_3_la_SOURCES = gthread-impl.c
25 libgthread_1_3_la_LDFLAGS = \
26         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
27         -export-dynamic
28
29 libgthread_1_3_la_LIBADD = @G_THREAD_LIBS_EXTRA@ @G_THREAD_LIBS@
30
31 gthread.rc: $(top_builddir)/config.status $(top_srcdir)/gthread/gthread.rc.in
32         cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
33
34 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.mingw.in
35         cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status
36
37 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gthread/makefile.msc.in
38         cd $(top_builddir) && CONFIG_FILES=gthread/$@ CONFIG_HEADERS= $(SHELL) ./config.status