Add NEWS for 5.4.6.
[xz.git] / lib / Makefile.am
blobb6a3b1619d7b1bc262d60a11da4391296ad85515
1 ##
2 ## Copyright (C) 2004-2007 Free Software Foundation, Inc.
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2 of the License, or
7 ## (at your option) any later version.
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.
15 ## Not using gnulib-tool, at least for now. It is likely that we won't
16 ## need anything else from Gnulib than getopt_long().
18 noinst_LIBRARIES = libgnu.a
20 libgnu_a_SOURCES =
21 libgnu_a_DEPENDENCIES = $(LIBOBJS)
22 libgnu_a_LIBADD = $(LIBOBJS)
24 EXTRA_DIST = \
25         getopt.in.h \
26         getopt.c \
27         getopt1.c \
28         getopt_int.h \
29         getopt-cdefs.h \
30         getopt-core.h \
31         getopt-ext.h \
32         getopt-pfx-core.h \
33         getopt-pfx-ext.h
35 BUILT_SOURCES = $(GETOPT_H)
36 MOSTLYCLEANFILES = getopt.h getopt.h-t
38 getopt.h: getopt.in.h
39         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
40           cat $(srcdir)/getopt.in.h; \
41         } > $@-t
42         mv -f $@-t $@