]> git.gag.com Git - fw/sdcc/blob - Makefile.common.in
*** empty log message ***
[fw/sdcc] / Makefile.common.in
1 #
2 #
3 #
4
5 # HACK
6 PORT            = mcs51
7
8 # Version
9 VERSION         = @VERSION@
10 VERSIONHI       = @VERSIONHI@
11 VERSIONLO       = @VERSIONLO@
12 VERSIONP        = @VERSIONP@
13
14 # Programs
15 SHELL           = /bin/sh
16 CC              = @CC@
17 CPP             = @CPP@
18 RANLIB          = @RANLIB@
19 INSTALL         = @INSTALL@
20 YACC            = @YACC@ 
21 LEX             = @LEX@ 
22 AWK             = @AWK@
23 STRIP           = @STRIP@
24 prefix          = @prefix@
25 exec_prefix     = @exec_prefix@
26 bindir          = @bindir@
27 libdir          = @libdir@
28 datadir         = @datadir@
29 includedir      = @includedir@
30 mandir          = @mandir@
31 man1dir         = $(mandir)/man1
32 man2dir         = $(mandir)/man2
33 infodir         = @infodir@
34 srcdir          = @srcdir@
35 docdir          = @datadir@/doc/sdcc
36
37 # Modules to enable/disable
38 OPT_ENABLE_UCSIM = @OPT_ENABLE_UCSIM@
39 OPT_ENABLE_DEVICE_LIB_BUILD = @OPT_ENABLE_DEVICE_LIB_BUILD@
40 OPT_ENABLE_PACKIHX = @OPT_ENABLE_PACKIHX@
41
42 SLIB                    = $(PRJDIR)/support/Util
43
44 transform       = @program_transform_name@
45
46 # Flags
47
48 DEFS            = $(subs -DHAVE_CONFIG_H,,@DEFS@)
49 CPPFLAGS        = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
50 CFLAGS          = @CFLAGS@ -Wall
51 M_OR_MM         = @M_OR_MM@
52
53 EXTRALIBS       = @LIBS@
54
55 # Shared settings between all the sub Makefiles
56 # Done here so that we don't have to start a Make from the top levelport
57 # directory.
58
59 # Library compilation options
60 SCC = $(PRJDIR)/src/sdcc
61 SAS = $(PRJDIR)/as/$(PORT)/as
62 CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
63
64 OBJ = $(SOURCES:.c=.o)