Handle EXTRA_LIBRARIES when building programs
[ghc-hetmet.git] / utils / hp2ps / 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 utils/hp2ps_dist_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
14                           Reorder.c TopTwenty.c AuxFile.c Deviation.c \
15                           HpFile.c Marks.c Scale.c TraceElement.c \
16                           Axes.c Dimensions.c Key.c PsFile.c Shade.c \
17                           Utilities.c
18 utils/hp2ps_dist_EXTRA_LIBRARIES = m
19 utils/hp2ps_dist_PROG    = hp2ps$(exeext)
20 utils/hp2ps_dist_INSTALL = YES
21
22 utils/hp2ps_CC_OPTS += -Iincludes
23
24 $(eval $(call build-prog,utils/hp2ps,dist,0))
25