2 getopt() function: process command line arguments.
21 BUILT_SOURCES += $(GETOPT_H)
23 # We need the following in order to create <getopt.h> when the system
24 # doesn't have one that works with the given compiler.
26 $(AM_V_GEN)rm -f $@-t $@ && \
27 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
28 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
29 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
30 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
31 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
32 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
33 < $(srcdir)/getopt.in.h; \
36 MOSTLYCLEANFILES += getopt.h getopt.h-t