

ifeq ($(wildcard ../Rules),)
# no glibc
include Makefile.unix
else
# We are part of glibc
default_cflags:= -O2
subdir := des
headers:= des.h rpc_des.h

routines:= $(destest) cbc_cksm cbc_enc ecb_enc pcbc_enc \
	qud_cksm rand_key read_pwd set_key str2key \
	enc_read enc_writ fcrypt cfb_enc \
	3ecb_enc ofb_enc 3cbc_enc rpc_enc ofb64enc
distribute:= ARTISTIC COPYRIGHT FILES INSTALL Imakefile README VERSION \
	GNUmakefile times vms.com KERBEROS MODES.DES CHANGES \
	des.man des_crypt.man \
	version.h des_locl.h podd.h sk.h spr.h \
	des.pl testdes.pl doIP doPC1 doPC2 PC1 PC2 shifts.pl

tests:= destest speed
override +gccwarn := -w
others:= des rpw
install:= des

include ../Rules
endif

