* configure.in: added missing mcs51 in status output
[fw/sdcc] / sim / ucsim / avr.src / Makefile.in
index c0f38716db1e23b9fda5e74179bdb6a5850c2516..74bdab65b589ed2167e0b5c6bf61b44645f8cd02 100644 (file)
@@ -37,6 +37,7 @@ exec_prefix     = @exec_prefix@
 bindir          = @bindir@
 libdir          = @libdir@
 datadir         = @datadir@
+datarootdir     = @datarootdir@
 includedir      = @includedir@
 mandir          = @mandir@
 man1dir         = $(mandir)/man1
@@ -116,23 +117,23 @@ include $(srcdir)/clean.mk
 
 avr.src: savr$(EXEEXT) shared_lib
 
-savr$(EXEEXT): $(OBJECTS) $(top_builddir)*.a
+savr$(EXEEXT): $(OBJECTS) $(top_builddir)/*.a
        $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $@
 
 ifeq ($(dlso_ok),yes)
-shared_lib: $(top_builddir)savr.so
+shared_lib: $(top_builddir)/savr.so
 else
 shared_lib:
        @$(top_srcdir)/mkecho $(top_builddir) "No AVR shared lib made."
        @$(top_srcdir)/mkecho $(top_builddir) "(SHAREDLIB="$(SHAREDLIB)",dl_ok="$(dl_ok)",enable_dlso="$(enable_dlso)")"
 endif
 
-$(top_builddir)savr.so: $(OBJECTS_SHARED)
-       $(CXX) -shared $(OBJECTS_SHARED) -o $(top_builddir)savr.so
+$(top_builddir)/savr.so: $(OBJECTS_SHARED)
+       $(CXX) -shared $(OBJECTS_SHARED) -o $(top_builddir)/savr.so
 
 otherlibs:
-       $(MAKE) -C $(top_builddir)cmd.src all
-       $(MAKE) -C $(top_builddir)sim.src all
+       $(MAKE) -C $(top_builddir)/cmd.src all
+       $(MAKE) -C $(top_builddir)/sim.src all
 
 .cc.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
@@ -144,7 +145,7 @@ otherlibs:
 # Remaking configuration
 # ----------------------
 checkconf:
-       @if [ -f $(top_builddir)devel ]; then\
+       @if [ -f $(top_builddir)/devel ]; then\
          $(MAKE) -f conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" freshconf;\
        fi