# Make file for cmds/libc/des directory
#
# Things you might want to change.  Pass them in on the command line:
# ROOT - should point to the root where the commands will be installed
#        (e.g. /deliver/NFS/indnetwk)

ROOT=

PRODUCTS= 

OBJS= des_crypt.o des_soft.o xcrypt.o

CCFLAGS= $(CFLAGS)

TARGETS = libnsl.a

#Install database name
INSTALLDB=/source/NFS/$(LOGNAME)/config/installdb

#Script called to parse the install deliverable
INSTALLSCPT=/source/NFS/$(LOGNAME)/config/install_script

# Defaults file containing the shell, compiler options, etc
BUILDRULES=/source/NFS/$(LOGNAME)/config/defaults

include ${BUILDRULES}

#Commands used by this Makefile
CP=/usr/bin/cp
MV=/usr/bin/mv
CHMOD=/usr/bin/chmod

default: all

all: clean build install

clean:
	$(RM) -f *.o libnsl.a

build: libnsl

libnsl: $(TARGETS)

$(TARGETS):  $(OBJS)
	$(ECHO) "adding to $(TARGETS)"
	ar r $(TARGETS) $(OBJS)
	$(CHMOD) 664 $(TARGETS)
.c.o:
	$(CC) -I ../../../include $(CCFLAGS) -DLIBNSL -c $<

install:
