summaryrefslogtreecommitdiffstats
path: root/config/exports.mk
blob: 91285683678ec9958bfcea72c36816dd637933db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright © Tavian Barnes <tavianator@tavianator.com>
# SPDX-License-Identifier: 0BSD

# Makefile fragment that exports variables used by configuration scripts

export XPREFIX=${PREFIX}
export XMANDIR=${MANDIR}

export XCC=${CC}
export XINSTALL=${INSTALL}
export XMKDIR=${MKDIR}
export XRM=${RM}

export XCPPFLAGS=${CPPFLAGS}
export XCFLAGS=${CFLAGS}
export XLDFLAGS=${LDFLAGS}
export XLDLIBS=${LDLIBS}

export XNOLIBS=${NOLIBS}