# $Id: Makefile,v 1.5 1991/07/09 18:30:34 steve Exp $
#
# Makefile for the Ultrix 3.5 version of the Unidata POSIX
# programming environment.

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

LIBNAME		:= udape

include $(MAKEINCDIR)/defs.gmk

OS		:= sunos_3.5
CSRCS		:= 
HSRCS		:= udposix.h stdarg.h stddef.h stdio.h stdlib.h string.h \
		    patchlevel.h
MANIFEST	:= $(CSRCS) $(HSRCS) Makefile
INCLUDES	:= -I.
LIBOBJS		:= $(subst .c,.o,$(CSRCS))

all:		$(LIBOBJS)

ifeq (sharable, $(LIBTYPE))
  all:		$(addprefix $(pic)/, $(LIBOBJS))
endif

debug:		$(debug)/$(LIBOBJS)

install:	$(addprefix $(INCDIR)/udposix/,$(HSRCS))

include $(MAKEINCDIR)/rules.gmk
