# -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------

utils/hp2ps_dist_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
                          Reorder.c TopTwenty.c AuxFile.c Deviation.c \
                          HpFile.c Marks.c Scale.c TraceElement.c \
                          Axes.c Dimensions.c Key.c PsFile.c Shade.c \
                          Utilities.c
utils/hp2ps_dist_PROG    = hp2ps$(exeext)
utils/hp2ps_dist_INSTALL = YES

$(eval $(call build-prog,utils/hp2ps,dist,0))


# -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------

utils/hp2ps_dist_C_SRCS = AreaBelow.c Curves.c Error.c Main.c \
                          Reorder.c TopTwenty.c AuxFile.c Deviation.c \
                          HpFile.c Marks.c Scale.c TraceElement.c \
                          Axes.c Dimensions.c Key.c PsFile.c Shade.c \
                          Utilities.c
utils/hp2ps_dist_PROG    = hp2ps$(exeext)
utils/hp2ps_dist_INSTALL = YES

utils/hp2ps_CC_OPTS += -Iincludes

$(eval $(call build-prog,utils/hp2ps,dist,0))


Add -Iincludes to hp2ps's CC_OPTS Making C deps for hp2ps always failed, but we used to carry on regardless
Add -Iincludes to hp2ps's CC_OPTS
Making C deps for hp2ps always failed, but we used to carry on regardless
