File: system

package info (click to toggle)
inventor 2.1.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 33,676 kB
  • sloc: ansic: 34,082; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 343; perl: 234; awk: 141; csh: 35; makefile: 17; sed: 11
file content (22 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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