1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
#
# Makefile.local: local customizations for the xtrs Makefile
#
# If your machine is not a sun, vax, or DEC MIPS, uncomment the line below
# if the processor has big-endian byte ordering. If you're not sure what
# to do, don't worry -- the program will complain if it's not right.
# ENDIAN = -Dbig_endian
# If you would like the TRS-80 ROM to be built into the application,
# use the following lines (with the appropriate file names). You can
# get a ROM image from a real TRS-80 with moderate effort, if you have
# one. There are also Web sites with TRS-80 ROMs that can be
# downloaded, but none are included with this package due to copyright
# concerns. As another alternative, for -model III or 4, you can
# export the MODELA/III file from a Model III or 4 TRSDOS or
# LDOS/LS-DOS diskette and use it as BUILT_IN_ROM3.
# The default ROM for -model I, III and 4 (fakerom.hex) just prints a
# message saying that you don't have a ROM. The default ROM for
# -model 4P (xtrsrom4p.hex) is a free minimal ROM that can boot a
# Model 4 mode operating system (such as TRSDOS/LDOS 6); source code
# is included in this package. This ROM cannot boot a Model III mode
# operating system.
# for -model I
BUILT_IN_ROM = fakerom.hex
# for -model III and -model 4
BUILT_IN_ROM3 = fakerom.hex
# for -model 4P
BUILT_IN_ROM4P = xtrsrom4p.hex
# If you would like the application to load a default ROM file at startup
# time, use these lines (with the appropriate file names). The default file
# name is ignored and can be omitted if the ROM for that model is built in.
DEFAULT_ROM = -DDEFAULT_ROM='"/usr/local/lib/xtrs/level2rom.hex"' \
-DDEFAULT_ROM3='"/usr/local/lib/xtrs/romimage.m3"' \
-DDEFAULT_ROM4P='"/usr/local/lib/xtrs/romimage.m4p"'
# If you would like to change where xtrs looks for disk?-? files, edit
# this line. "." of course means the current working directory.
DISKDIR = -DDISKDIR='"."'
# If you have the GNU readline package (the README file tells you where to
# get it) and would like to use it with the built-in Z-80 debugger, use
# these lines. As of xtrs 2.7, it is now OK to use this feature again.
READLINE = -DREADLINE
READLINELIBS = -lreadline
# If you want to debug the emulator, use the -g flag instead:
DEBUG = -O2 -g
#DEBUG = -g -DKBDEBUG -DXDEBUG
#DEBUG = -g
#DEBUG = -Wall
# If you have gcc, and you want to use it:
#CC = gcc
# If you need a different path for libraries:
LDFLAGS = -L/usr/X11R6/lib
#LDFLAGS = -non_shared -L/usr/X11/lib
# If you need a different path for include files:
IFLAGS = -I/usr/include/X11
# Re-define this if your X library is strangely named:
XLIB = -lX11
# Use this if you need yet more libraries:
#EXTRALIBS = -ldnet
#EXTRALIBS = -lots
#EXTRALIBS = -ldnet_stub
# If you want xtrs to look for a global app-defaults file
# at runtime in $APPDEFAULTS/Xtrs:
APPDEFAULTS = -DAPPDEFAULTS='"/usr/X11/lib/X11/app-defaults"'
# prefix directory
PREFIX=/usr/local
#If included in distribution: PREFIX=/usr
# Set these to where you want installed stuff to go, if you install them.
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
# Change this if you have a BSD-compatible install program that is
# not the first program named "install" on your $PATH
INSTALL = install
# If you are building in a subdirectory:
#vpath %.c ..
#vpath %.h ..
#vpath %.man ..
#old way:
#VPATH = ..
|