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.
13##
14
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().
17
18noinst_LIBRARIES = libgnu.a
19
20libgnu_a_SOURCES =
21libgnu_a_DEPENDENCIES = $(LIBOBJS)
22libgnu_a_LIBADD = $(LIBOBJS)
23
24EXTRA_DIST = getopt.in.h getopt.c getopt1.c getopt_int.h
25BUILT_SOURCES = $(GETOPT_H)
26MOSTLYCLEANFILES = getopt.h getopt.h-t
27
28getopt.h: getopt.in.h
29	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
30	  cat $(srcdir)/getopt.in.h; \
31	} > $@-t
32	mv -f $@-t $@
33