Logoj0ke.net Open Build Service > Projects > multimedia > pvm > Makefile
Sign Up | Log In

File Makefile of Package pvm

x
 
1
#
2
# $Id: Makefile.aimk,v 1.40 2001/05/11 18:58:10 pvmsrc Exp $
3
#
4
# Generic Makefile body to be concatenated to config header.
5
#
6
# Imports:
7
#  PVM_ARCH   = the official pvm-name of your processor
8
#  ARCHCFLAGS = special cc flags
9
#  ARCHDLIB   = special libs needed for daemon
10
#  ARCHDOBJ   = special objects needed for daemon
11
#  HASRANLIB  = 't' or 'f'
12
#  AMEM       = Memory page locks from Convex
13
#  PLOCKFILE  = Page Lock in line code from SUN
14
#
15
# Compatibility defines (usually in conf/*.def):
16
#  FDSETPATCH      if system includes don't have fd_set stuff
17
#  USESTRERROR     if sys_errlist, sys_nerr not public, use strerror()
18
#  HASERRORVARS    if errno, sys_nerr, sys_errlist already declared
19
#  HASSTDLIB       if system has stdlib.h
20
#  NEEDENDIAN      to include <endian.h>
21
#  NEEDMENDIAN     to include <machine/endian.h>
22
#  NOGETDTBLSIZ    if system doesn't have getdtablesize()
23
#  NOREXEC         if system doesn't have rexec()
24
#  NOSOCKOPT       if system doesn't have setsockopt() / it doesn't work
25
#  NOSTRCASE       if system doesn't have strcasecmp, strncasecmp
26
#  NOTMPNAM        if system doesn't have tmpnam() or it's hosed
27
#  NOUNIXDOM       to disable use of Unix domain sockets
28
#  NOWAIT3         if system doesn't have wait3()
29
#  NOWAITPID       if system doesn't have waitpid() either
30
#  RSHCOMMAND=     for rsh command other than "/usr/ucb/rsh"
31
#                      (can override using PVM_RSH environment variable)
32
#  SHAREDTMP       if /tmp is shared between machines (yecch)
33
#  SOCKADHASLEN    if struct sockaddr has an sa_len field
34
#  SYSVBFUNC       if system uses memcpy() instead of bcopy(), etc.
35
#  SYSVSIGNAL      if system has sysV signal handling
36
#  SYSVSTR         if system uses strchr() instead of index()
37
#  UDPMAXLEN=      for alternate max udp packet size
38
#  NEEDSSELECTH    if you need to include select.h to get fd_set (IBMs)
39
#  SOCKLENISUINT   if socket parameter is unsigned int (or size_t),
40
#                      generally ->  recvfrom() accept() getsockname()
41
#                      remove flag for AIX 4.1 compiler complaints...
42
#  FDSETNOTSTRUCT  if fd_set var declarations do not require "struct"
43
#  CTIMEISTIMET    if ctime() takes an arg of type "time_t"
44
#  SYSERRISCONST   if char *sys_errlist[] defined as const
45
#
46
# Options defines:
47
#  CLUMP_ALLOC     allocates several data structures in big chunks
48
#  MCHECKSUM       to enable crc checksums on messages
49
#  RSHNPLL=        for number of parallel rsh startups (default is 5)
50
#  RSHTIMEOUT=     for rsh timeout other than default (60 sec)
51
#  STATISTICS      to enable collection of statistics in pvmd
52
#  TIMESTAMPLOG    to enable timestamps in pvmd log file
53
#  USE_PVM_ALLOC   to enable instrumented malloc functs (for pvm debug)
54
#  USE_GNU_REGEX   to enable use of GNU Regex for Mbox Lookup
55
#                     -> requires installation of GNU regex, as well as
56
#                        modifying the following defines (see below):
57
#                            REGEXCONF, REGEXCONFOS2, REGEXOBJS
58
#
59
include $(PVM_ROOT)/conf/$(PVM_ARCH).def
60
SHELL       =   /bin/sh
61
PVMDIR      =   ../..
62
SDIR        =   $(PVMDIR)/src
63
LIBDIR      =   $(PVMDIR)/lib/$(PVM_ARCH)
64
CFLOPTS     =   -O
65
#CFLOPTS    =   -g
66
#OPTIONS    =   -DCLUMP_ALLOC
67
#OPTIONS    =   -DSTATISTICS
68
#OPTIONS    =   -p
69
OPTIONS     =   -DCLUMP_ALLOC -DSTATISTICS \
70
                -DTIMESTAMPLOG -DSANITY
71
CFLAGS      =   $(CFLOPTS) $(OPTIONS) -I$(PVMDIR)/include \
72
                -DARCHCLASS=\"$(PVM_ARCH)\" -DIMA_$(PVM_ARCH) \
73
                $(ARCHCFLAGS)
74
75
LIBPREFIX   =   lib
76
LIBPVM      =   $(LIBPREFIX)pvm3
77
LIBVERSION     =       3
78
SHLIBPVM       =       -shared -Wl,-soname,$(LIBPVM).so.$(LIBVERSION)
79
80
#
81
# GNU Regular Expression Defines - set if needed
82
#
83
84
REGEXCONF       =
85
#REGEXCONF      =   regexconfig
86
87
REGEXCONFOS2    =
88
#REGEXCONFOS2   =   regexconfig-os2
89
90
REGEXOBJS       =
91
#REGEXOBJS      =   pvmregex.o regex.o
92
93
#
94
# PVM Daemon & Library Objects
95
#
96
97
DOBJ        = \
98
    ddpro.o \
99
    host.o \
100
    hoster.o \
101
    imalloc.o \
102
    msgbox.o \
103
    pkt.o \
104
    pmsg.o \
105
    pvmalloc.o \
106
    pvmcruft.o \
107
    pvmd.o \
108
    pvmdpack.o \
109
    pvmdtev.o \
110
    pvmerr.o \
111
    pvmfrag.o \
112
    pvmlog.o \
113
    sdpro.o \
114
    task.o \
115
    tdpro.o \
116
    waitc.o \
117
    global.o \
118
    $(REGEXOBJS)
119
120
SOCKDOBJ    = \
121
    pvmdabuf.o \
122
    pvmdunix.o
123
124
SHMEMDOBJ   = \
125
    $(AMEMOBJ) \
126
    nmdclass.o \
127
    pvmdshmem.o \
128
    pvmshmem.o
129
130
MPPDOBJ     = \
131
    mppchunkhost.o \
132
    mppmsghost.o \
133
    lmsg.o \
134
    pvmdabuf.o \
135
    pvmdmimd.o \
136
    pvmdunix.o
137
138
BEODOBJ     = \
139
    pvmdmimd.o
140
141
OS2DOBJ     = \
142
    deathapi.o \
143
    sthoster.o \
144
    stdlog.o \
145
    rexec.o \
146
    ruserpas.o \
147
    os2spawn.o
148
149
LOBJ        = \
150
    imalloc.o \
151
    tev.o \
152
    lpvmcat.o \
153
    lpvmgen.o \
154
    lpvmpack.o \
155
    lpvmglob.o \
156
    pmsg.o \
157
    pvmalloc.o \
158
    pvmcruft.o \
159
    pvmerr.o \
160
    pvmfrag.o \
161
    waitc.o \
162
    global.o
163
164
LPVMSOCK    =   lpvm.o
165
166
SOCKLOBJ    = \
167
    pvmdabuf.o
168
169
LPVMSHMEM   =   lpvmshmem.o
170
171
SHMEMLOBJ   = \
172
    $(AMEMOBJ) \
173
    pvmshmem.o
174
175
LPVMMIMD    =   lpvmmimd.o
176
177
MPPLOBJ     = \
178
    mppchunknode.o \
179
    mppmsgnode.o \
180
    lmsg.o \
181
    lpvmmpp.o \
182
    pvmdabuf.o
183
184
OS2LOBJ     =    stdlog.o
185
186
REGEXSRC    = \
187
    $(SDIR)/regex/Makefile.in \
188
    $(SDIR)/regex/configure \
189
    $(SDIR)/regex/configure.in \
190
    $(SDIR)/regex/pvmregex.c \
191
    $(SDIR)/regex/regex.c \
192
    $(SDIR)/regex/regex.h
193
194
REGEXDIR    =   ./regex
195
196
REGEXCP     = \
197
    $(REGEXDIR)/Makefile.in \
198
    $(REGEXDIR)/configure \
199
    $(REGEXDIR)/configure.in \
200
    $(REGEXDIR)/pvmregex.c \
201
    $(REGEXDIR)/regex.c \
202
    $(REGEXDIR)/regex.h
203
204
REGEXOPTS   =   CC=$(CC) \
205
                CFLAGS="$(CFLOPTS) -DREGEX_MALLOC $(ARCHCFLAGS)"
206
207
SHMEMTARGETS    =   $(LIBDIR)/pvmd3-shm \
208
                    $(LIBDIR)/lib-shm $(LIBDIR)/$(LIBPVM)s.a
209
210
MPPTARGETS      =   $(LIBDIR)/pvmd3-mpp \
211
                    $(LIBDIR)/$(LIBPVM).a $(LIBDIR)/$(LIBPVM)pe.a
212
213
BEOTARGETS      =   $(LIBDIR)/pvmd3-beo $(LIBDIR)/$(LIBPVM).a
214
215
OS2TARGETS      =   $(LIBDIR)/pvmd3-os2 $(LIBDIR)/lib-os2
216
217
all:    pvmd3$(EXESFX) $(LIBPVM).a $(LIBPVM).so
218
219
all-shm:    pvmd3-shm lib-shm $(LIBPVM)s.a
220
221
all-mpp:    pvmd3-mpp $(LIBPVM).a $(LIBPVM)pe.a
222
223
all-beo:    pvmd3-beo $(LIBPVM).a
224
225
all-os2:    pvmd3-os2 lib-os2
226
227
install:    $(LIBDIR) $(LIBDIR)/pvmd3$(EXESFX) $(LIBDIR)/$(LIBPVM).a $(LIBDIR)/$(LIBPVM).so
228
229
install-shm:    $(LIBDIR) $(SHMEMTARGETS)
230
231
install-mpp:    $(LIBDIR) $(MPPTARGETS)
232
233
install-beo:    $(LIBDIR) $(BEOTARGETS)
234
235
install-os2:    $(LIBDIR) $(OS2TARGETS)
236
237
$(LIBDIR):
238
    - mkdir $(LIBDIR)
239
240
# libdir sock pvmd3 & libpvm3.a
241
242
$(LIBDIR)/pvmd3$(EXESFX):   pvmd3$(EXESFX)
243
    cp pvmd3$(EXESFX) $(LIBDIR)
244
245
$(LIBDIR)/$(LIBPVM).a:  $(LIBPVM).a
246
    cp $(LIBPVM).a $(LIBDIR)
247
248
$(LIBDIR)/$(LIBPVM).so:        $(LIBPVM).so
249
    cp $(LIBPVM).so $(LIBDIR)
250
251
# libdir shm pvmd3 & libpvm3*.a
252
253
$(LIBDIR)/pvmd3-shm:    pvmd3-shm
254
    cp pvmd3$(EXESFX) $(LIBDIR)
255
    touch $(LIBDIR)/pvmd3-shm
256
257
$(LIBDIR)/lib-shm:  lib-shm
258
    cp $(LIBPVM).a $(LIBDIR)
259
    touch $(LIBDIR)/lib-shm
260
261
$(LIBDIR)/$(LIBPVM)s.a:  $(LIBPVM)s.a
262
    cp $(LIBPVM)s.a $(LIBDIR)/$(LIBPVM)s.a
263
264
# libdir mpp pvmd3 & libpvm3*.a
265
266
$(LIBDIR)/pvmd3-mpp:    pvmd3-mpp
267
    cp pvmd3$(EXESFX) $(LIBDIR)
268
    touch $(LIBDIR)/pvmd3-mpp
269
270
$(LIBDIR)/$(LIBPVM)pe.a:    $(LIBPVM)pe.a
271
    cp $(LIBPVM)pe.a $(LIBDIR)
272
273
# libdir Beowulf pvmd3
274
275
$(LIBDIR)/pvmd3-beo:    pvmd3-beo
276
    cp pvmd3$(EXESFX) $(LIBDIR)
277
    touch $(LIBDIR)/pvmd3-beo
278
279
# libdir os2 pvmd3 & libpvm3*.a
280
281
$(LIBDIR)/pvmd3-os2:    pvmd3-os2
282
    cp pvmd3$(EXESFX) $(LIBDIR)
283
    touch $(LIBDIR)/pvmd3-os2
284
285
$(LIBDIR)/lib-os2:  lib-os2
286
    cp $(LIBPVM).a $(LIBDIR)
287
    touch $(LIBDIR)/lib-os2
288
289
# sock pvmd3 & libpvm3.a
290
291
pvmd3$(EXESFX): $(REGEXCONF) $(DOBJ) $(SOCKDOBJ)
292
    $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ) $(SOCKDOBJ) \
293
        $(LOPT) $(ARCHDLIB)
294
295
$(LIBPVM).a:    $(REGEXCONF) $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
296
    @echo -------------------------------
297
    @echo --- Building static Library ---
298
    @echo -------------------------------
299
    rm -f $(LIBPVM).a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) $(REGEXDIR)/pvmregex.o $(REGEXDIR)/regex.o
300
    $(MAKE) CFLOPTS="$(CFLOPTS)" $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
301
    $(AR) cr $(LIBPVM).a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
302
    case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac
303
304
$(LIBPVM).so:  regexconfig
305
    @echo -------------------------------
306
    @echo --- Building shared Library ---
307
    @echo -------------------------------
308
    rm -f $(LIBPVM).so $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) $(REGEXDIR)/pvmregex.o $(REGEXDIR)/regex.o
309
    $(MAKE) CFLOPTS="-fPIC $(CFLOPTS)" $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
310
    $(CC) $(SHLIBPVM)  -o $(LIBPVM).so $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) -lc
311
312
# shm pvmd3 & libpvm3*.a
313
314
pvmd3-shm:  $(REGEXCONF) $(DOBJ) $(SHMEMDOBJ)
315
    $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ) $(SHMEMDOBJ) $(ARCHDLIB)
316
    touch pvmd3-shm
317
318
lib-shm:    $(REGEXCONF) $(LOBJ) $(LPVMSHMEM) $(SHMEMLOBJ)
319
    rm -f $(LIBPVM).a
320
    $(AR) cr $(LIBPVM).a $(LOBJ) $(LPVMSHMEM) $(SHMEMLOBJ)
321
    case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac
322
    touch lib-shm
323
324
$(LIBPVM)s.a:   $(REGEXCONF) $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
325
    rm -f $(LIBPVM)s.a
326
    $(AR) cr $(LIBPVM)s.a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
327
    case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM)s.a ;; esac
328
329
# mpp pvmd3 & libpvm3*.a
330
331
pvmd3-mpp:  $(REGEXCONF) $(DOBJ) $(MPPDOBJ)
332
    $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ) $(MPPDOBJ) \
333
        $(LOPT) $(ARCHDLIB)
334
    touch pvmd3-mpp
335
336
$(LIBPVM)pe.a:  $(REGEXCONF) $(LOBJ) $(LPVMMIMD) $(MPPLOBJ)
337
    rm -f $(LIBPVM)pe.a
338
    $(AR) cr $(LIBPVM)pe.a $(LOBJ) $(LPVMMIMD) $(MPPLOBJ)
339
340
# Beowulf(LINUX) pvmd3 & libpvm3.a
341
342
pvmd3-beo:  $(REGEXCONF) $(DOBJ) $(BEODOBJ) $(SOCKDOBJ)
343
    $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(DOBJ) $(BEODOBJ) $(SOCKDOBJ) \
344
        $(LOPT) $(ARCHDLIB)
345
346
# os2 pvmd3 & libpvm3.a
347
348
pvmd3-os2:  $(REGEXCONFOS2) $(OS2DOBJ) $(DOBJ) $(SOCKDOBJ)
349
    $(CC) $(CFLAGS) -o pvmd3$(EXESFX) $(OS2DOBJ) $(DOBJ) $(SOCKDOBJ) \
350
        $(LOPT) $(ARCHDLIB)
351
    touch pvmd3-os2
352
353
lib-os2:    $(REGEXCONFOS2) $(LOBJ) $(OS2LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
354
    rm -f $(LIBPVM).a
355
    $(AR) cr $(LIBPVM).a $(LOBJ) $(OS2LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
356
    case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac
357
    touch lib-os2
358
359
#
360
361
clean:  tidy
362
    rm -f pvmd3$(EXESFX) $(LIBPVM).a $(LIBPVM)s.a $(LIBPVM)pe.a
363
    rm -rf $(REGEXDIR)
364
365
tidy:
366
    rm -f $(DOBJ) $(SOCKDOBJ) $(SHMEMDOBJ) $(MPPDOBJ) \
367
        $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ) $(LPVMSHMEM) $(SHMEMLOBJ) \
368
        $(LPVMMIMD) $(MPPLOBJ) $(REGEXDIR)/*.o \
369
        pvmd3-shm lib-shm pvmd3-mpp pvmd3-os2 lib-os2 \
370
        regexconfig regexconfig-os2
371
372
lint:   lintd lintl
373
374
lintd:
375
    lint -DARCHCLASS=\"$(PVM_ARCH)\" \
376
        ddpro.c host.c hoster.c imalloc.c pkt.c pmsg.c \
377
        pvmalloc.c pvmcruft.c pvmd.c pvmdtev.c pvmfrag.c pvmlog.c \
378
        task.c tdpro.c waitc.c global.c > Ld
379
380
lintl:
381
    lint -I$(PVMDIR)/include \
382
        lpvm.c lpvmshmem.c lpvmmimd.c \
383
        imalloc.c lpvmcat.c lpvmgen.c lpvmpack.c lpvmglob.c \
384
        pvmalloc.c pvmcruft.c pvmerr.c pvmfrag.c tev.c global.c > Ll
385
386
amem.o: $(SDIR)/amem.s
387
    $(AS) -o amem.o $(SDIR)/amem.s
388
ddpro.o:    $(SDIR)/ddpro.c
389
    $(CC) $(CFLAGS) -c $(SDIR)/ddpro.c
390
host.o: $(SDIR)/host.c
391
    $(CC) $(CFLAGS) -c $(SDIR)/host.c
392
hoster.o:   $(SDIR)/hoster.c
393
    $(CC) $(CFLAGS) -c $(SDIR)/hoster.c
394
imalloc.o:  $(SDIR)/imalloc.c
395
    $(CC) $(CFLAGS) -c $(SDIR)/imalloc.c
396
lmsg.o: $(SDIR)/lmsg.c
397
    $(NODECC) $(CFLAGS) -DIMA_NODE -c $(SDIR)/lmsg.c
398
lpvm.o: $(SDIR)/lpvm.c
399
    $(CC) $(CFLAGS) -c $(SDIR)/lpvm.c
400
lpvmshmem.o:    $(SDIR)/lpvmshmem.c
401
    $(CC) $(CFLAGS) -c $(SDIR)/lpvmshmem.c $(PLOCKFILE)
402
lpvmmimd.o: $(SDIR)/lpvm.c
403
    $(CC) $(CFLAGS) -DIMA_MPP -o lpvmmimd.o -c $(SDIR)/lpvm.c
404
lpvmmpp.o:  $(SDIR)/lpvmmpp.c
405
    $(NODECC) $(CFLAGS) -DIMA_MPP -c $(SDIR)/lpvmmpp.c
406
lpvmcat.o:  $(SDIR)/lpvmcat.c
407
    $(CC) $(CFLAGS) -c $(SDIR)/lpvmcat.c
408
lpvmgen.o:  $(SDIR)/lpvmgen.c
409
    $(CC) $(CFLAGS) -c $(SDIR)/lpvmgen.c
410
lpvmpack.o: $(SDIR)/lpvmpack.c
411
    $(CC) $(CFLAGS) -c $(SDIR)/lpvmpack.c
412
lpvmglob.o: $(SDIR)/lpvmglob.c
413
    $(CC) $(CFLAGS) -c $(SDIR)/lpvmglob.c
414
msgbox.o:   $(SDIR)/msgbox.c
415
    $(CC) $(CFLAGS) -c $(SDIR)/msgbox.c
416
mppchunkhost.o: $(SDIR)/mppchunk.c
417
    $(CC) $(CFLAGS) -c -o mppchunkhost.o $(SDIR)/mppchunk.c
418
mppchunknode.o: $(SDIR)/mppchunk.c
419
    $(NODECC) $(CFLAGS) -DIMA_NODE -c -o mppchunknode.o \
420
        $(SDIR)/mppchunk.c
421
mppmsghost.o:   $(SDIR)/mppmsg.c
422
    $(CC) $(CFLAGS) -c -o mppmsghost.o $(SDIR)/mppmsg.c
423
mppmsgnode.o:   $(SDIR)/mppmsg.c
424
    $(NODECC) $(CFLAGS) -DIMA_NODE -c -o mppmsgnode.o $(SDIR)/mppmsg.c
425
nmdclass.o: $(SDIR)/nmdclass.c
426
    $(CC) $(CFLAGS) -c $(SDIR)/nmdclass.c
427
pkt.o:  $(SDIR)/pkt.c
428
    $(CC) $(CFLAGS) -c $(SDIR)/pkt.c
429
pmsg.o: $(SDIR)/pmsg.c
430
    $(CC) $(CFLAGS) -c $(SDIR)/pmsg.c
431
pvmalloc.o: $(SDIR)/pvmalloc.c
432
    $(CC) $(CFLAGS) -c $(SDIR)/pvmalloc.c
433
pvmcruft.o: $(SDIR)/pvmcruft.c
434
    $(CC) $(CFLAGS) -c $(SDIR)/pvmcruft.c
435
pvmd.o: $(SDIR)/pvmd.c
436
    $(CC) $(CFLAGS) -c $(SDIR)/pvmd.c
437
pvmdabuf.o: $(SDIR)/pvmdabuf.c
438
    $(CC) $(CFLAGS) -c $(SDIR)/pvmdabuf.c
439
pvmdshmem.o:    $(SDIR)/pvmdshmem.c
440
    $(CC) $(CFLAGS) -c $(SDIR)/pvmdshmem.c $(PLOCKFILE)
441
pvmdmimd.o: pvmdmimd.c
442
    $(CC) $(CFLAGS) -I..  -c pvmdmimd.c
443
pvmdpack.o: $(SDIR)/pvmdpack.c
444
    $(CC) $(CFLAGS) -c $(SDIR)/pvmdpack.c
445
pvmdunix.o: $(SDIR)/pvmdunix.c
446
    $(CC) $(CFLAGS) -c $(SDIR)/pvmdunix.c
447
pvmerr.o:   $(SDIR)/pvmerr.c
448
    $(CC) $(CFLAGS) -c $(SDIR)/pvmerr.c
449
pvmfrag.o:  $(SDIR)/pvmfrag.c
450
    $(CC) $(CFLAGS) -c $(SDIR)/pvmfrag.c
451
pvmlog.o:   $(SDIR)/pvmlog.c
452
    $(CC) $(CFLAGS) -c $(SDIR)/pvmlog.c
453
pvmshmem.o: $(SDIR)/pvmshmem.c
454
    $(CC) $(CFLAGS) -c $(SDIR)/pvmshmem.c $(PLOCKFILE)
455
pvmmpp.o:   $(SDIR)/pvmmpp.c
456
    $(CC) $(CFLAGS) -c $(SDIR)/pvmmpp.c
457
sdpro.o:    $(SDIR)/sdpro.c
458
    $(CC) $(CFLAGS) -c $(SDIR)/sdpro.c
459
task.o: $(SDIR)/task.c
460
    $(CC) $(CFLAGS) -c $(SDIR)/task.c
461
tev.o:  $(SDIR)/tev.c
462
    $(CC) $(CFLAGS) -c $(SDIR)/tev.c
463
tdpro.o:    $(SDIR)/tdpro.c
464
    $(CC) $(CFLAGS) -c $(SDIR)/tdpro.c
465
waitc.o:    $(SDIR)/waitc.c
466
    $(CC) $(CFLAGS) -c $(SDIR)/waitc.c
467
pvmdtev.o:  $(SDIR)/pvmdtev.c
468
    $(CC) $(CFLAGS) -c $(SDIR)/pvmdtev.c
469
global.o:   $(SDIR)/global.c
470
    $(CC) $(CFLAGS) -c $(SDIR)/global.c
471
472
deathapi.o: $(SDIR)/$(PVM_ARCH)/src/deathapi.c 
473
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/deathapi.c 
474
stdlog.o:   $(SDIR)/$(PVM_ARCH)/src/stdlog.c 
475
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/stdlog.c 
476
sthoster.o: $(SDIR)/$(PVM_ARCH)/src/sthoster.c 
477
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/sthoster.c 
478
rexec.o:    $(SDIR)/$(PVM_ARCH)/src/rexec.c 
479
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/rexec.c 
480
ruserpas.o: $(SDIR)/$(PVM_ARCH)/src/ruserpas.c 
481
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/ruserpas.c 
482
os2spawn.o: $(SDIR)/$(PVM_ARCH)/src/os2spawn.c 
483
    $(CC) $(CFLAGS) -c $(SDIR)/$(PVM_ARCH)/src/os2spawn.c 
484
485
pvmregex.o: $(REGEXDIR)/pvmregex.o
486
    cp $(REGEXDIR)/pvmregex.o .
487
regex.o:    $(REGEXDIR)/regex.o
488
    cp $(REGEXDIR)/regex.o .
489
$(REGEXDIR)/pvmregex.o: $(REGEXCP)
490
    cd $(REGEXDIR) ; $(MAKE) $(REGEXOPTS) pvmregex.o
491
$(REGEXDIR)/regex.o:    $(REGEXCP)
492
    cd $(REGEXDIR) ; $(MAKE) $(REGEXOPTS) regex.o
493
494
regexconfig:    $(REGEXDIR) $(REGEXCP) $(REGEXDIR)/Makefile 
495
    @ touch regexconfig
496
497
regexconfig-os2:    $(REGEXDIR) $(REGEXCP)
498
    cp $(SDIR)/$(PVM_ARCH)/Makefile.reg $(REGEXDIR)/Makefile
499
    @ touch regexconfig-os2
500
501
$(REGEXDIR)/Makefile:
502
    cd $(REGEXDIR) ; CC=$(CC) ./configure
503
$(REGEXCP): $(REGEXSRC)
504
    cp $(REGEXSRC) $(REGEXDIR)
505
$(REGEXDIR):
506
    @- mkdir $(REGEXDIR)
507
508
#
509
# Source File Dependencies
510
#
511
512
include $(PVMDEPPATH)$(SDIR)/pvmdep
513
514