* device/include/pic16/pic18f*.h: add bit aliases in INTCONbits_t
[fw/sdcc] / debugger / mcs51 / Makefile.in
index 740cf9204905fe03603bbbd9f443b8e9719ea969..ebba94b0ff5dd77eb8b2f7dc78e78b00f84a2c4e 100644 (file)
@@ -11,8 +11,8 @@ STRIP           = @STRIP@
 
 top_builddir   = ../../
 top_srcdir     = @srcdir@/../..
-SLIB           = $(top_builddir)support/Util
-SDCCLIB                = $(top_builddir)src
+SLIB           = $(top_srcdir)/support/Util
+SDCCLIB                = $(top_srcdir)/src
 
 VPATH           = @srcdir@
 srcdir         = @srcdir@
@@ -20,16 +20,9 @@ srcdir               = @srcdir@
 prefix         = @prefix@
 exec_prefix     = @exec_prefix@
 bindir          = @bindir@
-libdir          = @libdir@
-datadir         = @datadir@
-includedir      = @includedir@
-mandir          = @mandir@
-man1dir         = $(mandir)/man1
-man2dir         = $(mandir)/man2
-infodir         = @infodir@
 
 STD_INC                = @sdcc_include_dir@
-CPPFLAGS       = @CPPFLAGS@ -I. -I$(top_builddir) -I$(top_srcdir) -I$(srcdir)/$(SLIB) -DHAVE_CONFIG_H
+CPPFLAGS       = @CPPFLAGS@ -I. -I$(top_builddir) -I$(top_srcdir) -I$(SLIB) -DHAVE_CONFIG_H
 CFLAGS         = @CFLAGS@
 M_OR_MM                = @M_OR_MM@
 LDFLAGS                = @LDFLAGS@
@@ -41,14 +34,14 @@ LIBDIRS         =
 
 OBJECTS                = sdcdb.o symtab.o simi.o \
                  break.o cmd.o
-SLIBOBJS       = NewAlloc.o SDCCerr.o
-SDCCOBJS       = SDCCset.o SDCChasht.o
+SLIBOBJS       = NewAlloc.o
+SDCCOBJS       = SDCCset.o SDCChasht.o SDCCerr.o
 
 SOURCES                = $(patsubst %.o,%.c,$(OBJECTS))
 SLIBSOURCES    = $(patsubst %.o,$(SLIB)/%.c,$(SLIBOBJS))
 SDCCSOURCES    = $(patsubst %.o,$(SDCCLIB)/%.c,$(SDCCOBJS))
 
-TARGET         = $(top_builddir)bin/sdcdb$(EXEEXT)
+TARGET         = $(top_builddir)/bin/sdcdb$(EXEEXT)
 
 
 # Compiling entire program or any subproject
@@ -91,12 +84,12 @@ installdirs:
 # ---------------------
 dep: Makefile.dep
 
-Makefile.dep: $(SOURCES) $(SLIBSOURCES) $(SDCCSOURCES) $(srcdir)/*.h $(top_builddir)*.h $(top_srcdir)/*.h
+Makefile.dep: $(SOURCES) $(SLIBSOURCES) $(SDCCSOURCES) $(srcdir)/*.h $(top_builddir)/*.h $(top_srcdir)/*.h
        $(CPP) $(CPPFLAGS) $(M_OR_MM) $(filter %.c,$^) >Makefile.dep
 
 ifeq "$(findstring $(MAKECMDGOALS),uninstall installcheck installdirs checkconf \
                                    clean distclean mostlyclean realclean)" ""
-  include Makefile.dep
+  -include Makefile.dep
 endif
 include $(srcdir)/clean.mk
 
@@ -117,7 +110,7 @@ $(SDCCOBJS):%.o:$(SDCCLIB)/%.c
 # 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