[BACK]Return to system CVS log [TXT][DIR] Up to [Development] / inventor / make

File: [Development] / inventor / make / system (download)

Revision 1.5, Fri Jul 11 22:40:54 2003 UTC (14 years, 3 months ago) by jlim
Branch: MAIN
CVS Tags: release-2_1_5-10
Changes since 1.4: +5 -0 lines

Various changes to support Apple Darwin (Mac OS X), provided by Chris Scharver.

usingIrix = 0
usingLinux = 0
usingFreeBSD = 0
usingDarwin = 0

UNAME = $(shell uname | tr '[:upper:]' '[:lower:]')

ifneq (, $(findstring irix, $(UNAME)))
usingIrix = 1
endif

ifneq (, $(findstring linux, $(UNAME)))
usingLinux = 1
endif

ifneq (, $(findstring freebsd, $(UNAME)))
usingFreeBSD = 1
endif

ifneq (, $(findstring darwin, $(UNAME)))
usingDarwin = 1
endif