Added support for Ubuntu.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@66 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-02-06 22:54:03 +00:00
parent 608776f8ed
commit 5a51dece98
2 changed files with 10 additions and 3 deletions

View File

@@ -30,6 +30,10 @@
#
#############################################################################
# -- Include --
-include config.in
# -- Project --
project_name = flaim
@@ -111,7 +115,7 @@ ifeq (,$(OSTYPE))
HOSTTYPE = $(RPM_OS)
endif
endif
ifndef host_os_family
ifneq (,$(findstring Linux,$(OSTYPE)))
host_os_family = linux
@@ -137,7 +141,7 @@ ifndef host_os_family
endif
ifndef host_os_family
$(error Host operating system could not be determined)
$(error Host operating system could not be determined. You may need to export HOSTTYPE from the environment.)
endif
# -- Target build type --
@@ -214,7 +218,7 @@ ifndef target_os_family
target_word_size = 32
endif
else
ifneq (,$(findstring i386,$(HOSTTYPE)))
ifneq (,$(findstring 86,$(HOSTTYPE)))
target_processor = x86
target_word_size = 32
else

3
flaim/configure vendored
View File

@@ -1 +1,4 @@
#!/bin/bash
echo OSTYPE = $OSTYPE > config.in
echo HOSTTYPE = $HOSTTYPE >> config.in