3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# for stddef.h, and that can't be written in portable C.
# so we're generating it at build time.
# gen-headers = type.h
include ../modmake
## the below code predates the introduction of gpp
## to generate these headers from templates instead
## of trying to write one for everypossible arch
## tuple. it is left as a monument to a terrible
## and now blissfully forgotten past.
#
# look, imma just be straight with you. the mechanism we're
|
|
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# for stddef.h, and that can't be written in portable C.
# so we're generating it at build time.
# gen-headers = type.h
include ../modmake
${OUT}/k/type.h: type.h.m ${TMP}/typesize.def
$(m-comp) $< $(file < ${TMP}/typesize.def) > $@
## the below code predates the introduction of gpp
## to generate these headers from templates instead
## of trying to write one for everypossible arch
## tuple. it is left as a monument to a terrible
## and now blissfully forgotten past.
#
# look, imma just be straight with you. the mechanism we're
|