followup for the bug #460088 fix
[fw/sdcc] / Makefile.common.in
index 4f5935f673327c0785eac1982291081940751b5c..eb8abd765338eee9836471ead0d0dc626857d230 100644 (file)
@@ -2,9 +2,6 @@
 #
 #
 
-# HACK
-PORT           = mcs51
-
 # Version
 VERSION         = @VERSION@
 VERSIONHI       = @VERSIONHI@
@@ -32,6 +29,7 @@ man1dir         = $(mandir)/man1
 man2dir         = $(mandir)/man2
 infodir         = @infodir@
 srcdir          = @srcdir@
+docdir          = @datadir@/doc
 
 # Modules to enable/disable
 OPT_ENABLE_UCSIM = @OPT_ENABLE_UCSIM@
@@ -49,13 +47,13 @@ CPPFLAGS        = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
 CFLAGS          = @CFLAGS@ -Wall
 M_OR_MM         = @M_OR_MM@
 
+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
-SCC = $(PRJDIR)/src/sdcc
-SAS = $(PRJDIR)/as/$(PORT)/as
 CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
 
 OBJ = $(SOURCES:.c=.o)