2 # Copyright 1987 by the Massachusetts Institute of Technology.
4 # For copying and distribution information,
5 # please see the file <mit-cpyright.h>.
7 # Makefile for BSD DES library
9 # First define machine type, compiler, and object file suffix
10 # Could be for VAX or PC-DOS
12 # Some of these files are cross compiled on the vax for the pc8086,
13 # using the MIT LCS cross-compilation environment
14 # Others are always executed on the vax(host).
16 # A machine, e.g. Vax, pc8086, IBM experimental workstation, is
17 # described in terms of defines for its word length
18 # (BITS32 or BITS16), byte ordering (LSBFIRST or MSBFIRST) and
19 # operating system (BSDUNIX or CROSSMSDOS).
21 # Make sure these are properly defined for any new machine types.
22 # target machine for run-time code (may cross-compile),
27 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
28 !INCLUDE ..\config\NTMakefile.version
31 INCFILEDIR = $(DESTDIR)\include
35 $(INCFILEDIR)\des_conf.h \
36 $(INCFILEDIR)\mit-cpyright.h \
37 $(INCFILEDIR)\des_odd.h \
40 $(INCFILEDIR)\des_odd.h: odd.h
44 # Library component lists.
63 LIBFILE = $(DESTDIR)\lib\afsdes.lib
65 $(LIBFILE): $(LIBOBJS)
82 # Make generated files.
85 key_perm.h: make_keyperm.exe
88 p_table.h: make_p_table.exe
91 s_table.h: make_s_table.exe
110 misc.obj: AFS_component_version_number.c
112 make_keyperm.exe: make_keyperm.obj misc.obj main.obj
115 make_p_table.exe: make_p_table.obj misc.obj main.obj
118 make_s_table.exe: make_s_table.obj misc.obj main.obj
121 make_odd.exe: make_odd.obj misc.obj main.obj
124 make_p.exe: make_p.obj misc.obj main.obj
127 make_s.exe: make_s.obj misc.obj main.obj
130 make_fp.exe: make_fp.obj misc.obj main.obj
133 make_ip.exe: make_ip.obj misc.obj main.obj
136 install: $(GENERATED_FILES) $(LIBFILE) $(INCFILES)
141 $(DEL) $(LIBFILE) $(GENERATED_FILES)