reduce dependency on ghcconfig.h
[packages/base.git] / include / Makefile
1 # -----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.6 2005/03/02 16:39:57 ross Exp $
3
4 TOP=../..
5 include $(TOP)/mk/boilerplate.mk
6 -include ../config.mk
7
8 H_FILES = $(wildcard *.h)
9
10 includedir = $(libdir)/include
11 INSTALL_INCLUDES = $(H_FILES)
12
13 ifneq "$(HavePosixRegex)" "YES"
14 INSTALL_INCLUDES += ./regex/regex.h
15 endif
16
17 DIST_CLEAN_FILES += HsBaseConfig.h
18
19 include $(TOP)/mk/target.mk