rubywmq 2.0.0.pre3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +121 -106
- data/ext/Makefile +185 -0
- data/ext/decode_rfh.o +0 -0
- data/ext/wmq.o +0 -0
- data/ext/wmq.so +0 -0
- data/ext/wmq_message.o +0 -0
- data/ext/wmq_mq_load.o +0 -0
- data/ext/wmq_queue.o +0 -0
- data/ext/wmq_queue_manager.o +0 -0
- data/ext/wmq_reason.c +5301 -0
- data/ext/wmq_reason.o +0 -0
- data/ext/wmq_structs.c +1609 -0
- data/ext/wmq_structs.o +0 -0
- data/lib/wmq/version.rb +1 -1
- data/nbproject/private/config.properties +0 -0
- data/nbproject/private/private.properties +1 -0
- data/nbproject/private/private.xml +4 -0
- data/nbproject/private/rake-d.txt +5 -0
- data/nbproject/project.properties +11 -0
- data/nbproject/project.xml +17 -0
- data/rubywmq-2.0.0.pre3.gem +0 -0
- metadata +58 -53
data/README.md
CHANGED
@@ -8,40 +8,45 @@ RubyWMQ is a high performance native Ruby interface into WebSphere MQ.
|
|
8
8
|
|
9
9
|
The Ruby WMQ interface currently supports the following features:
|
10
10
|
|
11
|
-
|
12
|
-
Able to read over 2000 messages per second from a Queue
|
13
|
-
(Non-persistent messages, < 4K each, MQ V6, running on Windows Laptop)
|
11
|
+
High performance
|
14
12
|
|
15
|
-
*
|
16
|
-
|
17
|
-
Query Queue Depths
|
18
|
-
etc…
|
13
|
+
* Able to read over 2000 messages per second from a Queue
|
14
|
+
* (Non-persistent messages, < 4K each, MQ V6, running on Windows Laptop)
|
19
15
|
|
20
|
-
|
21
|
-
Rules and Format Header 2 (RFH2)
|
22
|
-
Rules and Format Header (RFH)
|
23
|
-
Name Value pairs returned as a Hash
|
24
|
-
Dead Letter Header
|
25
|
-
Transmission Queue Header
|
26
|
-
IMS, CICS, …..
|
16
|
+
Full support for the entire MQ Administration interface (MQAI)
|
27
17
|
|
28
|
-
*
|
29
|
-
|
30
|
-
|
31
|
-
etc..
|
18
|
+
* Create Queues
|
19
|
+
* Query Queue Depths
|
20
|
+
* etc…
|
32
21
|
|
33
|
-
|
34
|
-
MQ Headers made easy
|
22
|
+
Full support for all WebSphere MQ Headers
|
35
23
|
|
36
|
-
*
|
37
|
-
|
38
|
-
|
24
|
+
* Rules and Format Header 2 (RFH2)
|
25
|
+
* Rules and Format Header (RFH)
|
26
|
+
* Name Value pairs returned as a Hash
|
27
|
+
* Dead Letter Header
|
28
|
+
* Transmission Queue Header
|
29
|
+
* IMS, CICS, …..
|
39
30
|
|
40
|
-
|
31
|
+
Conforms with the Ruby way. Implements:
|
41
32
|
|
42
|
-
*
|
33
|
+
* each
|
34
|
+
* Code blocks
|
43
35
|
|
44
|
-
|
36
|
+
Relatively easy interface for reading or writing messages
|
37
|
+
|
38
|
+
* MQ Headers made easy
|
39
|
+
|
40
|
+
Single Ruby WMQ auto-detection library that concurrently supports:
|
41
|
+
|
42
|
+
* WebSphere MQ Server Connection
|
43
|
+
* WebSphere MQ Client Connection
|
44
|
+
|
45
|
+
Includes latest client connection options such as SSL
|
46
|
+
|
47
|
+
Tested with WebSphere MQ V5.3, V6, V7, and V7.5
|
48
|
+
|
49
|
+
Is written in C to ensure easier portability and performance
|
45
50
|
|
46
51
|
### Compatibility
|
47
52
|
|
@@ -58,21 +63,18 @@ WebSphere MQ
|
|
58
63
|
|
59
64
|
## Example
|
60
65
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
# Connect to a local queue manager called 'TEST' and put a single message
|
65
|
-
# on the queue 'TEST.QUEUE'
|
66
|
-
WMQ::QueueManager.connect(:q_mgr_name=>'TEST') do |qmgr|
|
67
|
-
qmgr.put(:q_name=>'TEST.QUEUE', :data => 'Hello World')
|
68
|
-
end
|
66
|
+
```ruby
|
67
|
+
require 'rubygems'
|
68
|
+
require 'wmq'
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
70
|
+
# Connect to a local queue manager called 'TEST' and put a single message
|
71
|
+
# on the queue 'TEST.QUEUE'
|
72
|
+
WMQ::QueueManager.connect(:q_mgr_name=>'TEST') do |qmgr|
|
73
|
+
qmgr.put(:q_name=>'TEST.QUEUE', :data => 'Hello World')
|
74
|
+
end
|
75
|
+
```
|
74
76
|
|
75
|
-
## Examples
|
77
|
+
## More Examples
|
76
78
|
|
77
79
|
There are many examples covering many of the ways that RubyWMQ can be used. The examples
|
78
80
|
are installed as part of the Gem under the 'examples' sub-directory. The examples can
|
@@ -130,18 +132,26 @@ Sample “client” and “server” side applications for sending or processing
|
|
130
132
|
* request.rb
|
131
133
|
* server.rb
|
132
134
|
|
135
|
+
## Documentation
|
136
|
+
|
137
|
+
Documentation for the RubyWMQ Gem is generated automatically when the gem is installed.
|
138
|
+
It is also available [online](http://rubywmq.rubyforge.org/doc/index.html)
|
139
|
+
|
133
140
|
## Installation
|
134
141
|
|
135
142
|
### Installing on UNIX/Linux
|
136
143
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
144
|
+
Install a 'C' Compiler, GNU C++ is recommended
|
145
|
+
|
146
|
+
Install Ruby using the package manager for your platform
|
147
|
+
|
148
|
+
Also install RubyGems and ruby-dev or ruby-sdk packages if not already installed
|
149
|
+
|
150
|
+
Install the [WebSphere MQ Client and/or Server](http://www.ibm.com/developerworks/downloads/ws/wmq/)
|
141
151
|
|
142
|
-
|
152
|
+
* Note: Install the Development Toolkit (SDK) and Client
|
143
153
|
|
144
|
-
|
154
|
+
Install RubyWMQ Gem
|
145
155
|
|
146
156
|
gem install rubywmq
|
147
157
|
|
@@ -149,9 +159,9 @@ If no errors appear RubyWMQ is ready for use
|
|
149
159
|
|
150
160
|
#### Installation Errors
|
151
161
|
|
152
|
-
Use this command to find the directory in which the
|
162
|
+
Use this command to find the directory in which the gems are installed
|
153
163
|
|
154
|
-
gem
|
164
|
+
gem env
|
155
165
|
|
156
166
|
When WebSphere MQ is not installed in the default location, call the build
|
157
167
|
command directly and supply the location explicitly:
|
@@ -170,15 +180,15 @@ This build option is a last resort since it will only work using a client connec
|
|
170
180
|
|
171
181
|
#### Install Ruby and DevKit
|
172
182
|
|
173
|
-
|
183
|
+
Download and install the Ruby installer from http://rubyinstaller.org/downloads/
|
174
184
|
|
175
|
-
|
185
|
+
* Select "Add Ruby executables to your PATH" during the installation
|
176
186
|
|
177
|
-
|
187
|
+
Download and install the Development Kit from the same site
|
178
188
|
|
179
|
-
|
189
|
+
* Extract files into c:\DevKit
|
180
190
|
|
181
|
-
|
191
|
+
Open a command prompt and run the commands below:
|
182
192
|
|
183
193
|
cd c:\DevKit
|
184
194
|
ruby dk.rb init
|
@@ -187,14 +197,14 @@ If you experience any difficulties, see https://github.com/oneclick/rubyinsta
|
|
187
197
|
|
188
198
|
#### Install WebSphereMQ
|
189
199
|
|
190
|
-
|
200
|
+
Install the [WebSphere MQ Client and/or Server](http://www.ibm.com/developerworks/downloads/ws/wmq/)
|
191
201
|
|
192
|
-
|
202
|
+
* Note: Install the Development Toolkit (SDK) and Client
|
193
203
|
|
194
204
|
#### Install the RubyWMQ Gem
|
195
205
|
|
196
206
|
call "c:\DevKit\devkitvars.bat"
|
197
|
-
|
207
|
+
gem install rubywmq --platform=ruby
|
198
208
|
|
199
209
|
#### Installation Errors
|
200
210
|
|
@@ -217,16 +227,20 @@ above and call the build command directly while supplying the location explicitl
|
|
217
227
|
|
218
228
|
### Verifying a local WebSphere MQ Server installation
|
219
229
|
|
220
|
-
|
230
|
+
Create a local Queue Manager called TEST. Select the option to create the server
|
221
231
|
side channels.
|
222
|
-
* Create a local queue called TEST.QUEUE
|
223
|
-
* Run the following Ruby Code in an irb session:
|
224
232
|
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
233
|
+
Create a local queue called TEST.QUEUE
|
234
|
+
|
235
|
+
Run the following Ruby Code in an irb session:
|
236
|
+
|
237
|
+
```ruby
|
238
|
+
require 'rubygems'
|
239
|
+
require 'wmq'
|
240
|
+
WMQ::QueueManager.connect(:q_mgr_name=>'TEST') do |qmgr|
|
241
|
+
qmgr.put(:q_name=>'TEST.QUEUE', :data => 'Hello World')
|
242
|
+
end
|
243
|
+
```
|
230
244
|
|
231
245
|
## Rails Installation
|
232
246
|
|
@@ -269,84 +283,85 @@ When connecting to either a local or remote WebSphere MQ Queue Manager, a very c
|
|
269
283
|
error returned is that the Queue Manager is not available. This error can occur
|
270
284
|
under any of the following circumstances:
|
271
285
|
|
272
|
-
|
286
|
+
#### MQ Server Connections (Local Queue Manager)
|
273
287
|
|
274
|
-
|
288
|
+
Possible Configuration Issues:
|
275
289
|
|
276
|
-
|
290
|
+
* Ensure that :connection_name is not being supplied to the connect method.
|
277
291
|
Even if it is supplied with a nul or empty value, it will cause a client connection attempt to be made.
|
278
292
|
|
279
|
-
|
293
|
+
Is the Queue Manager active?
|
280
294
|
|
281
|
-
|
295
|
+
* Try running the following command on the machine running the Queue Manager
|
282
296
|
and check that the Queue Manager is marked as ‘Running’:
|
283
297
|
|
284
|
-
|
285
|
-
|
286
|
-
Expected output:
|
287
|
-
QMNAME(REID) STATUS(Running)
|
298
|
+
```
|
299
|
+
dspmq
|
288
300
|
|
289
|
-
|
301
|
+
Expected output:
|
302
|
+
QMNAME(REID) STATUS(Running)
|
303
|
+
```
|
290
304
|
|
291
|
-
*
|
305
|
+
* Check that the :q_mgr_name supplied to QueueManager::connect matches the Queue Manager name above.
|
306
|
+
* Note: Queue Manager names are case-sensitive
|
292
307
|
|
293
|
-
|
308
|
+
#### MQ Client Connections (Remote Queue Manager)
|
294
309
|
|
295
|
-
|
310
|
+
Possible Client Configuration Issues:
|
296
311
|
|
297
|
-
|
312
|
+
* Incorrect host name
|
313
|
+
* Incorrect port number
|
314
|
+
* Incorrect Channel Name
|
298
315
|
|
299
|
-
|
316
|
+
For example, the channel being used does not exist on the remote Queue Manager.
|
300
317
|
|
301
|
-
|
318
|
+
* Note: The channel name is case-sensitive
|
302
319
|
|
303
|
-
|
320
|
+
Incorrect Queue Manager Name
|
304
321
|
|
305
|
-
|
322
|
+
* :q_mgr_name is optional for Client Connections. It does however ensure that the program connects to the expected Queue Manager.
|
306
323
|
|
307
|
-
|
324
|
+
For example when the wrong Queue Manager listener is now running on the expected port.
|
308
325
|
|
309
|
-
|
326
|
+
* Is the MQ listener program running on the port supplied above?
|
310
327
|
|
311
|
-
** Is the MQ listener program running on the port supplied above?
|
312
328
|
|
313
|
-
|
314
|
-
*** On UNIX/Linux, try the following command on the machine running the Queue Manager:
|
329
|
+
On UNIX/Linux, try the following command on the machine running the Queue Manager:
|
315
330
|
|
316
331
|
ps -ef | grep runmqlsr
|
317
332
|
|
333
|
+
* The Queue Mananger name and port number should be displayed
|
318
334
|
|
319
|
-
|
320
|
-
|
321
|
-
*** If no port number is specified on the command line for an instance of runmqlsr, it means that it is using port 1414.
|
335
|
+
* If no port number is specified on the command line for an instance of runmqlsr, it means that it is using port 1414.
|
322
336
|
|
323
|
-
|
337
|
+
Is the Queue Manager active?
|
324
338
|
|
325
|
-
|
339
|
+
* Try running the following command on the machine running the Queue Manager and check that the Queue Manager is marked as ‘Running’:
|
326
340
|
|
327
|
-
|
341
|
+
```
|
342
|
+
dspmq
|
328
343
|
|
329
|
-
|
330
|
-
|
344
|
+
Expected output:
|
345
|
+
QMNAME(REID) STATUS(Running)
|
346
|
+
```
|
331
347
|
|
332
|
-
|
348
|
+
* Check that the :q_mgr_name supplied to QueueManager::connect matches the Queue Manager name above. Note: Queue Manager names are case-sensitive
|
349
|
+
* Check if the Channel being used is still defined on the Queue Manager
|
333
350
|
|
334
|
-
|
351
|
+
On the machine running the Queue Manager, run the following commands (may need to run them under the 'mqm' userid):
|
335
352
|
|
336
|
-
|
353
|
+
```
|
354
|
+
runmqsc queue_manager_name
|
355
|
+
dis channel(*) chltype(SVRCONN)
|
356
|
+
```
|
337
357
|
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
*** Replace queue_manager_name above with the actual name of the Queue Manager being connected to
|
342
|
-
|
343
|
-
*** Look for the channel name the application is using. Note: the channel name is case-sensitive.
|
358
|
+
* Replace queue_manager_name above with the actual name of the Queue Manager being connected to
|
359
|
+
* Look for the channel name the application is using.
|
360
|
+
* Note: the channel name is case-sensitive.
|
344
361
|
|
345
362
|
## Support
|
346
363
|
|
347
|
-
Ruby WMQ Community Support Mailing List:
|
348
|
-
|
349
|
-
http://rubyforge.org/mailman/listinfo/rubywmq-misc
|
364
|
+
Ruby WMQ Community Support Mailing List: <http://rubyforge.org/mailman/listinfo/rubywmq-misc>
|
350
365
|
|
351
366
|
Feature and Bug Reports: <http://github.com/reidmorrison/rubywmq/issues>
|
352
367
|
|
data/ext/Makefile
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
|
2
|
+
SHELL = /bin/sh
|
3
|
+
|
4
|
+
#### Start of system configuration section. ####
|
5
|
+
|
6
|
+
srcdir = .
|
7
|
+
topdir = /usr/include/ruby-1.9.0
|
8
|
+
hdrdir = /usr/include/ruby-1.9.0
|
9
|
+
arch_hdrdir = /usr/include/ruby-1.9.0/$(arch)
|
10
|
+
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
11
|
+
prefix = $(DESTDIR)/usr
|
12
|
+
exec_prefix = $(prefix)
|
13
|
+
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
14
|
+
sitehdrdir = $(rubyhdrdir)/site_ruby
|
15
|
+
rubyhdrdir = $(includedir)/ruby-$(ruby_version)
|
16
|
+
vendordir = $(libdir)/ruby/vendor_ruby
|
17
|
+
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
18
|
+
mandir = $(prefix)/share/man
|
19
|
+
localedir = $(datarootdir)/locale
|
20
|
+
libdir = $(exec_prefix)/lib
|
21
|
+
psdir = $(docdir)
|
22
|
+
pdfdir = $(docdir)
|
23
|
+
dvidir = $(docdir)
|
24
|
+
htmldir = $(docdir)
|
25
|
+
infodir = $(prefix)/share/info
|
26
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
27
|
+
oldincludedir = $(DESTDIR)/usr/include
|
28
|
+
includedir = $(prefix)/include
|
29
|
+
localstatedir = $(DESTDIR)/var
|
30
|
+
sharedstatedir = $(prefix)/com
|
31
|
+
sysconfdir = $(DESTDIR)/etc
|
32
|
+
datadir = $(datarootdir)
|
33
|
+
datarootdir = $(prefix)/share
|
34
|
+
libexecdir = $(prefix)/lib/ruby1.9
|
35
|
+
sbindir = $(exec_prefix)/sbin
|
36
|
+
bindir = $(exec_prefix)/bin
|
37
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
38
|
+
archdir = $(rubylibdir)/$(arch)
|
39
|
+
sitelibdir = $(sitedir)/$(ruby_version)
|
40
|
+
sitearchdir = $(sitelibdir)/$(sitearch)
|
41
|
+
vendorlibdir = $(vendordir)/$(ruby_version)
|
42
|
+
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
43
|
+
|
44
|
+
CC = cc
|
45
|
+
CXX = g++
|
46
|
+
LIBRUBY = $(LIBRUBY_SO)
|
47
|
+
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
48
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
49
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
50
|
+
OUTFLAG = -o
|
51
|
+
COUTFLAG = -o
|
52
|
+
|
53
|
+
RUBY_EXTCONF_H =
|
54
|
+
cflags = $(optflags) $(debugflags) $(warnflags)
|
55
|
+
optflags = -O2
|
56
|
+
debugflags = -g
|
57
|
+
warnflags = -Wall -Wno-parentheses
|
58
|
+
CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 $(cflags) -fPIC
|
59
|
+
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
60
|
+
DEFS = -D_FILE_OFFSET_BITS=64
|
61
|
+
CPPFLAGS = -DHAVE_CMQC_H $(DEFS) $(cppflags)
|
62
|
+
CXXFLAGS = $(CFLAGS) -fno-strict-aliasing -g $(cxxflags)
|
63
|
+
ldflags = -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic
|
64
|
+
dldflags =
|
65
|
+
archflag =
|
66
|
+
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
67
|
+
LDSHARED = $(CC) -shared
|
68
|
+
LDSHAREDXX = $(CXX) -shared
|
69
|
+
AR = ar
|
70
|
+
EXEEXT =
|
71
|
+
|
72
|
+
RUBY_INSTALL_NAME = ruby1.9
|
73
|
+
RUBY_SO_NAME = ruby1.9
|
74
|
+
arch = i486-linux
|
75
|
+
sitearch = i486-linux
|
76
|
+
ruby_version = 1.9.0
|
77
|
+
ruby = /usr/bin/ruby1.9
|
78
|
+
RUBY = $(ruby)
|
79
|
+
RM = rm -f
|
80
|
+
RM_RF = $(RUBY) -run -e rm -- -rf
|
81
|
+
MAKEDIRS = mkdir -p
|
82
|
+
INSTALL = /usr/bin/install -c
|
83
|
+
INSTALL_PROG = $(INSTALL) -m 0755
|
84
|
+
INSTALL_DATA = $(INSTALL) -m 644
|
85
|
+
COPY = cp
|
86
|
+
|
87
|
+
#### End of system configuration section. ####
|
88
|
+
|
89
|
+
preload =
|
90
|
+
|
91
|
+
libpath = . $(libdir)
|
92
|
+
LIBPATH = -L. -L$(libdir)
|
93
|
+
DEFFILE =
|
94
|
+
|
95
|
+
CLEANFILES = mkmf.log
|
96
|
+
DISTCLEANFILES =
|
97
|
+
|
98
|
+
extout =
|
99
|
+
extout_prefix =
|
100
|
+
target_prefix = /wmq
|
101
|
+
LOCAL_LIBS =
|
102
|
+
LIBS = $(LIBRUBYARG_SHARED) -lpthread -lrt -ldl -lcrypt -lm -lc
|
103
|
+
SRCS = wmq_mq_load.c wmq_structs.c wmq_queue_manager.c wmq.c wmq_message.c decode_rfh.c wmq_reason.c wmq_queue.c
|
104
|
+
OBJS = wmq_mq_load.o wmq_structs.o wmq_queue_manager.o wmq.o wmq_message.o decode_rfh.o wmq_reason.o wmq_queue.o
|
105
|
+
TARGET = wmq
|
106
|
+
DLLIB = $(TARGET).so
|
107
|
+
EXTSTATIC =
|
108
|
+
STATIC_LIB =
|
109
|
+
|
110
|
+
BINDIR = $(bindir)
|
111
|
+
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
112
|
+
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
113
|
+
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
114
|
+
HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
|
115
|
+
ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
|
116
|
+
|
117
|
+
TARGET_SO = $(DLLIB)
|
118
|
+
CLEANLIBS = $(TARGET).so
|
119
|
+
CLEANOBJS = *.o *.bak
|
120
|
+
|
121
|
+
all: $(DLLIB)
|
122
|
+
static: $(STATIC_LIB)
|
123
|
+
|
124
|
+
clean:
|
125
|
+
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
126
|
+
|
127
|
+
distclean: clean
|
128
|
+
@-$(RM_RF) conftest.dSYM
|
129
|
+
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
130
|
+
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
131
|
+
|
132
|
+
realclean: distclean
|
133
|
+
install: install-so install-rb
|
134
|
+
|
135
|
+
install-so: $(RUBYARCHDIR)
|
136
|
+
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
137
|
+
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
138
|
+
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
139
|
+
install-rb: pre-install-rb install-rb-default
|
140
|
+
install-rb-default: pre-install-rb-default
|
141
|
+
pre-install-rb: Makefile
|
142
|
+
pre-install-rb-default: Makefile
|
143
|
+
install-rb-default: $(RUBYLIBDIR)/wmq_const_admin.rb
|
144
|
+
$(RUBYLIBDIR)/wmq_const_admin.rb: $(srcdir)/lib/wmq_const_admin.rb
|
145
|
+
$(MAKEDIRS) $(@D)
|
146
|
+
$(INSTALL_DATA) $(srcdir)/lib/wmq_const_admin.rb $(@D)
|
147
|
+
install-rb-default: $(RUBYLIBDIR)/wmq_temp.rb
|
148
|
+
$(RUBYLIBDIR)/wmq_temp.rb: $(srcdir)/lib/wmq_temp.rb
|
149
|
+
$(MAKEDIRS) $(@D)
|
150
|
+
$(INSTALL_DATA) $(srcdir)/lib/wmq_temp.rb $(@D)
|
151
|
+
install-rb-default: $(RUBYLIBDIR)/wmq_const.rb
|
152
|
+
$(RUBYLIBDIR)/wmq_const.rb: $(srcdir)/lib/wmq_const.rb
|
153
|
+
$(MAKEDIRS) $(@D)
|
154
|
+
$(INSTALL_DATA) $(srcdir)/lib/wmq_const.rb $(@D)
|
155
|
+
$(RUBYARCHDIR):
|
156
|
+
$(MAKEDIRS) $@
|
157
|
+
|
158
|
+
site-install: site-install-so site-install-rb
|
159
|
+
site-install-so: install-so
|
160
|
+
site-install-rb: install-rb
|
161
|
+
|
162
|
+
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
163
|
+
|
164
|
+
.cc.o:
|
165
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
166
|
+
|
167
|
+
.cxx.o:
|
168
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
169
|
+
|
170
|
+
.cpp.o:
|
171
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
172
|
+
|
173
|
+
.C.o:
|
174
|
+
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
|
175
|
+
|
176
|
+
.c.o:
|
177
|
+
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
|
178
|
+
|
179
|
+
$(DLLIB): $(OBJS)
|
180
|
+
@-$(RM) $(@)
|
181
|
+
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
$(OBJS): ruby.h defines.h
|
data/ext/decode_rfh.o
ADDED
Binary file
|
data/ext/wmq.o
ADDED
Binary file
|
data/ext/wmq.so
ADDED
Binary file
|
data/ext/wmq_message.o
ADDED
Binary file
|
data/ext/wmq_mq_load.o
ADDED
Binary file
|
data/ext/wmq_queue.o
ADDED
Binary file
|
Binary file
|