1 # Regression test specification for the pdk14 target running with uCsim
5 UCPDK14C
= $(SDCC_BIN_PATH
)/ucsim_pdk
$(EXEEXT
)
7 AS_PDK14C
= $(SDCC_BIN_PATH
)/sdaspdk
$(EXEEXT
)
10 UCPDK14A
= $(UCSIM_DIR
)/pdk.src
/ucsim_pdk
$(EXEEXT
)
12 UCPDK14A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/pdk.src
/ucsim_pdk
$(EXEEXT
)
13 UCPDK14B
= $(top_builddir
)/bin
/ucsim_pdk
$(EXEEXT
)
16 EMU
= $(WINE
) $(shell if
[ -f
$(UCPDK14A
) ]; then echo
$(UCPDK14A
); else echo
$(UCPDK14B
); fi
)
18 AS
= $(WINE
) $(top_builddir
)/bin
/sdaspdk
$(EXEEXT
)
21 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
22 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/pdk14
27 SDCCFLAGS
+= -I
$(top_srcdir
)
30 SDCCFLAGS
+= -mpdk14
--less-pedantic
--out-fmt-ihx
31 LINKFLAGS
+= pdk14.lib
36 # otherwise `make` deletes testfwk.rel and `make -j` will fail
37 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
40 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
41 include $(srcdir)/fwk
/lib
/spec.mk