1 # Regression test specification for the pdk14 target running with uCsim
3 EMU_PORT_FLAG
= -tPDK15
7 UCPDK15C
= $(SDCC_BIN_PATH
)/ucsim_pdk
$(EXEEXT
)
9 AS_PDK15C
= $(SDCC_BIN_PATH
)/sdaspdk
$(EXEEXT
)
12 UCPDK15A
= $(UCSIM_DIR
)/pdk.src
/ucsim_pdk
$(EXEEXT
)
14 UCPDK15A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/pdk.src
/ucsim_pdk
$(EXEEXT
)
15 UCPDK15B
= $(top_builddir
)/bin
/ucsim_pdk
$(EXEEXT
)
18 EMU
= $(WINE
) $(shell if
[ -f
$(UCPDK15A
) ]; then echo
$(UCPDK15A
); else echo
$(UCPDK15B
); fi
)
20 AS
= $(WINE
) $(top_builddir
)/bin
/sdaspdk
$(EXEEXT
)
23 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
24 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/pdk15
29 SDCCFLAGS
+= -I
$(top_srcdir
)
32 SDCCFLAGS
+= -mpdk15
--less-pedantic
--out-fmt-ihx
33 LINKFLAGS
+= pdk15.lib
38 # otherwise `make` deletes testfwk.rel and `make -j` will fail
39 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
42 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
43 include $(srcdir)/fwk
/lib
/spec.mk