mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-05 16:05:30 +00:00
Move more old building infrastructure to "old/".
This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
# KLH10 Makefile for FreeBSD on PPC
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for BSD "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_PPC=1 -DCENV_SYS_FREEBSD=1 -DCENV_CPUF_BIGEND=1
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage:
|
||||
@make -f $(SRC)/Makefile.mk usage
|
||||
|
||||
install:
|
||||
@make -f $(SRC)/Makefile.mk install-unix
|
||||
|
||||
kn10-ks kn10-kl base-ks-its base-ks base-kl lint-ks-its lint-ks lint-kl port-ks kl0i-sync kl0i-rtmopt tapedd vdkfmt wxtest wfconv udlconv uexbconv enaddr dlmunch clean:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
@@ -1,47 +0,0 @@
|
||||
# KLH10 Makefile for FreeBSD on i386
|
||||
# $Id: Mk-fbx86.mk,v 2.4 2002/04/24 18:03:32 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for BSD "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_I386=1 -DCENV_SYS_FREEBSD=1
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage:
|
||||
@make -f $(SRC)/Makefile.mk usage
|
||||
|
||||
install:
|
||||
@make -f $(SRC)/Makefile.mk install-unix
|
||||
|
||||
$(.TARGETS):
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
@@ -1,45 +0,0 @@
|
||||
# KLH10 Makefile for Linux on amd64 / x86_64 / Alpha
|
||||
# (or any other little-endian 64-bit cpu)
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for GNU "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_ALPHA=1 -DCENV_SYS_LINUX=1 -DKLH10_DEV_LITES=1 \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
@@ -1,46 +0,0 @@
|
||||
# KLH10 Makefile for Linux on i386
|
||||
# $Id: Mk-lnx86.mk,v 2.5 2002/04/24 18:03:04 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for GNU "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_I386=1 -DCENV_SYS_LINUX=1 -DKLH10_DEV_LITES=1 \
|
||||
-DKLH10_NET_TUN=1 \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
@@ -1,44 +0,0 @@
|
||||
# KLH10 Makefile for Linux on ARM
|
||||
# $Id: Mk-lnxarm.mk,v 2.4 2002/04/24 18:17:05 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for GNU "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_ARM=1 -DCENV_SYS_LINUX=1
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
@@ -1,44 +0,0 @@
|
||||
# KLH10 Makefile for Linux on PowerPC
|
||||
# $Id: Mk-lnxppc.mk,v 2.4 2002/04/24 18:19:53 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for GNU "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -I. -I$(SRC)
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_PPC=1 -DCENV_SYS_LINUX=1 -DCENV_CPUF_BIGEND=1
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
@@ -1,67 +0,0 @@
|
||||
# KLH10 Makefile for NetBSD on amd64 / x86_64 / Alpha
|
||||
# (or any other little-endian 64-bit cpu)
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for BSD "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_ALPHA=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h \
|
||||
-DKLH10_NET_PCAP=1 \
|
||||
-DKLH10_NET_TUN=1 \
|
||||
-DKLH10_NET_TAP=1 \
|
||||
-DKLH10_NET_BRIDGE=1
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage:
|
||||
@make -f $(SRC)/Makefile.mk usage
|
||||
|
||||
install:
|
||||
@make -f $(SRC)/Makefile.mk install-unix
|
||||
|
||||
$(.TARGETS): netbsd-sucks.h
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
# This auxiliary file is needed to get around a bug in the NetBSD
|
||||
# /usr/include files. <stdio.h> includes <sys/types.h> which includes
|
||||
# <machine/types.h> which incorrectly exposes a typedef of vaddr_t (normally
|
||||
# a kernel only type), thus conflicting with KLH10's vaddr_t.
|
||||
# By including this file ahead of any other source files (see the -include
|
||||
# in CENVFLAGS) we can nullify the typedef.
|
||||
# And while we're at it, blast paddr_t for the same reason.
|
||||
|
||||
netbsd-sucks.h:
|
||||
@echo '/* DO NOT EDIT - dynamically generated, see Makefile */' > $@
|
||||
@echo "#define vaddr_t _kernel_vaddr_t" >> $@
|
||||
@echo "#define paddr_t _kernel_paddr_t" >> $@
|
||||
@echo "#include <sys/types.h>" >> $@
|
||||
@echo "#undef paddr_t" >> $@
|
||||
@echo "#undef vaddr_t" >> $@
|
||||
@@ -1,63 +0,0 @@
|
||||
# KLH10 Makefile for NetBSD on i386
|
||||
# $Id: Mk-nbx86.mk,v 2.5 2002/04/26 05:56:48 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for BSD "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O3 -ggdb
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_I386=1 -DCENV_SYS_NETBSD=1 -include netbsd-sucks.h
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage:
|
||||
@make -f $(SRC)/Makefile.mk usage
|
||||
|
||||
install:
|
||||
@make -f $(SRC)/Makefile.mk install-unix
|
||||
|
||||
$(.TARGETS): netbsd-sucks.h
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)"
|
||||
|
||||
# This auxiliary file is needed to get around a bug in the NetBSD
|
||||
# /usr/include files. <stdio.h> includes <sys/types.h> which includes
|
||||
# <machine/types.h> which incorrectly exposes a typedef of vaddr_t (normally
|
||||
# a kernel only type), thus conflicting with KLH10's vaddr_t.
|
||||
# By including this file ahead of any other source files (see the -include
|
||||
# in CENVFLAGS) we can nullify the typedef.
|
||||
# And while we're at it, blast paddr_t for the same reason.
|
||||
|
||||
netbsd-sucks.h:
|
||||
@echo '/* DO NOT EDIT - dynamically generated, see Makefile */' > $@
|
||||
@echo "#define vaddr_t _kernel_vaddr_t" >> $@
|
||||
@echo "#define paddr_t _kernel_paddr_t" >> $@
|
||||
@echo "#include <sys/types.h>" >> $@
|
||||
@echo "#undef paddr_t" >> $@
|
||||
@echo "#undef vaddr_t" >> $@
|
||||
@@ -1,48 +0,0 @@
|
||||
# KLH10 Makefile for NeXT on M68x
|
||||
# $Id: Mk-nxt.mk,v 2.4 2001/11/10 21:28:59 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
#####
|
||||
# WARNING: This platform is no longer supported! Its makefile is
|
||||
# retained only as a guide in case anyone wants to re-port it.
|
||||
#####
|
||||
|
||||
# Local config setup.
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
CC=gcc
|
||||
CFLAGS = -c -finline-functions -fomit-frame-pointer -O -O2 -pipe
|
||||
SRC = ../../src
|
||||
CFLAGS_LINT =
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_M68=1 -DCENV_SYS_NEXT=1
|
||||
|
||||
BASELIST = ks-t20
|
||||
|
||||
default:
|
||||
@echo "Must specify a target, one of \"$(BASELIST)\""
|
||||
|
||||
$(BASELIST):
|
||||
make -f $(SRC)/Makefile.mk kn10-ks wfconv tapedd vdkfmt
|
||||
"SRC=$(SRC)" "CENVFLAGS=$(CENVFLAGS)"
|
||||
"CONFFLAGS =
|
||||
-DWORD10_USEGCCSPARC=1 \
|
||||
-DKLH10_CPU_KS=1 \
|
||||
-DKLH10_SYS_T20=1 \
|
||||
$(TSYNCFLAGS) -DKLH10_CTYIO_INT=0"
|
||||
@@ -1,52 +0,0 @@
|
||||
# KLH10 Makefile for OSF/1 (DU, Tru64) on amd64 / x86_64 / Alpha
|
||||
# (or any other little-endian 64-bit cpu)
|
||||
# $Id: Mk-osfaxp.mk,v 2.3 2001/11/10 21:28:59 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for OSF1/DU/Tru64 "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Build definitions
|
||||
# librt.a is necessary in order to get memlk (mlockall).
|
||||
# May also want -non_shared in LDFLAGS to avoid OSF version problems.
|
||||
SRC = ../../src
|
||||
CFLAGS = -c -g3 -O -std1 -I. -I$(SRC)
|
||||
CFLAGS_LINT =
|
||||
LDFLAGS =
|
||||
LIBS = -lrt
|
||||
|
||||
# Source definitions
|
||||
CENVFLAGS = -DCENV_CPU_ALPHA=1 -DCENV_SYS_DECOSF=1
|
||||
|
||||
# Targets
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"LIBS=$(LIBS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# KLH10 Makefile for Solaris on SUN Sparc (using SUN's cc)
|
||||
# $Id: Mk-solsparc-cc.mk,v 2.3 2002/04/24 08:03:02 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for SUN's make & compiler.
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# WARNING! DO NOT USE THIS for SUN C 4.2 and possibly others.
|
||||
|
||||
# Note: these simple compile flags are known to work for Solaris 5 and 8
|
||||
# (SunOS 5.5.1 and 5.8); using "-fast" fails on 5.8.
|
||||
# Libraries are harder; -lrt doesn't exist on 5.5.1 and will have to
|
||||
# be removed or modified if not building for 5.8.
|
||||
# -lsocket and -lnsl are needed only for osdnet.c.
|
||||
# -lrt is needed for nanosleep().
|
||||
|
||||
# Build definitions
|
||||
# These LIBS are needed only for things using osdnet.c.
|
||||
CC = /opt/SUNWspro/bin/cc
|
||||
CFLAGS = -c -g -O
|
||||
LIBS = -lsocket -lnsl -lrt
|
||||
CONFFLAGS_AUX=-DWORD10_USEHUN=1
|
||||
|
||||
# Source definitions
|
||||
SRC = ../../src
|
||||
CENVFLAGS = -DCENV_CPU_SPARC=1 -DCENV_SYS_SOLARIS=1 \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
|
||||
# Targets
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"CC=$(CC)" \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)" \
|
||||
"CONFFLAGS_AUX=$(CONFFLAGS_AUX)" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"LIBS=$(LIBS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
@@ -1,60 +0,0 @@
|
||||
# KLH10 Makefile for Solaris on SUN Sparc
|
||||
# $Id: Mk-solsparc.mk,v 2.6 2002/04/24 18:25:59 klh Exp $
|
||||
#
|
||||
# Copyright © 2001 Kenneth L. Harrenstien
|
||||
# All Rights Reserved
|
||||
#
|
||||
# This file is part of the KLH10 Distribution. Use, modification, and
|
||||
# re-distribution is permitted subject to the terms in the file
|
||||
# named "LICENSE", which contains the full text of the legal notices
|
||||
# and should always accompany this Distribution.
|
||||
#
|
||||
# This software is provided "AS IS" with NO WARRANTY OF ANY KIND.
|
||||
#
|
||||
# This notice (including the copyright and warranty disclaimer)
|
||||
# must be included in all copies or derivations of this software.
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
# Local config setup, for GNU "make"!
|
||||
# Recursively invokes make with right params for local platform.
|
||||
|
||||
# Note: this makefile forces the use of GCC; SUN C 4.2 proved to have
|
||||
# bugs. For a makefile that does use the SUN compiler, use
|
||||
# Mk-solsparc-cc.mk instead.
|
||||
|
||||
# Build definitions
|
||||
# -lsocket and -lnsl are needed only for osdnet.c.
|
||||
# -lrt is needed for nanosleep().
|
||||
CC=gcc
|
||||
CFLAGS = -c -g -O3
|
||||
LIBS = -lsocket -lnsl -lrt
|
||||
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wmissing-declarations -Wredundant-decls
|
||||
CONFFLAGS_AUX= -DWORD10_USEGCCSPARC=1
|
||||
|
||||
# Source definitions
|
||||
SRC = ../../src
|
||||
CENVFLAGS = -DCENV_CPU_SPARC=1 -DCENV_SYS_SOLARIS=1 \
|
||||
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||
|
||||
# Targets
|
||||
|
||||
# Any target with no customized rule here is simply passed on to the
|
||||
# standard Makefile. If no target is specified, "usage" is passed on
|
||||
# to generate a helpful printout.
|
||||
|
||||
usage .DEFAULT:
|
||||
@make -f $(SRC)/Makefile.mk $@ \
|
||||
"CC=$(CC)" \
|
||||
"SRC=$(SRC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"CFLAGS_LINT=$(CFLAGS_LINT)" \
|
||||
"CENVFLAGS=$(CENVFLAGS)" \
|
||||
"CONFFLAGS_AUX=$(CONFFLAGS_AUX)" \
|
||||
"LDFLAGS=$(LDFLAGS)" \
|
||||
"LIBS=$(LIBS)"
|
||||
|
||||
install:
|
||||
make -f $(SRC)/Makefile.mk install-unix
|
||||
Reference in New Issue
Block a user