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 mike 1.1 DEPEND_INCLUDES =
26
|
27 mike 1.3
|
28 mike 1.1 ## Flags:
29 ## +Z - produces position independent code (PIC).
|
30 kumpf 1.2 ## +DAportable generates code for any HP9000 architecture
31 ## -Wl, passes the following option to the linker
32 ## +s causes the linked image or shared lib to be able to
33 ## search for any referenced shared libs dynamically in
34 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
35 ## +b enables dynamic search in the specified directory(ies)
|
36 mike 1.1 ##
37
|
38 mike 1.3 IAFLAGS =
39
40 ifeq ($(HPUX_IA64_VERSION), yes)
41 IAFLAGS = -AP
42 else
43 IAFLAGS = +DAportable
44 endif
45
46 FLAGS = +Z $(IAFLAGS) -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
47 kumpf 1.2 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
|
48 mike 1.3 FLAGS += -Wl,+b/usr/lib -Wl,+s
|
49 kumpf 1.2 endif
|
50 mike 1.1 ifdef PEGASUS_DEBUG
|
51 kumpf 1.2 FLAGS += -g
|
52 mike 1.1 endif
53
|
54 mike 1.3 SYS_LIBS = -lpthread -lrt
|
55 mike 1.1
56 CXX = aCC
57
58 SH = sh
59
60 YACC = bison
61
62 COPY = cp
63
64 MOVE = mv
65
66 LIB_SUFFIX = .sl
|