Locale bundled files are now cleaned up on exit.
[udpgate.git] / Makefile-head.am
index 93725b1..f259e30 100644 (file)
@@ -1,6 +1,6 @@
 # $Id$
 # automake source include to the begin of all Makefile.am's
-# Copyright (C) 2004 Jan Kratochvil <project-udpforward@jankratochvil.net>
+# Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # Set all needed variables to their empty values to prevent "variable `...' not defined"
 # Any further settings should be done exclusively by += operator
 EXTRA_DIST=
-BUILT_SOURCES=
 CLEANFILES=
 MAINTAINERCLEANFILES=
-# default DEFAULT_INCLUDES=' -I. -I$(srcdir)'.(dirnames of 'CONFIG_HEADER') ,
-# we neeed such $(DEFAULT_INCLUDES) but we need to prefer our $(INCLUDES)
-# thus we postpone them later by moving them to $(AM_CPPFLAGS).
-# It prevent us the inclusion of own wrappers
-# when we want direct include during (test) compilations
-# in $(top_srcdir)/src/libcaptive/include/reactos/
-# as -I. is always as one of the first '-I's in $(INCLUDES).
-# It will be utilized in $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am .
-# It would be also possible to use some #include_next's but it is pretty
-# hassle to guess the right ordering in such case.
-# FIXME: $(addprefix ) and $(dir /) are GNU make dependent!
-AM_CPPFLAGS=-I. -I$(srcdir) $(addprefix -I,$(dir $(CONFIG_HEADER)))
-# 'DEFAULT_INCLUDES=' will drop its contents.
-# 'DEFAULT_INCLUDES:=' will cause: automake-X.Y/am/compile.am: DEFAULT_INCLUDES was set with `:=' and is now set with `='
-# %DEFAULT_INCLUDES% is permitted only in automake system files.
-# No possibility to keep its state therefore we generate
-# (I hope) the same contents in 'AM_CPPFLAGS=...' line above
-DEFAULT_INCLUDES=
 INCLUDES=
 bin_PROGRAMS=
 
@@ -68,22 +49,15 @@ distfiles: $(DISTFILES)
                                        -a "$$distfile" '!=' Makefile.am \
                                        -a "$$distfile" '!=' Makefile.in \
                                        ;then \
-                               if echo " $(BUILT_SOURCES) "|grep -q " $$distfile ";then :;else \
-                                       echo -n " $(subdir)/$$distfile"; \
-                                       fi; \
+                               echo -n " $(subdir)/$$distfile"; \
                                fi; \
                        done; \
                echo; \
-               fi;
+       fi;
        @for subdir in . $(SUBDIRS);do \
                if test "$$subdir" = . -o "$$subdir" = intl -o "$$subdir" = po -o "$$subdir" = m4;then :;else \
                        (cd "$$subdir" && $(MAKE) $(AM_MAKEFLAGS) distfiles) || exit 1; \
-                       fi; \
-               done
-
-dist-hook:
-       for i in _built_sources_pad $(BUILT_SOURCES);do \
-               $(RM) $(distdir)/$$i; \
+               fi; \
        done