File: sgi.cf

package info (click to toggle)
casio 2.2-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 700 kB
  • ctags: 418
  • sloc: ansic: 3,452; makefile: 90
file content (69 lines) | stat: -rw-r--r-- 2,129 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
XCOMM platform:  $XConsortium: sgi.cf,v 1.19.1.1 92/11/11 09:51:39 rws Exp $

#define OSName			IRIX
XCOMM operating system:  OSName
#define OSMajorVersion		4
#define OSMinorVersion		0

#define SystemV			YES
#define HasPutenv		YES
#define ExecableScripts		YES
#define HasNdbm			YES
#define HasVFork		YES
#define Malloc0ReturnsNull	YES
#define ExpandManNames          YES
/* At SGI, in 3.2 we have TCP/IP sockets only, 3.3 has unix domain also ! */
#define HasSockets		YES

#if OSMajorVersion > 3 || (OSMajorVersion == 3 && OSMinorVersion > 2)
#define NeedVarargsPrototypes	YES
#define NeedConstPrototypes	YES
#define NeedWidePrototypes	NO
#endif

/* Extra libraries provide : yp, sysV malloc & shared libc */
#define ExtraLibraries -lsun -lmalloc -lc_s


#define CCPreprocessorFlags /* As Nothing For the Standard "cpp" */

#define SymbolTables -Wf,-XNp9000,-XNd8000,-XNh2000

/* NOTE: the SGI cc driver invoking the ANSI cpp does NOT define __STDC__ */
/* #define CCPreprocessorFlags -acpp -D__STDC__ -D__EXTENSIONS__ SymbolTables */

/* this is for floating point, ANSI cpp */
#define DefaultCCOptions -prototypes -float CCPreprocessorFlags SymbolTables

/* At SGI, we don't need this */
#define ConstructMFLAGS		NO	/* build MFLAGS from MAKEFLAGS */

/* Used only for compressed fonts */
#define UNCOMPRESSPATH /usr/bsd/uncompress

/* Override Imake.tmpl's "-X" flag */
#define LdCombineFlags -r

#define ArCmd ar scq
#define LnCmd ln -s

/* for xdm or anyone else to use */
#define DefaultUserPath :/usr/sbin:/usr/bsd:/usr/bin:/bin:$(BINDIR):/etc:/usr/etc
#define DefaultSystemPath /usr/sbin:/usr/bsd:/bin:/etc:/usr/bin:/usr/etc:$(BINDIR)

/* Changed to a single shell command for pmake/smake */

/*
 * ObjectCompile - compile fragment for a normal object file
 */
#define	ObjectCompile(options) $(RM) $@ $*.os \				@@\
	&& $(CC) -c options $(CFLAGS) $*.c \				@@\
	&& $(LD) -x -r $@ -o $*.os \					@@\
	&& $(MV) $*.os $@

/*
 * LibObjCompile - compile fragment for shared/profiled/debugged objects
 */
#define LibObjCompile(dir,options) $(RM) $@ dir/$@ \			@@\
	&& $(CC) -c options $(CFLAGS) $*.c \				@@\
	&& $(MV) $@ dir/$@