1#ident @(#)shlgetopt.mk	1.2 19/10/23
2###########################################################################
3SRCROOT=	..
4RULESDIR=	RULES
5include		$(SRCROOT)/$(RULESDIR)/rules.top
6###########################################################################
7
8SUBARCHDIR=	/pic
9INSDIR=		lib
10TARGETLIB=	getopt
11CPPOPTS +=	-DUSE_SCANSTACK
12CPPOPTS +=	-DDO_GETOPT_LONGONLY	# Support getopt(.. "?900?(long)")
13CPPOPTS +=	-DDO_GETOPT_SDASH_LONG	# Support -long also
14CPPOPTS +=	-DDO_GETOPT_PLUS	# Support +o also
15CPPOPTS +=	-DTEXT_DOMAIN='"SUNW_OST_OSLIB"'	# dgettext
16include		Targets
17LIBS=
18
19###########################################################################
20include		$(SRCROOT)/$(RULESDIR)/rules.shl
21###########################################################################
22#CC=		echo "	==> COMPILING \"$@\""; cc
23###########################################################################
24