2007-11-25 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am: Build gtestutils etc on OS_UNIX only.
svn path=/trunk/; revision=5934
+2007-11-25 Tor Lillqvist <tml@novell.com>
+
+ * glib/Makefile.am: Build gtestutils etc on OS_UNIX only.
+
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* configure.in: Require gtk-doc 1.8.
gregex_h =
endif
-SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . tests
+if OS_UNIX
+gtestutils_c = gtestutils.c
+gtestutils_h = gtestutils.h
+tests_subdir = tests
+endif
+
+SUBDIRS = libcharset $(PRINTF_SUBDIR) $(MAYBE_PCRE) update-pcre . $(tests_subdir)
DIST_SUBDIRS = libcharset gnulib pcre update-pcre
gstdio.c \
gstrfuncs.c \
gstring.c \
- gtestutils.c \
+ $(gtestutils_c) \
gthread.c \
gthreadprivate.h \
gthreadpool.c \
gspawn.h \
gstdio.h \
gstrfuncs.h \
- gtestutils.h \
+ $(gtestutils_h) \
gstring.h \
gthread.h \
gthreadpool.h \
bin_PROGRAMS = ${INSTALL_PROGS}
+if OS_UNIX
+
INSTALL_PROGS += gtester
gtester_SOURCES = gtester.c
gtester_LDADD = libglib-2.0.la
+endif
glib-2.0.lib: libglib-2.0.la glib.def
lib -name:libglib-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:glib.def -out:$@