# ex: se wm=0 ts=0:
#
# $Id: GNUmakefile,v 1.2 1992/04/28 18:48:49 steve Exp $

sources		:= fortc.c pathname.c udstderr.fc udalloc.c uderrmsg.c \
		   linklist.c strbuf.c strvec.c
headers		:= fortc.h pathname.h udalloc.h uderrmsg.h udstderr.h \
		   linklist.h strbuf.h strvec.h
manuals		:= udalloc.3 uderrmsg.3 strbuf.3
MANIFEST	:= $(sources) $(headers) $(manuals)
CPPFLAGS	:= -I../udposix/_OS
LINTFLAGS	:= -uz
PROGRAMS	= setest seftest pntest
BINFILES	:= # empty => test programs will be built but not installed

THIS_DIR	:= ../
include $(THIS_DIR)GNUmakemaster

$(variant_dir)setest:	$(addprefix $(variant_dir), \
				     setest.o udstderr.o pathname.o strbuf.o)
$(variant_dir)seftest:	$(addprefix $(variant_dir), \
				     seftest.o udstderr.o pathname.o strbuf.o)
$(variant_dir)pntest:	$(addprefix $(variant_dir), pntest.o pathname.o)
