#
#
#

# Version
PACKAGE         = @PACKAGE@
VERSION         = @VERSION@
VERSIONHI       = @VERSIONHI@
VERSIONLO       = @VERSIONLO@
VERSIONP        = @VERSIONP@

# Programs
SHELL           = /bin/sh
CC              = @CCACHE@ @CC@
CPP             = @CCACHE@ @CPP@
CXX             = @CCACHE@ @CXX@
AR              = @AR@
RANLIB          = @RANLIB@
INSTALL         = @INSTALL@
YACC            = @YACC@
PYTHON          = @PYTHON@
LEX             = @LEX@
AWK             = @AWK@
STRIP           = @STRIP@
MAKEDEP         = @MAKEDEP@
prefix          = @prefix@
exec_prefix     = @exec_prefix@
bindir          = @bindir@
libdir          = @libdir@
datadir         = @datadir@
datarootdir     = @datarootdir@
includedir      = @includedir@
mandir          = @mandir@
man1dir         = $(mandir)/man1
man2dir         = $(mandir)/man2
infodir         = @infodir@
docdir          = @docdir@
DESTDIR         =

include_dir_suffix = @include_dir_suffix@
lib_dir_suffix     = @lib_dir_suffix@

# Modules to enable/disable
OPT_DISABLE_AVR         = @OPT_DISABLE_AVR@
OPT_DISABLE_DS390       = @OPT_DISABLE_DS390@
OPT_DISABLE_DS400       = @OPT_DISABLE_DS400@
OPT_DISABLE_HC08        = @OPT_DISABLE_HC08@
OPT_DISABLE_S08         = @OPT_DISABLE_S08@
OPT_DISABLE_MCS51       = @OPT_DISABLE_MCS51@
OPT_DISABLE_PIC14       = @OPT_DISABLE_PIC14@
OPT_DISABLE_PIC16       = @OPT_DISABLE_PIC16@
OPT_DISABLE_XA51        = @OPT_DISABLE_XA51@
OPT_DISABLE_Z80         = @OPT_DISABLE_Z80@
OPT_DISABLE_Z180        = @OPT_DISABLE_Z180@
OPT_DISABLE_R2K         = @OPT_DISABLE_R2K@
OPT_DISABLE_R3KA        = @OPT_DISABLE_R3KA@
OPT_DISABLE_TLCS90      = @OPT_DISABLE_TLCS90@
OPT_DISABLE_GBZ80       = @OPT_DISABLE_GBZ80@
OPT_DISABLE_STM8        = @OPT_DISABLE_STM8@

OPT_ENABLE_DOC          = @OPT_ENABLE_DOC@

OPT_DISABLE_DEVICE_LIB  = @OPT_DISABLE_DEVICE_LIB@
OPT_DISABLE_PACKIHX     = @OPT_DISABLE_PACKIHX@
OPT_DISABLE_SDBINUTILS  = @OPT_DISABLE_SDBINUTILS@
OPT_DISABLE_SDCPP       = @OPT_DISABLE_SDCPP@
OPT_DISABLE_UCSIM       = @OPT_DISABLE_UCSIM@
OPT_DISABLE_NON_FREE    = @OPT_DISABLE_NON_FREE@

SLIB                    = $(top_builddir)/support/util

EXEEXT          = @EXEEXT@
transform       = @program_transform_name@

# Flags

DEFS           += $(subs -DHAVE_CONFIG_H,,@DEFS@)
CPPFLAGS       += @CPPFLAGS@ $(INCLUDEFLAGS) -I. -I$(top_builddir) -I$(srcdir)/$(SLIB) -I$(srcdir)
CFLAGS         += @CFLAGS@ @WALL_FLAG@
CXXFLAGS       += @CXXFLAGS@
LDFLAGS        += @LDFLAGS@

EXTRALIBS      += @LIBS@

# Shared settings between all the sub Makefiles
# Done here so that we don't have to start a Make from the top levelport
# directory.

# Library compilation options
CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul

OBJ = $(SOURCES:.c=.o) $(CXXSOURCES:.cc=.o)
