No empty .Rs/.Re
[netbsd-mini2440.git] / sys / dev / microcode / daic / Makefile
blobb34bddb5519d6ce85456c6559fae82e98a888f0c
1 # The Microcode for the Eicon.Diehl active ISDN cards comes in two parts.
2 # A tiny bootstrap loader delivered by Diehl as "dnload.bin" and a
3 # D-channel protocol specific file, e.g. "te_etsi.sx" for the SX card
4 # running E-DSS1.
5 # We can not deliver either of these files. The user is assumed to use
6 # the ones distributed with his card or download the newest version from
7 # http://www.diehl.de.
8 # The bootstrap loader is compiled into the kernel, as it is needed to
9 # identify the card. The protocol specific part is later downloaded by
10 # the ISDN management daemon.
12 .NOPATH: dnload.bin
13 .if exists(dnload.bin)
14 # Real part - the bootstrap image is available. We convert it into a
15 # static byte array via the "gendnloadh" shell script.
16 dnload.h: dnload.bin
17 @rm -f dnload.h
18 @${HOST_SH} ./gendnloadh
19 .else
20 # Fake part - user did not copy the necessary file here. Compilation will
21 # fail with an error explaining his fault.
22 dnload.h: dnload.h-dist
23 cp dnload.h-dist dnload.h
24 .endif
26 clean:
27 rm -f dnload.h
29 cleandir: clean
31 all: includes
33 includes: dnload.h
35 .include <bsd.kinc.mk>