2007-11-24 Matthias Clasen <mclasen@redhat.com>
+ * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
+ cleanups.
+
+2007-11-24 Matthias Clasen <mclasen@redhat.com>
+
* tests/base64-test.c: Fix a memory overrun.
2007-11-24 Matthias Clasen <mclasen@redhat.com>
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/Makefile.decl
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule \
- -DG_LOG_DOMAIN=\"GModule\" @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED
-
-EXTRA_DIST += \
- makefile.msc.in \
- gmoduleconf.h.in \
- gmodule.def \
- gmodule-dl.c \
- gmodule-dld.c \
- gmodule-dyld.c \
- gmodule-os2.c \
- gmodule-win32.c \
- gmodule-beos.c \
- gmodule-ar.c \
- gmoduleconf.h.win32 \
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/glib \
+ -I$(top_srcdir)/gmodule \
+ -DG_LOG_DOMAIN=\"GModule\" \
+ @GLIB_DEBUG_FLAGS@ \
+ -DG_DISABLE_DEPRECATED
+
+EXTRA_DIST += \
+ makefile.msc.in \
+ gmoduleconf.h.in \
+ gmodule.def \
+ gmodule-dl.c \
+ gmodule-dld.c \
+ gmodule-dyld.c \
+ gmodule-os2.c \
+ gmodule-win32.c \
+ gmodule-beos.c \
+ gmodule-ar.c \
+ gmoduleconf.h.win32 \
gmodule.rc.in
BUILT_EXTRA_DIST = \
## Process this file with automake to produce Makefile.in
include $(top_srcdir)/Makefile.decl
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gthread \
- -DG_LOG_DOMAIN=\"GThread\" @GTHREAD_COMPILE_IMPL_DEFINES@ \
- @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/glib \
+ -I$(top_srcdir)/gthread \
+ -DG_LOG_DOMAIN=\"GThread\" \
+ @GTHREAD_COMPILE_IMPL_DEFINES@ \
+ @GLIB_DEBUG_FLAGS@ \
+ -DG_DISABLE_DEPRECATED
EXTRA_DIST += \
makefile.msc.in \
gthread.def \
gthread.rc.in
-BUILT_EXTRA_DIST = \
+BUILT_EXTRA_DIST = \
makefile.msc \
gthread.rc
enable_regex =
endif
-INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule $(GLIB_DEBUG_FLAGS) $(enable_regex)
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/glib \
+ -I$(top_srcdir)/gmodule \
+ $(GLIB_DEBUG_FLAGS) \
+ $(enable_regex)
+
+AM_CFLAGS = -g
EFENCE=
if ENABLE_TIMELOOP
timeloop = timeloop timeloop-closure
endif
-noinst_PROGRAMS = testglib testgdate testgdateparser unicode-normalize unicode-collate $(timeloop) errorcheck-mutex-test
+noinst_PROGRAMS = \
+ testglib \
+ testgdate \
+ testgdateparser \
+ unicode-normalize \
+ unicode-collate \
+ $(timeloop) \
+ errorcheck-mutex-test
+
testglib_LDADD = $(libglib)
patterntest_LDADD = $(libglib)
testgdate_LDADD = $(libglib)
libmoduletestplugin_b_la_LIBADD = $(G_MODULE_LIBS) $(libadd_libgmodule) $(libadd_libglib)
dist-hook: $(BUILT_EXTRA_DIST)
- files='$(BUILT_EXTRA_DIST)'; \
- for f in $$files; do \
- if test -f $$f; then d=.; else d=$(srcdir); fi; \
+ files='$(BUILT_EXTRA_DIST)'; \
+ for f in $$files; do \
+ if test -f $$f; then d=.; else d=$(srcdir); fi; \
cp $$d/$$f $(distdir) || exit 1; done
- mkdir $(distdir)/markups; \
- for f in $(srcdir)/markups/* ; do \
+ mkdir $(distdir)/markups; \
+ for f in $(srcdir)/markups/* ; do \
cp $$f $(distdir)/markups; done
- mkdir $(distdir)/collate; \
- for f in $(srcdir)/collate/* ; do \
+ mkdir $(distdir)/collate; \
+ for f in $(srcdir)/collate/* ; do \
if test -f $$f; then cp $$f $(distdir)/collate; fi; done
- mkdir $(distdir)/bookmarks; \
- for f in $(srcdir)/bookmarks/* ; do \
+ mkdir $(distdir)/bookmarks; \
+ for f in $(srcdir)/bookmarks/* ; do \
cp $$f $(distdir)/bookmarks; done
-DISTCLEANFILES = iochannel-test-outfile \
- file-test-get-contents \
- maptest \
- mapchild \
- collate.out
+DISTCLEANFILES = \
+ iochannel-test-outfile \
+ file-test-get-contents \
+ maptest \
+ mapchild \
+ collate.out