boilerplate.mk 284 Bytes
Newer Older
1 2 3
TESTSUITE_TOP := $(TOP)
TOP:=$(TOP)/..

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ifneq "$(wildcard $(TOP)/ghc.mk)" ""
NEWBUILD=YES
else
NEWBUILD=NO
endif

ifeq "$(NEWBUILD)" "YES"

FPTOOLS_TOP:=$(TOP)
include $(FPTOOLS_TOP)/mk/newconfig.mk

default : all

else

19 20
include $(TOP)/mk/boilerplate.mk

21 22
endif

23
TOP:=$(TESTSUITE_TOP)