* src/configure.in, src/configure, src/Makefile.in, as/z80/Makefile.in,
[fw/sdcc] / Makefile.common.in
1 #
2 #
3 #
4
5 # Version
6 VERSION         = @VERSION@
7 VERSIONHI       = @VERSIONHI@
8 VERSIONLO       = @VERSIONLO@
9 VERSIONP        = @VERSIONP@
10
11 # Programs
12 SHELL           = /bin/sh
13 CC              = @CC@
14 CPP             = @CPP@
15 RANLIB          = @RANLIB@
16 INSTALL         = @INSTALL@
17 YACC            = @YACC@
18 LEX             = @LEX@ 
19 AWK             = @AWK@
20 STRIP           = @STRIP@
21 prefix          = @prefix@
22 exec_prefix     = @exec_prefix@
23 bindir          = @bindir@
24 libdir          = @libdir@
25 datadir         = @datadir@
26 includedir      = @includedir@
27 mandir          = @mandir@
28 man1dir         = $(mandir)/man1
29 man2dir         = $(mandir)/man2
30 infodir         = @infodir@
31 docdir          = @docdir@
32 DESTDIR         =
33
34 include_dir_suffix = @include_dir_suffix@
35 lib_dir_suffix     = @lib_dir_suffix@
36
37 # Modules to enable/disable
38 OPT_DISABLE_AVR   = @OPT_DISABLE_AVR@
39 OPT_DISABLE_DS390 = @OPT_DISABLE_DS390@
40 OPT_DISABLE_DS400 = @OPT_DISABLE_DS400@
41 OPT_DISABLE_HC08  = @OPT_DISABLE_HC08@
42 OPT_DISABLE_MCS51 = @OPT_DISABLE_MCS51@
43 OPT_DISABLE_PIC   = @OPT_DISABLE_PIC@
44 OPT_DISABLE_PIC16 = @OPT_DISABLE_PIC16@
45 OPT_DISABLE_XA51  = @OPT_DISABLE_XA51@
46 OPT_DISABLE_Z80   = @OPT_DISABLE_Z80@
47
48 OPT_DISABLE_UCSIM     = @OPT_DISABLE_UCSIM@
49 OPT_DISABLE_DEVICE_LIB= @OPT_DISABLE_DEVICE_LIB@
50 OPT_DISABLE_PACKIHX   = @OPT_DISABLE_PACKIHX@
51 OPT_ENABLE_DOC        = @OPT_ENABLE_DOC@
52 OPT_DISABLE_SDCPP     = @OPT_DISABLE_SDCPP@
53
54 SLIB                    = $(top_builddir)support/Util
55
56 EXEEXT          = @EXEEXT@
57 transform       = @program_transform_name@
58
59 # Flags
60
61 DEFS           += $(subs -DHAVE_CONFIG_H,,@DEFS@)
62 CPPFLAGS       += @CPPFLAGS@ $(INCLUDEFLAGS) -I. -I$(top_builddir) -I$(srcdir)/$(SLIB) -I$(srcdir)
63 CFLAGS         += -Wall @CFLAGS@
64 LDFLAGS        += @LDFLAGS@
65 M_OR_MM         = @M_OR_MM@
66
67 EXTRALIBS      += @LIBS@
68
69 # Shared settings between all the sub Makefiles
70 # Done here so that we don't have to start a Make from the top levelport
71 # directory.
72
73 # Library compilation options
74 CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
75
76 OBJ = $(SOURCES:.c=.o)