1 keith.petley 1.1 include $(ROOT)/mak/config-unix.mak
2
3 OS = solaris
4
5 ARCHITECTURE = sparc
6
7 COMPILER = CC
8
9 SYS_INCLUDES =
10
11 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_POSIX_PTHREAD_SEMANTICS
12
13 DEFINES += -DPEGASUS_OS_SOLARIS
14
15 DEFINES += -DPEGASUS_SNIA_INTEROP_TEST
16
|
17 tony 1.5 DEFINES += -DPEGASUS_HAS_SIGNALS
18
|
19 keith.petley 1.1 # "READBUG" forces fstream.read to read 1 char at a time to
20 # overcome a bug in Wshop 6.2
21 # There are patches for this now.
22 #
23 # DEFINES += -DPEGASUS_OS_SOLARIS_READBUG
24
25 SUNOS_VERSION = $(shell uname -r)
26
27 ifeq ($(SUNOS_VERSION), 5.6)
28 DEFINES += -DSUNOS_5_6
29 endif
30
31 ifdef PEGASUS_DEBUG
|
32 keith.petley 1.2 FLAGS = -g -pto -KPIC -mt -xs -xildoff
|
33 keith.petley 1.1 DEFINES += -DPEGASUS_DEBUG
34 else
|
35 keith.petley 1.2 FLAGS = -O -pto -KPIC -mt -xildoff
|
36 keith.petley 1.1 endif
37
38 SYS_LIBS = -lpthread -ldl -lsocket -lnsl -lxnet
39
40 ifeq ($(SUNOS_VERSION), 5.6)
41 SYS_LIBS += -lposix4
42 else
43 SYS_LIBS += -lrt
44 endif
45
|
46 david.dillard 1.5.2.1 ifdef PEGASUS_HAS_SSL
47 EXTRA_LIBRARIES += -L$(OPENSSL_HOME)/lib -lssl -lcrypto
48 endif
49
|
50 keith.petley 1.1 SYS_LIBS += $(EXTRA_LIBRARIES)
51
52 CXX = CC
53
54 SH = sh
55
56 YACC = yacc
57
58 COPY = cp
59
60 MOVE = mv
61
62 LIB_SUFFIX = .so
63
64 PEGASUS_SUPPORTS_DYNLIB = yes
|