From c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 10 Feb 2020 13:16:50 +0300 Subject: 9base: install to /usr instead of /usr/local/plan9 --- community/9base/files/config.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 community/9base/files/config.mk (limited to 'community/9base/files/config.mk') diff --git a/community/9base/files/config.mk b/community/9base/files/config.mk new file mode 100644 index 00000000..5e7516cd --- /dev/null +++ b/community/9base/files/config.mk @@ -0,0 +1,25 @@ +# Customize to fit your system + +# paths +PREFIX = /usr +MANPREFIX = ${PREFIX}/share/man + +VERSION = 7 +OBJTYPE = x86_64 +#OBJTYPE = arm +#OBJTYPE = x86_64 +#OBJTYPE     = sun4u + +# Linux/BSD +#CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\"" +CFLAGS += -c -I. -DPLAN9PORT -DPREFIX="\"${PREFIX}\"" +LDFLAGS += -static + +# Solaris +#CFLAGS = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\"" +#LDFLAGS = -dn + +# compiler +AR = ar rc +CC = cc +YACC = ../yacc/9yacc -- cgit v1.2.3