Generate ChangeLog also including reactos/ portions
[captive.git] / Makefile.am
1 # $Id$
2 # automake source for the toplevel Makefile 
3 # Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18
19 include $(top_srcdir)/Makefile-head.am
20
21 AUTOMAKE_OPTIONS=gnu
22 ACLOCAL_AMFLAGS=-I m4
23 SUBDIRS=intl m4 macros src doc po
24 ## to automatically rebuild aclocal.m4 if any of the macros in
25 ## `macros/' change
26 @MAINT@include macros/macros.dep
27 @MAINT@macros/macros.dep: macros/Makefile.am
28 @MAINT@ cd macros && $(MAKE) macros.dep
29
30 REACTOS_SOURCES= \
31                 reactos/hal \
32                 reactos/include \
33                 reactos/ntoskrnl
34
35 EXTRA_DIST+= \
36                 INSTALL \
37                 ABOUT-NLS \
38                 config.rpath \
39                 mkinstalldirs \
40                 captive.spec.in \
41                 Makefile-head.am \
42                 include_test.c \
43                 autogen.pl \
44                 .vimrc \
45                 .gdbinit \
46                 ChangeLog \
47                 $(REACTOS_SOURCES)
48
49 MAINTAINERCLEANFILES+= \
50                 ChangeLog
51
52 CLEANFILES+= \
53                 ChangeLog.bak
54
55 if MAINTAINER_MODE
56 ChangeLog:
57         cvs2cl.pl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES)
58
59 else
60 ChangeLog:
61         touch $@
62
63 endif