diff options
author | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-17 09:07:29 +0000 |
commit | 87adce3ca0bfd9018161a97c9e4f36eaf74d9b10 (patch) | |
tree | 5a3378a748ffa56073828573db89ccf305848977 /makefiledir | |
parent | 13f0b6c0cf754184cfef8645e709f10240da5f98 (diff) | |
download | openttd-87adce3ca0bfd9018161a97c9e4f36eaf74d9b10.tar.xz |
(svn r655) Add the necessary bits to make building on SunOS/Solaris work
Diffstat (limited to 'makefiledir')
-rw-r--r-- | makefiledir/Makefile.config_writer | 1 | ||||
-rw-r--r-- | makefiledir/Makefile.libdetection | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/makefiledir/Makefile.config_writer b/makefiledir/Makefile.config_writer index cf02dbfa8..116838c1a 100644 --- a/makefiledir/Makefile.config_writer +++ b/makefiledir/Makefile.config_writer @@ -77,6 +77,7 @@ $(MAKE_CONFIG): $(call CONFIG_LINE,FREEBSD:=$(FREEBSD)) $(call CONFIG_LINE,MORPHOS:=$(MORPHOS)) $(call CONFIG_LINE,BEOS:=$(BEOS)) + $(call CONFIG_LINE,SUNOS:=$(SUNOS)) $(call CONFIG_LINE,CYGWIN:=$(CYGWIN)) $(call CONFIG_LINE,MINGW:=$(MINGW)) $(call CONFIG_LINE,) diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 084d13707..31478d3bb 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -39,6 +39,13 @@ BEOS_NET_SERVER:=1 endif endif +# Automatically recognize if building on SunOS/Solaris +ifeq ($(shell uname), SunOS) +SUNOS:=1 +# SunOS uses UNIX setup too +UNIX:=1 +endif + # FreeBSD uses sdl11 instead of sdl ifdef FREEBSD SDL-CONFIG:=sdl11-config |