File: getopt

package info (click to toggle)
gnulib 20080701-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 35,032 kB
  • ctags: 13,484
  • sloc: ansic: 140,585; sh: 15,049; yacc: 1,227; perl: 706; lisp: 270; makefile: 118; java: 5
file content (37 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description:
Process command line arguments.

Files:
lib/getopt.in.h
lib/getopt.c
lib/getopt1.c
lib/getopt_int.h
m4/getopt.m4

Depends-on:
gettext-h
unistd

configure.ac:
gl_GETOPT

Makefile.am:
BUILT_SOURCES += $(GETOPT_H)

# We need the following in order to create <getopt.h> when the system
# doesn't have one that works with the given compiler.
getopt.h: getopt.in.h
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/getopt.in.h; \
	} > $@-t
	mv -f $@-t $@
MOSTLYCLEANFILES += getopt.h getopt.h-t

Include:
<getopt.h>

License:
LGPL

Maintainer:
all, glibc