forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.in
More file actions
61 lines (53 loc) · 910 Bytes
/
Copy pathMakefile.in
File metadata and controls
61 lines (53 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Makefile for lib/float.
#CC1 = /bin/sh ./FP.compile
LIBRARIES=libfp
libfp_FILES=" \
add_ext.fc \
adder.fc \
adf4.fc \
adf8.fc \
cff4.fc \
cff8.fc \
cfi.fc \
cfu.fc \
cif4.fc \
cif8.fc \
cmf4.fc \
cmf8.fc \
compact.fc \
cuf4.fc \
cuf8.fc \
div_ext.fc \
dvf4.fc \
dvf8.fc \
extend.fc \
fef4.fc \
fef8.fc \
fif4.fc \
fif8.fc \
fptrp.s \
mlf4.fc \
mlf8.fc \
mul_ext.fc \
ngf4.fc \
ngf8.fc \
nrm_ext.fc \
sbf4.fc \
sbf8.fc \
sft_ext.fc \
shifter.fc \
sub_ext.fc \
zrf4.fc \
zrf8.fc \
zrf_ext.fc"
TYPE=ack
#extra commands to convert the c files to the correct assembler files
#%.s: %.fc
# /bin/sh ./FP.compile $<
#1. make a assembler file of the c file
#%.fs: %.fc
# -cp $< $(<:.fc=.c) && cc -O -I. -D_MINIX -D_POSIX_SOURCE -S $(<:.fc=.c) && cp $(<:.fc=.s) $(<:.fc=.fs)
# @rm $(<:.fc=.c) $(<:.fc=.s)
#2. modify the assembler file
#%.s: %.fs
# sed -f FP.script $< > $@