# $Id: Makefile,v 1.1 1991/08/10 18:30:18 steve Exp $
#
# Makefile for the DomainOS 10.3.5 version of the Unidata POSIX programming
# environment.

ifndef MAKEINCDIR
  MAKEINCDIR	:= $(wildcard ~ldm/src)
endif

LIBNAME		:= udape

include $(MAKEINCDIR)/defs.gmk

OS		:= domainos_10.3.5
CSRCS		:= 
HSRCS		:= udposix.h stdlib.h unistd.h sys/utsname.h patchlevel.h
MANIFEST	:= sys $(CSRCS) $(HSRCS) Makefile
INCLUDES	:= -I.
LIBOBJS		:= $(subst .c,.o,$(CSRCS))

all:		$(LIBOBJS)

debug:		$(debug)/$(LIBOBJS)

install:	$(INCDIR)/udposix/sys $(addprefix $(INCDIR)/udposix/,$(HSRCS))
      ifneq (,$(findstring 0,$(MAKELEVEL))$(findstring 1,$(MAKELEVEL)))
	echo 1>&2 "You must make \"$@\" from ../../"
	exit 1
      endif

include $(MAKEINCDIR)/rules.gmk
