diff options
author | Cem Keylan <cem@ckyln.com> | 2020-02-10 13:16:50 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-02-10 13:16:50 +0300 |
commit | c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89 (patch) | |
tree | f6c2a427056fa77ea930c8b520b89fd455ef3cd6 /community/9base/files/config.mk | |
parent | f8414ac2b5ef5120417d6f3f945f7059cdddabeb (diff) | |
download | repository-c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89.tar.gz |
9base: install to /usr instead of /usr/local/plan9
Diffstat (limited to 'community/9base/files/config.mk')
-rw-r--r-- | community/9base/files/config.mk | 25 |
1 files changed, 25 insertions, 0 deletions
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 |