-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
571 lines (460 loc) · 15.1 KB
/
Makefile
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# For Kate Feng's implementation of devScaler.c, which uses Till
# Straumann's basicIoOps.h to bridge any mismatch between endianness
# of Joerger scaler hardware and endianness of processor.
#USR_CFLAGS += -DHAS_IOOPS_H
#=============================
# build an ioc application
# PROD_NAME is used by ADCORE to add libraries
# DBD_PREFIX is used by ADCORE to add dbd files
PROD_NAME = xxx
DBD_PREFIX = iocxxx
PROD_IOC = $(PROD_NAME)
# Note that the order in which .dbd files and libraries are added to a list
# variable is important. For .dbd files, things must be defined before they
# are referenced by a later .dbd file. For libraries, things must be referenced
# before they are searched for; otherwise they won't be included.
# Custom stuff in development
##################################################################
# First, define $(DBD_NAME)_DBD and $(PROD_NAME)_LIBS from the modules
# defined in RELEASE
##################################################################
DBD_SUFFIX_cygwin32 = $(error Cygwin not supported)
DBD_SUFFIX_Darwin = Darwin
DBD_SUFFIX_Linux = Linux
DBD_SUFFIX_RTEMS = $(error RTEMS not supported)
DBD_SUFFIX_vxWorks = VX
DBD_SUFFIX_WIN32 = Win$(if $(findstring 32, $(T_A)),32,64)
DBD_NAME = $(DBD_PREFIX)$(DBD_SUFFIX_$(OS_CLASS))
DBD += $(DBD_NAME).dbd
ifndef ADCORE
$(DBD_NAME)_DBD += base.dbd
endif
ifdef ADCORE
# areaDetector provides a Makefile for things it needs and supplies
-include $(ADCORE)/ADApp/commonDriverMakefile
endif
ifdef ADSIMDETECTOR
$(DBD_NAME)_DBD += simDetectorSupport.dbd
$(PROD_NAME)_LIBS := simDetector $($(PROD_NAME)_LIBS)
endif
ifdef ADURL
$(DBD_NAME)_DBD += URLDriverSupport.dbd
$(PROD_NAME)_LIBS := URLDriver $($(PROD_NAME)_LIBS)
endif
ifdef ADGENICAM
$(PROD_NAME)_LIBS := ADGenICam $($(PROD_NAME)_LIBS)
endif
ifdef ADANDOR
$(DBD_NAME)_DBD += andorCCDSupport.dbd
$(DBD_NAME)_DBD += shamrockSupport.dbd
$(PROD_NAME)_LIBS := andorCCD $($(PROD_NAME)_LIBS)
PROD_SYS_LIBS_Linux += andor
PROD_SYS_LIBS_Linux += shamrockcif
endif
ifdef ADARAVIS
$(DBD_NAME)_DBD += ADAravisSupport.dbd
PROD_LIBS += ADAravis
PROD_SYS_LIBS_Linux += ADAravis
PROD_SYS_LIBS_Linux += ADGenICam
PROD_SYS_LIBS_Linux += aravis-0.8
PROD_SYS_LIBS += gio-2.0 gobject-2.0 gthread-2.0 glib-2.0
PROD_SYS_LIBS_Linux += usb-1.0
endif
ifdef ADVIMBA
$(DBD_NAME)_DBD += ADVimbaSupport.dbd
PROD_LIBS += ADVimba
PROD_SYS_LIBS_Linux += ADVimba
PROD_SYS_LIBS_Linux += VimbaC
PROD_SYS_LIBS_Linux += VimbaCPP
PROD_SYS_LIBS_Linux += VimbaImageTransform
endif
ifdef ADSPINNAKER
ifeq (rhel8-x86_64, $(findstring rhel8-x86_64, $(T_A)))
PROD_LIBS += ADSpinnaker
$(DBD_NAME)_DBD += ADSpinnakerSupport.dbd
# We use PROD_SYS_LIBS even though varios so files are in the ADSpinnaker tree
# because we are doing static build but the file is a .so file, not a .a file.
PROD_SYS_LIBS_Linux += Spinnaker
PROD_SYS_LIBS_Linux += GCBase_gcc540_v3_0
PROD_SYS_LIBS_Linux += GenApi_gcc540_v3_0
PROD_SYS_LIBS_Linux += NodeMapData_gcc540_v3_0
PROD_SYS_LIBS_Linux += MathParser_gcc540_v3_0
PROD_SYS_LIBS_Linux += XmlParser_gcc540_v3_0
PROD_SYS_LIBS_Linux += Log_gcc540_v3_0
endif
endif
ifdef ADPOINTGREY
$(DBD_NAME)_DBD += pointGreySupport.dbd
$(PROD_NAME)_LIBS := pointGrey $($(PROD_NAME)_LIBS)
# $(PROD_NAME)_LIBS := flycapture $($(PROD_NAME)_LIBS)
PROD_SYS_LIBS_Linux += flycapture
endif
ifdef ADPROSILICA
$(DBD_NAME)_DBD += prosilicaSupport.dbd
$(PROD_NAME)_LIBS := prosilica $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := PvAPI $($(PROD_NAME)_LIBS)
PROD_SYS_LIBS_Linux += prosilica
PROD_SYS_LIBS_Linux += PvAPI
PROD_SYS_LIBS_Linux += readline
endif
ifdef ADPIXIRAD
$(DBD_NAME)_DBD += pixiradSupport.dbd
$(PROD_NAME)_LIBS := pixirad $($(PROD_NAME)_LIBS)
endif
ifdef ADMAR345
$(DBD_NAME)_DBD += mar345Support.dbd
$(PROD_NAME)_LIBS := mar345 $($(PROD_NAME)_LIBS)
endif
ifdef ADPILATUS
$(DBD_NAME)_DBD += pilatusDetectorSupport.dbd
$(PROD_NAME)_LIBS := pilatusDetector $($(PROD_NAME)_LIBS)
# $(PROD_NAME)_LIBS := cbfad $($(PROD_NAME)_LIBS)
PROD_SYS_LIBS += cbfad
endif
ifdef ADEIGER
$(DBD_NAME)_DBD += eigerDetectorSupport.dbd
$(PROD_NAME)_LIBS := eigerDetector $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := frozen $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := hdf5_hl $($(PROD_NAME)_LIBS)
# PROD_SYS_LIBS += eigerDetector
PROD_SYS_LIBS += frozen
PROD_SYS_LIBS += hdf5_hl hdf5
PROD_SYS_LIBS += zmq
ifdef ZMQ_LIB
zmq_DIR += $(ZMQ_LIB)
PROD_LIBS += zmq
else
PROD_SYS_LIBS += zmq
endif
endif
#ifdef TDS3000
# $(DBD_NAME)_DBD += devTDS3000.dbd
# $(PROD_NAME)_LIBS := devTDS3000 $($(PROD_NAME)_LIBS)
#endif
#ifdef CAPUTLOG
# $(DBD_NAME)_DBD += caPutLog.dbd
# $(PROD_NAME)_LIBS := caPutLog $($(PROD_NAME)_LIBS)
#endif
ifdef CAPUTRECORDER
$(DBD_NAME)_DBD += caputRecorder.dbd
$(PROD_NAME)_LIBS := caputRecorder $($(PROD_NAME)_LIBS)
endif
ifdef SNCSEQ
ifeq (seq-2-1, $(findstring seq-2-1, $(SNCSEQ)))
$(DBD_NAME)_DBD += devSequencer.dbd
$(PROD_NAME)_LIBS := seqDev seq pv $($(PROD_NAME)_LIBS)
else ifeq (seq-2.1, $(findstring seq-2.1, $(SNCSEQ)))
$(DBD_NAME)_DBD += devSequencer.dbd
$(PROD_NAME)_LIBS := seqDev seq pv $($(PROD_NAME)_LIBS)
else
# seq 2.2.
$(PROD_NAME)_LIBS := seq pv $($(PROD_NAME)_LIBS)
endif
endif
ifdef ASYN
ifndef ADCORE
$(DBD_NAME)_DBD += asyn.dbd
endif
$(DBD_NAME)_DBD += drvAsynSerialPort.dbd drvAsynIPPort.dbd drvVxi11.dbd devGpib.dbd
$(PROD_NAME)_LIBS := asyn $($(PROD_NAME)_LIBS)
endif
ifdef STD
$(DBD_NAME)_DBD += stdSupport.dbd
$(PROD_NAME)_LIBS := std $($(PROD_NAME)_LIBS)
endif
ifdef SCALER
$(DBD_NAME)_DBD += scalerSupport.dbd
$(PROD_NAME)_LIBS := scaler $($(PROD_NAME)_LIBS)
endif
ifdef CALC
ifndef ADCORE
$(DBD_NAME)_DBD += calcSupport.dbd
endif
$(PROD_NAME)_LIBS := calc $($(PROD_NAME)_LIBS)
endif
ifdef BUSY
ifndef ADCORE
$(DBD_NAME)_DBD += busySupport.dbd
endif
$(PROD_NAME)_LIBS := busy $($(PROD_NAME)_LIBS)
endif
ifdef SSCAN
ifndef ADCORE
$(DBD_NAME)_DBD += sscanSupport.dbd
endif
$(PROD_NAME)_LIBS := sscan $($(PROD_NAME)_LIBS)
ifdef SNCSEQ
$(DBD_NAME)_DBD += sscanProgressSupport.dbd
$(PROD_NAME)_LIBS := scanProgress $($(PROD_NAME)_LIBS)
endif
endif
ifdef AUTOSAVE
ifndef ADCORE
$(DBD_NAME)_DBD += asSupport.dbd
endif
$(PROD_NAME)_LIBS := autosave $($(PROD_NAME)_LIBS)
endif
ifdef OPTICS
$(DBD_NAME)_DBD += opticsSupport.dbd
$(PROD_NAME)_LIBS := optics $($(PROD_NAME)_LIBS)
endif
ifdef MCA
$(DBD_NAME)_DBD += mcaSupport.dbd
$(PROD_NAME)_LIBS := mca $($(PROD_NAME)_LIBS)
endif
ifdef QUADEM
$(DBD_NAME)_DBD += drvAHxxx.dbd drvTetrAMM.dbd
$(PROD_NAME)_LIBS := quadEM $($(PROD_NAME)_LIBS)
endif
ifdef IP
$(DBD_NAME)_DBD += ipSupport.dbd
$(PROD_NAME)_LIBS := ip $($(PROD_NAME)_LIBS)
endif
ifdef LUA
$(DBD_NAME)_DBD += luaSupport.dbd
$(PROD_NAME)_LIBS := lua $($(PROD_NAME)_LIBS)
endif
ifdef MODBUS
$(DBD_NAME)_DBD += modbusSupport.dbd
$(PROD_NAME)_LIBS := modbus $($(PROD_NAME)_LIBS)
endif
ifdef MOTOR
$(DBD_NAME)_DBD += motorSupport.dbd devAcsMotor.dbd devAerotech.dbd
$(DBD_NAME)_DBD += devAttocube.dbd devFaulhaberMotor.dbd devImsMotor.dbd
$(DBD_NAME)_DBD += devKohzuMotor.dbd devMclennanMotor.dbd devMicos.dbd
$(DBD_NAME)_DBD += devMicroMo.dbd devNewFocus.dbd devNewport.dbd
ifdef SNCSEQ
$(DBD_NAME)_DBD += devAerotechSeq.dbd devNewportSeq.dbd
endif
$(DBD_NAME)_DBD += devOriel.dbd devPC6K.dbd devPIJena.dbd devPIMotor.dbd
$(DBD_NAME)_DBD += devSPiiPlus.dbd devSmartMotorMotor.dbd devSoftMotor.dbd
$(DBD_NAME)_DBD += devThorLabs.dbd motorSimSupport.dbd
$(PROD_NAME)_LIBS := motor $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := Acs acsTech80 Aerotech Attocube Faulhaber Ims KohzuMotor $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := Mclennan Micos MicroMo NewFocus Newport Oriel PI PIJena $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := Parker SmartMotor ThorLabs softMotor motorSimSupport $($(PROD_NAME)_LIBS)
endif
ifdef OPCUA
$(DBD_NAME)_DBD += opcua.dbd
$(PROD_NAME)_LIBS := opcua
endif
ifdef STREAM
$(DBD_NAME)_DBD += stream.dbd
$(PROD_NAME)_LIBS := stream $($(PROD_NAME)_LIBS)
endif
ifdef DEVIOCSTATS
$(DBD_NAME)_DBD += devIocStats.dbd iocAdmin.dbd
$(PROD_NAME)_LIBS := devIocStats $($(PROD_NAME)_LIBS)
endif
ifdef ETHERIP
$(DBD_NAME)_DBD += ether_ip.dbd
$(PROD_NAME)_LIBS := ether_ip $($(PROD_NAME)_LIBS)
endif
ifdef ALIVE
ifndef ADCORE
$(DBD_NAME)_DBD += aliveSupport.dbd
endif
$(PROD_NAME)_LIBS := alive $($(PROD_NAME)_LIBS)
endif
ifdef DELAYGEN
$(DBD_NAME)_DBD += delaygenSupport.dbd
$(PROD_NAME)_LIBS := delaygen $($(PROD_NAME)_LIBS)
endif
ifdef VAC
$(DBD_NAME)_DBD += vacSupport.dbd
$(PROD_NAME)_LIBS := vac $($(PROD_NAME)_LIBS)
endif
#ifdef FLY
# $(DBD_NAME)_DBD += flySupport.dbd
# $(PROD_NAME)_LIBS := fly $($(PROD_NAME)_LIBS)
#endif
##################################################################
ifeq ($(OS_CLASS), WIN32)
ifdef MEASCOMP
$(DBD_NAME)_DBD += measCompSupport.dbd
$(PROD_NAME)_LIBS := measComp $($(PROD_NAME)_LIBS)
ifeq (win32-x86, $(findstring win32-x86, $(T_A)))
$(PROD_NAME)_LIBS := cbw32 $($(PROD_NAME)_LIBS)
else ifeq (windows-x64, $(findstring windows-x64, $(T_A)))
$(PROD_NAME)_LIBS := cbw64 $($(PROD_NAME)_LIBS)
endif
endif
ifdef MCA
# If you have installed WinPcap (https://www.winpcap.org) and you want to build
# Canberra network support uncomment the following lines
$(DBD_NAME)_DBD += mcaCanberraSupport.dbd
$(PROD_NAME)_LIBS := mcaCanberra $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := wpcap Packet $($(PROD_NAME)_LIBS)
$(DBD_NAME)_DBD += mcaAmptekSupport.dbd
$(PROD_NAME)_LIBS := mcaAmptek $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := libusb-1.0 $($(PROD_NAME)_LIBS)
endif
ifeq (win32-x86,$(findstring win32-x86, $(T_A)))
ifdef DXP
# If you want to build parallel port or USB interfaces to Saturn and/or
# xMAP DXP, then uncomment the following lines
$(DBD_NAME)_DBD += dxpSupport.dbd
$(PROD_NAME)_LIBS := dxp handel $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := PlxApi $($(PROD_NAME)_LIBS)
$(PROD_NAME)_SYS_LIBS += setupapi
endif
endif
ifdef DXPSITORO
$(DBD_NAME)_DBD += dxpSITOROSupport.dbd
$(PROD_NAME)_LIBS := dxpSITORO handelSITORO $($(PROD_NAME)_LIBS)
endif
endif
##################################################################
ifeq ($(OS_CLASS), vxWorks)
ifdef ALLEN_BRADLEY
$(PROD_NAME)_LIBS := allenBradley $($(PROD_NAME)_LIBS)
endif
ifdef VME
$(DBD_NAME)_DBD += vmeVXSupport.dbd
$(PROD_NAME)_LIBS := vme $($(PROD_NAME)_LIBS)
endif
ifdef STD
$(DBD_NAME)_DBD += stdVXSupport.dbd
endif
ifdef IP
$(DBD_NAME)_DBD += ipVXSupport.dbd
endif
ifdef MCA
$(DBD_NAME)_DBD += SIS38XXSupport.dbd
$(DBD_NAME)_DBD += mcaCanberraSupport.dbd
$(PROD_NAME)_LIBS := SIS38XX $($(PROD_NAME)_LIBS)
$(PROD_NAME)_LIBS := mcaCanberra $($(PROD_NAME)_LIBS)
endif
ifdef IPUNIDIG
$(DBD_NAME)_DBD += ipUnidigSupport.dbd
$(PROD_NAME)_LIBS := ipUnidig $($(PROD_NAME)_LIBS)
endif
ifdef DAC128V
$(DBD_NAME)_DBD += dac128VSupport.dbd
$(PROD_NAME)_LIBS := dac128V $($(PROD_NAME)_LIBS)
endif
ifdef IP330
$(DBD_NAME)_DBD += ip330Support.dbd
$(PROD_NAME)_LIBS := ip330 $($(PROD_NAME)_LIBS)
endif
ifdef CAMAC
$(DBD_NAME)_DBD += camacSupport.dbd
$(DBD_NAME)_DBD += devCamacSupport.dbd
$(PROD_NAME)_LIBS := camac devCamac $($(PROD_NAME)_LIBS)
endif
ifdef ALLEN_BRADLEY
$(DBD_NAME)_DBD += allenBradley.dbd
endif
ifdef LOVE
$(DBD_NAME)_DBD += devLove.dbd
$(PROD_NAME)_LIBS := love $($(PROD_NAME)_LIBS)
endif
ifdef IPAC
$(DBD_NAME)_DBD += tyGSOctal.dbd
$(DBD_NAME)_DBD += drvIpac.dbd
$(PROD_NAME)_LIBS := TyGSOctal Ipac $($(PROD_NAME)_LIBS)
$(DBD_NAME)_DBD += IP520.dbd
$(PROD_NAME)_LIBS := IP520 $($(PROD_NAME)_LIBS)
endif
ifdef ASYN
$(DBD_NAME)_DBD += drvGsIP488.dbd
endif
ifdef SOFTGLUE
$(DBD_NAME)_DBD += softGlueSupport.dbd
$(PROD_NAME)_LIBS := softGlue $($(PROD_NAME)_LIBS)
endif
ifdef MOTOR
$(DBD_NAME)_DBD += devDeltaTau.dbd
$(DBD_NAME)_DBD += devOms.dbd
$(PROD_NAME)_LIBS := oms DeltaTau $($(PROD_NAME)_LIBS)
endif
# ifdef FLY
# $(DBD_NAME)_DBD += flyVXSupport.dbd
# $(PROD_NAME)_LIBS := fly $($(PROD_NAME)_LIBS)
# endif
endif
##################################################################
ifeq ($(OS_CLASS), Linux)
ifdef DXP
# If your host supports parallel port or USB interfaces to Saturn DXP, set
# LINUX_USB_INSTALLED to YES in <synApps>/configure/CONFIG_SITE.
ifeq ($(LINUX_USB_INSTALLED), YES)
$(DBD_NAME)_DBD += dxpSupport.dbd
$(PROD_NAME)_LIBS := dxp handel $($(PROD_NAME)_LIBS)
$(PROD_NAME)_SYS_LIBS += usb
endif
endif
ifdef MCA
# If your host supports libpcap and libnet and you want to build Canberra network
# support, set LINUX_NET_INSTALLED to YES in <synApps>/configure/CONFIG_SITE.
ifeq ($(LINUX_NET_INSTALLED), YES)
$(DBD_NAME)_DBD += mcaCanberraSupport.dbd
$(PROD_NAME)_LIBS := mcaCanberra $($(PROD_NAME)_LIBS)
$(PROD_NAME)_SYS_LIBS += net pcap
endif
# If your host supports libusb-1.0 and you want to build Amptek
# support, set LINUX_USB-1.0_INSTALLED to YES in <synApps>/configure/CONFIG_SITE.
ifeq ($(LINUX_USB-1.0_INSTALLED), YES)
$(DBD_NAME)_DBD += mcaAmptekSupport.dbd
$(PROD_NAME)_LIBS := mcaAmptek $($(PROD_NAME)_LIBS)
$(PROD_NAME)_SYS_LIBS += usb-1.0
endif
endif
ifdef IPAC
$(DBD_NAME)_DBD += drvIpac.dbd
$(PROD_NAME)_LIBS := Ipac $($(PROD_NAME)_LIBS)
endif
ifdef IPUNIDIG
$(DBD_NAME)_DBD += ipUnidigSupport.dbd
$(PROD_NAME)_LIBS := ipUnidig $($(PROD_NAME)_LIBS)
endif
ifdef DAC128V
$(DBD_NAME)_DBD += dac128VSupport.dbd
$(PROD_NAME)_LIBS := dac128V $($(PROD_NAME)_LIBS)
endif
ifdef IP330
$(DBD_NAME)_DBD += ip330Support.dbd
$(PROD_NAME)_LIBS := ip330 $($(PROD_NAME)_LIBS)
endif
ifdef SOFTGLUE
$(DBD_NAME)_DBD += softGlueSupport.dbd
$(PROD_NAME)_LIBS := softGlue $($(PROD_NAME)_LIBS)
endif
ifdef SOFTGLUEZYNQ
$(DBD_NAME)_DBD += softGlueZynqSupport.dbd
$(PROD_NAME)_LIBS := softGlueZynq $($(PROD_NAME)_LIBS)
endif
ifdef YOKOGAWA_DAS
$(DBD_NAME)_DBD += mw100Support.dbd
$(PROD_NAME)_LIBS := mw100 $($(PROD_NAME)_LIBS)
endif
ifdef GALIL
$(DBD_NAME)_DBD += GalilSupport.dbd
$(PROD_NAME)_LIBS := GalilSupport $($(PROD_NAME)_LIBS)
endif
ifeq ($(TIRPC), YES)
$(PROD_NAME)_SYS_LIBS += tirpc
endif
endif
$(PROD_NAME)_LIBS += $(EPICS_BASE_IOC_LIBS)
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
ifeq ($(OS_CLASS), vxWorks)
$(PROD_NAME)_SRCS += $(DBD_NAME)_registerRecordDeviceDriver.cpp
else
$(PROD_NAME)_SRCS += $(DBD_NAME)_registerRecordDeviceDriver.cpp $(PROD_NAME)Main.cpp
endif
#The following adds support from base/src/vxWorks
$(PROD_NAME)_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
# Here's how to print out all gnumake variables
#$(foreach v, $(.VARIABLES), $(info $(v) = $($(v))))
# print out just one variable
#$(info SUPPORT = $(SUPPORT))
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE