* Makefile.common.in: unused PORT, SCC and SAS removed, fixed docdir
[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 srcdir          = @srcdir@
32 docdir          = @datadir@/doc
33
34 # Modules to enable/disable
35 OPT_ENABLE_UCSIM = @OPT_ENABLE_UCSIM@
36 OPT_ENABLE_DEVICE_LIB_BUILD = @OPT_ENABLE_DEVICE_LIB_BUILD@
37 OPT_ENABLE_PACKIHX = @OPT_ENABLE_PACKIHX@
38
39 SLIB                    = $(PRJDIR)/support/Util
40
41 transform       = @program_transform_name@
42
43 # Flags
44
45 DEFS            = $(subs -DHAVE_CONFIG_H,,@DEFS@)
46 CPPFLAGS        = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
47 CFLAGS          = @CFLAGS@ -Wall
48 M_OR_MM         = @M_OR_MM@
49
50 EXTRALIBS       = @LIBS@
51
52 # Shared settings between all the sub Makefiles
53 # Done here so that we don't have to start a Make from the top levelport
54 # directory.
55
56 # Library compilation options
57 CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
58
59 OBJ = $(SOURCES:.c=.o)