1 mike 1.1 include $(ROOT)/mak/config-unix.mak
2
3 OS = hpux
4
5 ARCHITECTURE = parisc
6
7 COMPILER = acc
8
9 SYS_INCLUDES = -I$(ROOT)/src/stdcxx/stream
10
|
11 mike 1.3 ifdef PEGASUS_CCOVER
12 SYS_INCLUDES += -I/opt/ccover11/include
13 endif
14
|
15 mike 1.1 DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
16
|
17 mike 1.3 ifdef PEGASUS_AGENT
18 DEFINES += -DHPUX_EMANATE
19 endif
20
21 ifdef PEGASUS_CCOVER
22 DEFINES += -DPEGASUS_CCOVER
23 endif
24
|
25 kumpf 1.4 ifdef ENABLETIMEOUTWORKAROUNDHACK
26 DEFINES += -DENABLETIMEOUTWORKAROUNDHACK
27 endif
28
|
29 mike 1.1 DEPEND_INCLUDES =
30
|
31 mike 1.3
|
32 mike 1.1 ## Flags:
33 ## +Z - produces position independent code (PIC).
|
34 kumpf 1.2 ## +DAportable generates code for any HP9000 architecture
35 ## -Wl, passes the following option to the linker
36 ## +s causes the linked image or shared lib to be able to
37 ## search for any referenced shared libs dynamically in
38 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
39 ## +b enables dynamic search in the specified directory(ies)
|
40 mike 1.1 ##
41
|
42 mike 1.3 IAFLAGS =
43
44 ifeq ($(HPUX_IA64_VERSION), yes)
45 IAFLAGS = -AP
46 else
47 IAFLAGS = +DAportable
48 endif
49
50 FLAGS = +Z $(IAFLAGS) -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
51 kumpf 1.2 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
|
52 mike 1.3 FLAGS += -Wl,+b/usr/lib -Wl,+s
|
53 kumpf 1.2 endif
|
54 mike 1.1 ifdef PEGASUS_DEBUG
|
55 kumpf 1.2 FLAGS += -g
|
56 mike 1.1 endif
57
|
58 mike 1.3 SYS_LIBS = -lpthread -lrt
|
59 mike 1.1
60 CXX = aCC
61
62 SH = sh
63
64 YACC = bison
65
66 COPY = cp
67
68 MOVE = mv
69
70 LIB_SUFFIX = .sl
|