1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-28 09:18:18 +00:00
Files
PDP-10.klh10/mk/top.mk
Olaf Seibert 6a8a710ecf Change configure to control the compilation of the Panda lights.
This needs to check for libusb-1.0. Since this shouldn't be linked to
the auxiliary programs, add another Makefile variable to record it in:
CPULIBS.
Stub out calls to outb() if it is unavailable, so that it can at least
use libusb in that case.
2018-09-15 00:04:31 +02:00

41 lines
1.2 KiB
Makefile

# KLH10 Makefile for @KLH10S_CENV_SYS_@ on @KLH10S_CENV_CPU_@
#
# Copyright © 2016 Olaf 'Rhialto' Seibert
# 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.
#
#####################################################################
SRC = @top_srcdir@/src
BLDSRC = @top_builddir@/src
CC = @CC@
CFLAGS = -c @CFLAGS@
CPPFLAGS = @CPPFLAGS@ -I$(BLDSRC) -I$(SRC)
CFLAGS_LINT = -ansi -pedantic -Wall -Wshadow \
-Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wredundant-decls
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
CPULIBS = @CPULIBS@
NETLIBS = @NETLIBS@
prefix = @prefix@
exec_prefix = @exec_prefix@
KLH10_HOME ?= ${DESTDIR}@bindir@
# Source definitions
CENVFLAGS = @CENVFLAGS@
MAKEFILE = @MAKEFILE@
CONFFLAGS_AUX = -DKLH10_I_CIRC=1
#---