-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makefile.common.in
85 lines (71 loc) · 2.4 KB
/
Makefile.common.in
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
#
#
#
# Version
PACKAGE = @PACKAGE@
VERSION = @VERSION@
VERSIONHI = @VERSIONHI@
VERSIONLO = @VERSIONLO@
VERSIONP = @VERSIONP@
# Programs
SHELL = /bin/sh
CC = @CCACHE@ @CC@
CPP = @CCACHE@ @CPP@
CXX = @CCACHE@ @CXX@
RANLIB = @RANLIB@
INSTALL = @INSTALL@
YACC = @YACC@
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_GBZ80 = @OPT_DISABLE_GBZ80@
OPT_DISABLE_HC08 = @OPT_DISABLE_HC08@
OPT_DISABLE_MCS51 = @OPT_DISABLE_MCS51@
OPT_DISABLE_PIC14 = @OPT_DISABLE_PIC14@
OPT_DISABLE_PIC16 = @OPT_DISABLE_PIC16@
OPT_DISABLE_R2K = @OPT_DISABLE_R2K@
OPT_DISABLE_XA51 = @OPT_DISABLE_XA51@
OPT_DISABLE_Z180 = @OPT_DISABLE_Z180@
OPT_DISABLE_Z80 = @OPT_DISABLE_Z80@
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@
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)