blob: e80712c6ee2a0f82a3165878f81973f92d2762b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2025 FreeBSD Foundation
#
# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
# under sponsorship from the FreeBSD Foundation.
#
.et.h:
rm -f et-h-${.PREFIX}.et et-h-${.PREFIX}.c et-h-${.PREFIX}.h
cp ${.ALLSRC} et-h-${.PREFIX}.et
${COMPILE_ET} et-h-${.PREFIX}.et
mv et-h-${.PREFIX}.h ${.PREFIX}.h
rm -f et-h-${.PREFIX}.et et-h-${.PREFIX}.h
.et.c:
rm -f et-c-${.PREFIX}.et et-c-${.PREFIX}.c et-c-${.PREFIX}.h
cp ${.ALLSRC} et-c-${.PREFIX}.et
${COMPILE_ET} et-c-${.PREFIX}.et
mv et-c-${.PREFIX}.c ${.PREFIX}.c
rm -f et-h-${.PREFIX}.et et-h-${.PREFIX}.c
|