2007-12-08 22:42:33 +00:00
|
|
|
##
|
|
|
|
## Copyright (C) 2004-2007 Free Software Foundation, Inc.
|
|
|
|
##
|
|
|
|
## 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
|
|
|
|
## the Free Software Foundation; either version 2 of the License, or
|
|
|
|
## (at your option) any later version.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
|
2008-11-19 18:46:52 +00:00
|
|
|
## Not using gnulib-tool, at least for now. It is likely that we won't
|
|
|
|
## need anything else from Gnulib than getopt_long().
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2007-12-11 12:10:53 +00:00
|
|
|
noinst_LIBRARIES = libgnu.a
|
2007-12-08 22:42:33 +00:00
|
|
|
|
|
|
|
libgnu_a_SOURCES =
|
|
|
|
libgnu_a_DEPENDENCIES = $(LIBOBJS)
|
|
|
|
libgnu_a_LIBADD = $(LIBOBJS)
|
|
|
|
|
2008-11-19 18:46:52 +00:00
|
|
|
EXTRA_DIST = getopt.in.h getopt.c getopt1.c getopt_int.h
|
2007-12-08 22:42:33 +00:00
|
|
|
BUILT_SOURCES = $(GETOPT_H)
|
|
|
|
MOSTLYCLEANFILES = getopt.h getopt.h-t
|
|
|
|
|
2008-11-19 18:46:52 +00:00
|
|
|
getopt.h: getopt.in.h
|
2007-12-08 22:42:33 +00:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2008-11-19 18:46:52 +00:00
|
|
|
cat $(srcdir)/getopt.in.h; \
|
2007-12-08 22:42:33 +00:00
|
|
|
} > $@-t
|
|
|
|
mv -f $@-t $@
|