DEADSOFTWARE

BlackBox @ OpenBSD: 1.6 -> 1.7
[bbcp.git] / BlackBox / _OpenBSD_ / Lin / Mod / gen-LibW / Makefile
1 # This is BSD Makefile
2 # BSD GNU
3 # ${.TARGET} $@
4 # ${.ALLSRC} $^
5 # ${.IMPSRC} $<
7 INCDIR ?= /usr/include
9 PY = python2.7
11 DEFS = defs-basictypes defs-lc
13 all: LibW.txt ${DEFS}
15 LibW.txt: LibW.txt.templ ${DEFS} libver osname machine
16 ${PY} ./untempl.py LibW.txt.templ ${.TARGET}
18 defs-basictypes: sizeofs
19 ./sizeofs > ${.TARGET}
21 defs-lc:
22 ./dumpdefs.py 2 1 i ${INCDIR}/locale.h | grep " LC_" > ${.TARGET}
24 clean:
25 rm -f ${DEFS} Net.txt sizeofs