X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetopt;h=0446a4aeb7ee8c106304e253f09651b3163b35da;hb=40ad4eae988596de8a3459f99c8e508a6425c383;hp=7d9b0989b7c5213840d1aaa3521a0437da8b7d91;hpb=2e82f91f46dc3f93963b1e4fdcbc441c129df213;p=gnulib.git diff --git a/modules/getopt b/modules/getopt index 7d9b0989b..0446a4aeb 100644 --- a/modules/getopt +++ b/modules/getopt @@ -2,9 +2,10 @@ Description: Process command line arguments. Files: -lib/getopt.h +lib/getopt_.h lib/getopt.c lib/getopt1.c +lib/getopt_int.h m4/getopt.m4 Depends-on: @@ -14,8 +15,23 @@ configure.ac: gl_GETOPT Makefile.am: -lib_SOURCES += getopt.h getopt.c getopt1.c +BUILT_SOURCES += $(GETOPT_H) +EXTRA_DIST += getopt_.h getopt_int.h + +# We need the following in order to create an when the system +# doesn't have one that works with the given compiler. +all-local $(lib_OBJECTS): $(GETOPT_H) +getopt.h: getopt_.h + cp $(srcdir)/getopt_.h $@-t + mv $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t Include: -"getopt.h" + + +License: +LGPL + +Maintainer: +all, glibc