6 # Please see the config-NonS... file for more information about status
7 # This file is built from Sunos5(os) and sgic++(compiler)
13 CPPFLAGS += -I/usr/include3.18
14 CPPFLAGS += -D_REENTRANT
15 #CPPFLAGS += -ptused -prelink
20 #3106 nested comment is not allowed
21 #3203 statement is unreachable
22 #3252 argument of type "X" is incompatible with parameter of type "Y"
23 #3262 Parameter "X" declared and never referenced
24 #3611 a value of "X" cannot be assigned to an entity of type "Y"
25 #3140 macro redefined differently (param redefines NULL)
27 CPPFLAGS += -woff 3106,3203,3262
28 #CPPFLAGS += -woff 3106,3203,3262,3611,3252
29 #CPPFLAGS += -woff 3106,3203,3212,3252,3262,3611
31 # For the new 32 bit C++ compiler (-n32)
32 #CPPFLAGS += -n32 -woff 1174,1209,1375,1506,1110,1552,1021,1171
33 # For the old C++ compiler (-32)
35 LDFLAGS += -rpath "$(ACE_ROOT)/lib"
36 #LDFLAGS += -Wl,-woff,85
46 SOFLAGS += -shared $(CPPFLAGS) -all
47 SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
48 $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)$*.o
50 #3106 nested comment is not allowed
51 #3203 statement is unreachable
52 #3252 argument of type "X" is incompatible with parameter of type "Y"
53 #3262 Parameter declared and never referenced
54 #3611 a value of "X" cannot be assigned to an entity of type "Y"
55 #WARNOFF += -woff 3106,3203,3262,3611
56 #INCDIR += -I/usr/include -I/usr/include3.18
59 #CCFLAGS += -pta $(WARNOFF) $(INCDIR)
61 #CCFLAGS += -D_REENTRANT -pta $(WARNOFF)
65 #LDFLAGS += -R $(ACE_ROOT)/lib
66 #LIBS += -lsocket -ldl -lnsl -lgen -lthread # Threads
67 #LIBS += -lsocket -ldl -lnsl -lgen # No threads
69 # SUNC++ 4.1 has a bug with the -xar command:
71 # from 'CC -readme' the following bug is reported:
73 # 4. Using -xar to add generated templates
74 # ----------------------------------------
76 # When using -xar to add generated templates to an archive,
77 # please be aware that this command will both update
78 # existing object files in the archive, and add new ones.
79 # Existing object files that may be obsolete will still
80 # be present. In these cases, the safest course of action
81 # would be to delete the .a file prior to the invocation of -xar.
83 # so here we remove the archive prior to making the new one
88 #SOFLAGS = -G $(CPPFLAGS)
89 #SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
90 $(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o