2024-02-12 10:09:10 -05:00
|
|
|
## SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2007-12-08 17:42:33 -05:00
|
|
|
##
|
2009-04-13 04:27:40 -04:00
|
|
|
## Copyright (C) 2004-2007 Free Software Foundation, Inc.
|
2007-12-08 17:42:33 -05:00
|
|
|
##
|
2009-04-13 04:27:40 -04:00
|
|
|
## 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.
|
2007-12-08 17:42:33 -05:00
|
|
|
##
|
2009-04-13 04:27:40 -04:00
|
|
|
## 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.
|
2007-12-08 17:42:33 -05:00
|
|
|
##
|
|
|
|
|
2008-11-19 13:46:52 -05: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 17:42:33 -05:00
|
|
|
|
2007-12-11 07:10:53 -05:00
|
|
|
noinst_LIBRARIES = libgnu.a
|
2007-12-08 17:42:33 -05:00
|
|
|
|
|
|
|
libgnu_a_SOURCES =
|
|
|
|
libgnu_a_DEPENDENCIES = $(LIBOBJS)
|
|
|
|
libgnu_a_LIBADD = $(LIBOBJS)
|
|
|
|
|
2023-09-22 12:47:52 -04:00
|
|
|
EXTRA_DIST = \
|
|
|
|
getopt.in.h \
|
|
|
|
getopt.c \
|
|
|
|
getopt1.c \
|
|
|
|
getopt_int.h \
|
|
|
|
getopt-cdefs.h \
|
|
|
|
getopt-core.h \
|
|
|
|
getopt-ext.h \
|
|
|
|
getopt-pfx-core.h \
|
|
|
|
getopt-pfx-ext.h
|
|
|
|
|
2007-12-08 17:42:33 -05:00
|
|
|
BUILT_SOURCES = $(GETOPT_H)
|
|
|
|
MOSTLYCLEANFILES = getopt.h getopt.h-t
|
|
|
|
|
2008-11-19 13:46:52 -05:00
|
|
|
getopt.h: getopt.in.h
|
2007-12-08 17:42:33 -05:00
|
|
|
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
|
2008-11-19 13:46:52 -05:00
|
|
|
cat $(srcdir)/getopt.in.h; \
|
2007-12-08 17:42:33 -05:00
|
|
|
} > $@-t
|
|
|
|
mv -f $@-t $@
|