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)
68 # Special case, since misc.c includes a "main" for the table generators.
70 $(C2OBJ) misc.c /Fomisco.obj -DDONT_INCL_MAIN
86 # Make generated files.
89 key_perm.h: make_keyperm.exe
92 p_table.h: make_p_table.exe
95 s_table.h: make_s_table.exe
114 misc.obj: AFS_component_version_number.c
116 make_keyperm.exe: make_keyperm.obj misc.obj
119 make_p_table.exe: make_p_table.obj misc.obj
122 make_s_table.exe: make_s_table.obj misc.obj
125 make_odd.exe: make_odd.obj misc.obj
128 make_p.exe: make_p.obj misc.obj
131 make_s.exe: make_s.obj misc.obj
134 make_fp.exe: make_fp.obj misc.obj
137 make_ip.exe: make_ip.obj misc.obj
140 install: $(GENERATED_FILES) $(LIBFILE) $(INCFILES)