diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-18 00:31:54 +0200 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-18 00:31:54 +0200 |
| commit | 268a53de823a6750d6256ee1fb1e7707b4b45740 (patch) | |
| tree | 42c1799a9a82b2f7d9790ee9fe181d72a7274751 /Makefile.common.in | |
| download | sdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz | |
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'Makefile.common.in')
| -rw-r--r-- | Makefile.common.in | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/Makefile.common.in b/Makefile.common.in new file mode 100644 index 0000000..412fd5a --- /dev/null +++ b/Makefile.common.in @@ -0,0 +1,96 @@ +# +# +# + +# 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_DISABLE_PDK13 = @OPT_DISABLE_PDK13@ +OPT_DISABLE_PDK14 = @OPT_DISABLE_PDK14@ +OPT_DISABLE_PDK15 = @OPT_DISABLE_PDK15@ +OPT_DISABLE_PDK16 = @OPT_DISABLE_PDK16@ + +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) |
