Add a versions haddock binary for Windows
[ghc-hetmet.git] / driver / haddock / ghc.mk
1 # -----------------------------------------------------------------------------
2 #
3 # (c) 2009 The University of Glasgow
4 #
5 # This file is part of the GHC build system.
6 #
7 # To understand how the build system works and how to modify it, see
8 #      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 #      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 ifeq "$(Windows)" "YES"
14
15 driver/haddock_dist_C_SRCS   = haddock.c ../utils/cwrapper.c ../utils/getLocation.c
16 driver/haddock_dist_CC_OPTS += -I driver/utils
17 driver/haddock_dist_PROG     = haddock-$(ProjectVersion)
18 driver/haddock_dist_INSTALL  = YES
19 driver/haddock_dist_INSTALL_INPLACE = NO
20
21 $(eval $(call build-prog,driver/haddock,dist,0))
22
23 endif
24