c753ae889f1d806a4677695fa4a59c593465b324
[ghc-hetmet.git] / utils / pwd / Makefile
1 TOP=../..
2 include $(TOP)/mk/boilerplate.mk
3
4 # We have two version: the inplace version compiled by the bootstrap compiler
5 #   and the install version compiled by the stage 1 compiler
6 ifeq "$(stage)" "2"
7 HS_PROG           = pwd
8 else
9 HS_PROG           = pwd-inplace
10 endif
11
12 binary-dist:
13         $(INSTALL_DIR)                      $(BIN_DIST_DIR)/utils/pwd
14         $(INSTALL_DATA)    Makefile         $(BIN_DIST_DIR)/utils/pwd/
15         $(INSTALL_PROGRAM) pwd$(exeext)     $(BIN_DIST_DIR)/utils/pwd/
16
17 include $(TOP)/mk/target.mk