-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakefile.hpnss
59 lines (46 loc) · 1.13 KB
/
makefile.hpnss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This Makefile makes the saveqmgr executable on HPNSS-OSS (ms03)
# (C) Copyright IBM Corporation 1995, 1997, 1998, 1999, 2000, 2002, 2003
# 2004, 2005, 2006, 2007, 2008, 2009
#
all: saveqmgr saveqmgr.g
# CC defines the compiler. Set to "c89" for ANSI compliant C compiler.
CC = c89
# Set CCOPTS - the compiler options.
CCFLAGS= \
-Wcall_shared \
-DUNIX \
-Whighpin=on \
-Whighrequesters=on \
-Wrunnamed \
-Winspect \
-Wsaveabend \
-Wextensions \
-Wnowarn=262,1506,770 \
-Wallow_cplusplus_comments\
-I.
SRCS = \
saveqmgr.c \
channel.c \
mqutils.c \
process.c \
namelist.c \
qmgr.c \
queue.c \
authinfo.c \
archive.c \
args.c \
cfstruct.c \
listener.c \
log.c \
oam.c \
services.c \
stgclass.c \
subscript.c \
topic.c \
usage.c
saveqmgr : $(SRCS)
$(CC) -Wsystype=oss $(CCFLAGS) -I$(MQNSKOPTPATH)/inc -o $@ $(SRCS) -L$(MQNSKOPTPATH)/lib -lmqm
saveqmgr.g: $(SRCS)
$(CC) -Wsystype=guardian $(CCFLAGS) -I$(MQNSKOPTPATH)/inc -o $@ $(SRCS) -L$(MQNSKOPTPATH)/lib/G -lmqm
clean:
rm -f saveqmgr saveqmgr.g *.o