1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-03-10 12:29:35 +00:00

Eliminate recursive Make invocation

by moving the model-specific CONFFLAGS into the model-specific
makefile fragments.
This commit is contained in:
Olaf Seibert
2016-01-23 23:19:19 +01:00
parent 9e06958f2e
commit 74e63d2b60
5 changed files with 66 additions and 6 deletions

View File

@@ -2,7 +2,8 @@
# Process this file with autogen.sh to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([klh10], [2.0i], [https://github.com/Rhialto/klh10])
AC_INIT([klh10], [2.0i-Rhialto], [https://github.com/Rhialto/klh10],
[], [https://github.com/Rhialto/klh10])
AC_CONFIG_SRCDIR([src/klh10.h])
AC_CONFIG_HEADERS([src/config.h])
@@ -119,7 +120,7 @@ typedef char vaddr_t;
])
# -------------------------------------------------------------------------
# Check how to replace strerror()
# Check how to replace strerror() if needed
# -------------------------------------------------------------------------
AC_MSG_CHECKING([whether sys_errlist exists])

View File

@@ -1,5 +1,25 @@
# Makefile fragment for building kl
all: base-kl tapedd vdkfmt wxtest enaddr
####################################################################
## Specific KLH10 configuration
##
# Standard setup for KL (TOPS-10 and TOPS-20)
#
CONFFLAGS = -DKLH10_CPU_KLX=1 \
-DKLH10_SYS_T20=1 \
-DKLH10_EVHS_INT=1 \
-DKLH10_DEV_DPNI20=1 \
-DKLH10_DEV_DPTM03=1 \
-DKLH10_DEV_DPRPXX=1 \
-DKLH10_MEM_SHARED=1 \
-DKLH10_RTIME_OSGET=1 \
-DKLH10_ITIME_INTRP=1 \
-DKLH10_CTYIO_INT=1 \
-DKLH10_APRID_SERIALNO=3600 \
-DKLH10_CLIENT=\"MyKL\" \
$(CONFFLAGS_AUX)
all: kn10-kl tapedd vdkfmt wxtest enaddr
#---

View File

@@ -1,5 +1,26 @@
# Makefile fragment for building ks-its
all: base-ks-its tapedd vdkfmt wxtest enaddr
####################################################################
## Specific KLH10 configuration
##
# Standard setup for KS ITS
#
CONFFLAGS = -DKLH10_CPU_KS=1 \
-DKLH10_SYS_ITS=1 \
-DKLH10_EVHS_INT=1 \
-DKLH10_DEV_DPTM03=1 \
-DKLH10_DEV_DPRPXX=1 \
-DKLH10_DEV_DPIMP=1 \
-DKLH10_SIMP=0 \
-DKLH10_MEM_SHARED=1 \
$(TINTFLAGS) \
$(DINTFLAGS) \
-DKLH10_APRID_SERIALNO=4097 -DKLH10_DEVMAX=12 \
-DKLH10_CLIENT=\"MyITS\" \
$(CONFFLAGS_AUX) \
-DVMTAPE_ITSDUMP=1
all: kn10-ks-its tapedd vdkfmt wxtest enaddr
#---

View File

@@ -1,5 +1,23 @@
# Makefile fragment for building ks
all: base-ks tapedd vdkfmt wxtest enaddr
####################################################################
## Specific KLH10 configuration
##
# Standard setup for KS (TOPS-20, maybe TOPS-10)
#
CONFFLAGS = -DKLH10_CPU_KS=1 \
-DKLH10_SYS_T20=1 \
-DKLH10_EVHS_INT=1 \
-DKLH10_DEV_DPTM03=1 \
-DKLH10_DEV_DPRPXX=1 \
-DKLH10_MEM_SHARED=1 \
$(TINTFLAGS) \
$(DINTFLAGS) \
-DKLH10_APRID_SERIALNO=4097 -DKLH10_DEVMAX=12 \
-DKLH10_CLIENT=\"MyKS\" \
$(CONFFLAGS_AUX)
all: kn10-ks tapedd vdkfmt wxtest enaddr
#---

View File

@@ -17,7 +17,7 @@
SRC = @top_srcdir@/src
BLDSRC = @top_builddir@/src
CC ?= @CC@
CC = @CC@
CFLAGS = -c @CFLAGS@ -I$(BLDSRC) -I$(SRC)
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
-Wstrict-prototypes -Wmissing-prototypes \