aboutsummaryrefslogtreecommitdiff
path: root/src/libsec/386/mkfile
blob: e5dac3cc7aae53c6c6813dbf0c75d9400594e451 (plain)
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
<$PLAN9/src/mkhdr

LIB=libsec.a
SFILES=\
	md5block.s\
	sha1block.s\

HFILES=$PLAN9/include/libsec.h

OFILES=${SFILES:%.s=%.$O}

UPDATE=mkfile\
	$HFILES\
	$SFILES\

<$PLAN9/src/mksyslib

%.s: %.spp
	if [ `uname` = OpenBSD ]
	then
		gcc -xc -E $stem.spp >$stem.s
	else
		cpp $stem.spp >$stem.s
	fi

CLEANFILES=md5block.s sha1block.s