-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmakefile.solaris
45 lines (31 loc) · 1.28 KB
/
makefile.solaris
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
# (C) Copyright IBM Corporation 1995, 1997, 1998, 1999, 2000, 2002, 2003
# 2004, 2005, 2006, 2007, 2008, 2009
# Module Name: makefile.solaris
# DESCRIPTIVE NAME WebSphere MQ Save Queue Manager Object
# Definitions using PCFs (ms03 supportpac)
#
# This Makefile makes the saveqmgr executables on solaris (ms03)
#
# Set the suffix for the target files
EXESUF = solaris
# CC defines the compiler.
CC = cc
# LC defines the linker
LC = $(CC)
# MQM library directory
MQMLIB = /opt/mqm/lib64
# set LIBS to list all the libraries ms03 should link with.
LIBS = -lmqm -lmqmcs -lmqmzse -lc -lm -lsocket
LIBC = -lmqic -lmqmcs -lmqmzse -lc -lm -lsocket
# set INCS to list all the header the compiler needs
INCS = -I. -I/opt/mqm/inc
# Set CCOPTS - the compiler options.
CCOPTS = -c -DUNIX -o $*.$(OBJSUF)
CCOPTC = -c -DUNIX -DUSEMQCNX -o $@
# Set LCOPTS - the linker options
LCOPTS = -o $@ -L$(MQMLIB) -L. $(LIBS)
LCOPTC = -o $@ -L$(MQMLIB) -L. $(LIBC)
# Set the suffix for the object files
OBJSUF = o
# Include the file which does the real work!
include makefile.common