projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1997-05-27 06:01:00 by sof]
[ghc-hetmet.git]
/
ghc
/
includes
/
Makefile
diff --git
a/ghc/includes/Makefile
b/ghc/includes/Makefile
index
563ae50
..
cd5a8f2
100644
(file)
--- a/
ghc/includes/Makefile
+++ b/
ghc/includes/Makefile
@@
-55,6
+55,9
@@
$(H_CONFIG) :
@echo >> $@
@echo "#define $(HostOS_CPP)_HOST_OS 1" >> $@
@echo "#define $(HostOS_CPP)_TARGET_OS 1" >> $@
@echo >> $@
@echo "#define $(HostOS_CPP)_HOST_OS 1" >> $@
@echo "#define $(HostOS_CPP)_TARGET_OS 1" >> $@
+ @echo "#ifndef $(HostPlaform_GNU)_TARGET_OS " >> $@
+ @echo "#define $(HostPlaform_GNU)_TARGET_OS 1" >> $@
+ @echo "#endif " >> $@
@echo "#define $(HostOS_CPP)_BUILD_OS 1" >> $@
@echo >> $@
@echo "#define $(HostVendor_CPP)_HOST_VENDOR 1" >> $@
@echo "#define $(HostOS_CPP)_BUILD_OS 1" >> $@
@echo >> $@
@echo "#define $(HostVendor_CPP)_HOST_VENDOR 1" >> $@