|
|
# is included in this package. This ROM cannot boot a Model III mode | # is included in this package. This ROM cannot boot a Model III mode |
# operating system. | # operating system. |
| |
# for -model I |
## for -model I |
BUILT_IN_ROM = fakerom.hex |
#BUILT_IN_ROM = fakerom.hex |
# for -model III and -model 4 |
## for -model III and -model 4 |
BUILT_IN_ROM3 = fakerom.hex |
#BUILT_IN_ROM3 = fakerom.hex |
# for -model 4P |
## for -model 4P |
BUILT_IN_ROM4P = xtrsrom4p.hex |
#BUILT_IN_ROM4P = xtrsrom4p.hex |
| |
# If you would like the application to load a default ROM file at startup | # 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 | # 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. | # 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"' \ |
DEFAULT_ROM = -DDEFAULT_ROM='"/usr/share/xtrs/fakerom.hex"' \ |
-DDEFAULT_ROM3='"/usr/local/lib/xtrs/romimage.m3"' \ |
-DDEFAULT_ROM3='"/usr/share/xtrs/fakerom.hex"' \ |
-DDEFAULT_ROM4P='"/usr/local/lib/xtrs/romimage.m4p"' |
-DDEFAULT_ROM4P='"/usr/share/xtrs/xtrsrom4p.hex"' |
| |
# If you would like to change where xtrs looks for disk?-? files, edit | # If you would like to change where xtrs looks for disk?-? files, edit |
# this line. "." of course means the current working directory. | # this line. "." of course means the current working directory. |
| |
DISKDIR = -DDISKDIR='"."' |
DISKDIR = -DDISKDIR='"/usr/share/xtrs/"' |
| |
# If you have the GNU readline package (the README file tells you where to | # 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 | # get it) and would like to use it with the built-in Z-80 debugger, use |
|
|
READLINE = -DREADLINE | READLINE = -DREADLINE |
READLINELIBS = -lreadline -lncurses | READLINELIBS = -lreadline -lncurses |
| |
|
# If you have SIGIO and it works for you, use this line. |
|
# If you are using Cygwin (Windows), however, SIGIO does not seem to work, |
|
# so comment this out. |
|
|
|
SIGIO = -DHAVE_SIGIO |
|
|
# If you want to debug the emulator, use the -g flag instead: | # If you want to debug the emulator, use the -g flag instead: |
| |
DEBUG = -O2 -g |
#DEBUG = -O2 -g |
#DEBUG = -g -DKBDEBUG -DXDEBUG | #DEBUG = -g -DKBDEBUG -DXDEBUG |
#DEBUG = -g | #DEBUG = -g |
#DEBUG = -Wall | #DEBUG = -Wall |
|
# Gentoo ebuild will set these flags |
|
DEBUG = |
| |
# If you have gcc, and you want to use it: | # If you have gcc, and you want to use it: |
| |
|
|
| |
# prefix directory | # prefix directory |
| |
PREFIX=/usr/local |
PREFIX=${D}/usr |
#If included in distribution: PREFIX=/usr | #If included in distribution: PREFIX=/usr |
| |
# Set these to where you want installed stuff to go, if you install them. | # Set these to where you want installed stuff to go, if you install them. |
|
|
INSTALL = install | INSTALL = install |
| |
# If you are building in a subdirectory: | # If you are building in a subdirectory: |
#vpath %.c .. |
vpath %.c $(PREFIX)/bin |
#vpath %.h .. |
vpath %.h $(PREFIX)/bin |
#vpath %.man .. |
vpath %.man $(PREFIX)/share/man |
#old way: |
|
#VPATH = .. |
|