Alexandre Savard | 1b09e31 | 2012-08-07 20:33:29 -0400 | [diff] [blame] | 1 | # This Imakefile has not been tested for a while but it should still |
| 2 | # work when placed in the correct directory in the kerberos v 4 distribution |
| 3 | |
| 4 | SRCS= cbc_cksm.c cbc_enc.c ecb_enc.c pcbc_enc.c \ |
| 5 | qud_cksm.c rand_key.c read_pwd.c set_key.c str2key.c \ |
| 6 | enc_read.c enc_writ.c fcrypt.c cfb_enc.c \ |
| 7 | ecb3_enc.c ofb_enc.c ofb64enc.c |
| 8 | |
| 9 | OBJS= cbc_cksm.o cbc_enc.o ecb_enc.o pcbc_enc.o \ |
| 10 | qud_cksm.o rand_key.o read_pwd.o set_key.o str2key.o \ |
| 11 | enc_read.o enc_writ.o fcrypt.o cfb_enc.o \ |
| 12 | ecb3_enc.o ofb_enc.o ofb64enc.o |
| 13 | |
| 14 | GENERAL=COPYRIGHT FILES INSTALL Imakefile README VERSION makefile times \ |
| 15 | vms.com KERBEROS |
| 16 | DES= des.c des.man |
| 17 | TESTING=destest.c speed.c rpw.c |
| 18 | LIBDES= des_crypt.man des.h des_locl.h podd.h sk.h spr.h |
| 19 | |
| 20 | PERL= des.pl testdes.pl doIP doPC1 doPC2 PC1 PC2 shifts.pl |
| 21 | |
| 22 | CODE= $(GENERAL) $(DES) $(TESTING) $(SRCS) $(LIBDES) $(PERL) |
| 23 | |
| 24 | SRCDIR=$(SRCTOP)/lib/des |
| 25 | |
| 26 | DBG= -O |
| 27 | INCLUDE= -I$(SRCDIR) |
| 28 | CC= cc |
| 29 | |
| 30 | library_obj_rule() |
| 31 | |
| 32 | install_library_target(des,$(OBJS),$(SRCS),) |
| 33 | |
| 34 | test(destest,libdes.a,) |
| 35 | test(rpw,libdes.a,) |