TARGET =	scc
SUPER_PACKAGES_PATH = basesuif
LIBS =		-lsuif
MANPAGES =	scc.1
HEADERS =	scc.h String.h commands.def
SRCS =		scc.cc String.cc
OBJS =		scc.o String.o
SNOOT_CXXFLAGS = -DSCC_SYSTEM_NAME=\"$(MACHINE)\" -DSUIF_TOP=$(SUIFHOME)

ifeq (sgi_c++,$(COMPILER_NAME))
#
#  The warnings on the IRIX 5.3 compiler that we turn off specially
#  for scc are as follows:
#      3262 -- ``parameter declared and never referenced''  The PASS()
#              macros defined in "scc.h" decalare functions with
#              parameters that are used in some cases and not others,
#              so we don't want it flagged as a problem when after
#              macro expansion there are parameters declared and not
#              referenced.
#
EXTRA_CXXFLAGS = $(SNOOT_CXXFLAGS) -woff 3262
else
EXTRA_CXXFLAGS = $(SNOOT_CXXFLAGS)
endif

all:		prog
install-bin:	install-prog

include $(SUIFHOME)/Makefile.std
