Split the package to 'captive' and 'captive-lufs' packages.
[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 SUBDIRS=macros src doc po
23 ## to automatically rebuild aclocal.m4 if any of the macros in
24 ## `macros/' change
25 @MAINT@include macros/macros.dep
26 @MAINT@macros/macros.dep: macros/Makefile.am
27 @MAINT@ cd macros && $(MAKE) macros.dep
28
29 REACTOS_SOURCES= \
30                 reactos/hal \
31                 reactos/include \
32                 reactos/ntoskrnl
33
34 EXTRA_DIST+= \
35                 INSTALL \
36                 mkinstalldirs \
37                 captive.spec.in \
38                 Makefile-head.am \
39                 include_test.c \
40                 autogen.pl \
41                 .vimrc \
42                 .gdbinit \
43                 ChangeLog \
44                 $(REACTOS_SOURCES) \
45                 debian/captive.conffiles \
46                 debian/captive.docs \
47                 debian/captive.files \
48                 debian/changelog \
49                 debian/control \
50                 debian/copyright \
51                 debian/lufs.files \
52                 debian/rules
53
54 MAINTAINERCLEANFILES+= \
55                 ChangeLog
56
57 CLEANFILES+= \
58                 ChangeLog.bak
59
60 if MAINTAINER_MODE
61 ChangeLog:
62         cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES)
63
64 else
65 ChangeLog:
66         touch $@
67
68 endif