blob: 94d46e824270bcb986432eaec647d1b5ebb1f946 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
LOCAL_PKGCONF=local.package.conf
clean:
rm -f Setup$(exeext)
rm -rf a1/dist a2/dist b/dist
rm -f *.o *.hi
rm -f clean.out prep.out
rm -rf $(LOCAL_PKGCONF)
recomp007:
$(MAKE) clean
"$(GHC_PKG)" init $(LOCAL_PKGCONF)
"$(TEST_HC)" -v0 --make Setup.hs
$(MAKE) prep.a1
$(MAKE) prep.b
"$(GHC_PKG)" unregister --package-conf=$(LOCAL_PKGCONF) a-1.0
$(MAKE) prep.a2
cd b && ../Setup configure -v0 --with-compiler="$(TEST_HC)" --with-hc-pkg="$(GHC_PKG)" --package-db=../$(LOCAL_PKGCONF)
cd b && ../Setup build
prep.%:
cd $* && ../Setup configure -v0 --with-compiler="$(TEST_HC)" --with-hc-pkg="$(GHC_PKG)" --package-db=../$(LOCAL_PKGCONF)
cd $* && ../Setup build -v0
cd $* && ../Setup register -v0 --inplace
|