26 kumpf 1.1
27 ifdef PEGASUS_AGENT
28 DEFINES += -DHPUX_EMANATE
29 endif
30
31 ifdef PEGASUS_CCOVER
32 DEFINES += -DPEGASUS_CCOVER
33 endif
34
35 ifdef PEGASUS_PURIFY
36 DEFINES += -DPEGASUS_PURIFY
37 endif
38
39 ifdef PEGASUS_LOCAL_DOMAIN_SOCKET
40 DEFINES += -DPEGASUS_LOCAL_DOMAIN_SOCKET
41 endif
42
43 ifdef USE_CONNECTLOCAL
44 DEFINES += -DUSE_CONNECTLOCAL
45 endif
46
47 kumpf 1.1 ifdef PEGASUS_NOASSERTS
48 DEFINES += -DNDEBUG
49 endif
50
51 ##
52 ## The following flags need to be set or unset
53 ## to compile-in the code required for PAM authentication
54 ## and compile-out the code that uses the password file.
55 ##
56
57 ifdef PEGASUS_PAM_AUTHENTICATION
58 DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE
59 endif
60
61
62 DEPEND_INCLUDES =
63
64
65 ## Flags:
66 ## +Z - produces position independent code (PIC).
67 ## +DAportable generates code for any HP9000 architecture
68 kumpf 1.1 ## -Wl, passes the following option to the linker
69 ## +s causes the linked image or shared lib to be able to
70 ## search for any referenced shared libs dynamically in
71 ## SHLIB_PATH (LD_LIBRARY_PATH on 64-bit HP9000)
72 ## +b enables dynamic search in the specified directory(ies)
73 ##
74
75 FLAGS =
76
77 ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
78 FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib
79 endif
80
81 ifdef PEGASUS_DEBUG
82 FLAGS += -g
83 endif
84
85 SYS_LIBS = -lpthread -lrt
86
87 SH = sh
88
89 kumpf 1.1 YACC = bison
90
91 COPY = cp
92
93 MOVE = mv
94
95 LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER)
|