fix the dependencies on GmpDerivedConstants.h when HaveLibGmp==YES 2009-06-25
authorSimon Marlow <marlowsd@gmail.com>
Tue, 23 Jun 2009 14:09:22 +0000 (14:09 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 23 Jun 2009 14:09:22 +0000 (14:09 +0000)
gmp/ghc.mk

index 3549a26..08e6747 100644 (file)
@@ -45,11 +45,12 @@ HaveFrameworkGMP = NO
 endif
 endif
 
+$(libraries/integer-gmp_dist-install_v_CMM_OBJS): libraries/integer-gmp/cbits/GmpDerivedConstants.h
+$(libraries/integer-gmp_dist-install_v_C_OBJS):   libraries/integer-gmp/cbits/GmpDerivedConstants.h
+
 ifneq "$(HaveLibGmp)" "YES"
 ifneq "$(HaveFrameworkGMP)" "YES"
 libraries/integer-gmp/cbits/mkGmpDerivedConstants$(exeext): libraries/integer-gmp/gmp/gmp.h
-$(libraries/integer-gmp_dist-install_v_CMM_OBJS): libraries/integer-gmp/cbits/GmpDerivedConstants.h
-$(libraries/integer-gmp_dist-install_v_C_OBJS):   libraries/integer-gmp/cbits/GmpDerivedConstants.h
 
 libraries/integer-gmp_CC_OPTS += -I$(TOP)/libraries/integer-gmp/gmp