[regtest] Fix new places of ucsim simulators
[sdcc.git] / sdcc-build / components / gbdk-support.mk
blobfb85fa19c0d8e61aa212acd19e9c4c95ec93b70b
1 # gbdk-support (Gameboy Development Kit Support Files) Component
3 # Prevent multiple inclusion
4 ifneq ($(GBDKSUPPORTMKINCLUDE), 1)
5 GBDKSUPPORTMKINCLUDE = 1
7 # Add gbdk-lib to the list of source trees that need to be fetched
8 SRCTREES += gbdk-support
9 # Dir
10 GBDKSUPPORTDIR = $(SRCDIR)/gbdk-support
11 # PENDING
12 GBDKLIBINSTALLDIR = ~/gbdk/
13 # PENDING
14 CLEANTARGETS += gbdk-support-clean
15 # PENDING
16 CVSREPOSITORIES += cvs.gbdk.sourceforge.net:/cvsroot/gbdk
18 # Override the default fetch behavoiur
19 # Default rule for fetching a tree from cvs
20 $(STAMPDIR)/gbdk-support.fetched: $(ORIGDIR) $(STAMPDIR)
21 cd $(ORIGDIR); cvs $(CVSFLAGS) -d:pserver:anonymous@cvs.gbdk.sourceforge.net:/cvsroot/gbdk co gbdk-support
22 touch $@
24 gbdk-support: gbdk-support-lcc
26 gbdk-support-clean: gbdk-support-lcc-clean
28 gbdk-support-build-lcc: gbdk-support-lcc-clean
29 make -C $(GBDKSUPPORTDIR)/lcc GBDKLIBDIR=$(GBDKLIBINSTALLDIR)
31 gbdk-support-lcc: gbdk-support-lcc-clean
32 make -C $(GBDKSUPPORTDIR)/lcc GBDKLIBDIR=$(GBDKLIBINSTALLDIR)
34 gbdk-support-install: gbdk-support-lcc
35 cp $(GBDKSUPPORTDIR)/lcc/lcc $(BINDIR)
37 gbdk-support-lcc-clean:
38 make -C $(GBDKSUPPORTDIR)/lcc clean
40 endif