File: cygwin.mak

package info (click to toggle)
pvm 3.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 8,236 kB
  • sloc: ansic: 72,074; makefile: 1,197; fortran: 631; sh: 512; csh: 74; asm: 37
file content (95 lines) | stat: -rw-r--r-- 2,229 bytes parent folder | download | duplicates (9)
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
#*****************************************************************************#
# 
# makefile
# for PVM in the Cygwin environement
#
#*****************************************************************************#

intro:
	@echo
	@echo "This is a makefile for (re)compiling the PVM code" 
	@echo "and/or the examples for the cygwin environment. For"
	@echo "generic use, you must provide one of the following inputs:"
	@echo 
	@echo "make -f cygwin.mak pvm"
	@echo "         --      will recompile and reinstall the PVM code"
	@echo "                 by compiling the libpvm, daemon,"
	@echo "                 groupserver and console"
	@echo
	@echo "make -f cygwin.mak examples"
	@echo "         --      will recompile the C examples"
	@echo
	@echo "make -f cygwin.mak all"
	@echo "         --      will compile the items above"
	@echo
	@echo "make -f cygwin.mak clean"
	@echo "         --      will erase the object files"
	@echo
	@echo "make -f cygwin.mak tidy"
	@echo "         --      will erase the object and executables"
	@echo

all: pvm examples

pvm: _lib _tracer _console _pvmgs
	@echo "Installation complete."
	@echo

_lib:
	@echo "Compiling and installing library (C) and daemon" 
	cd src ; \
	 make -f cygwin.mak
	@echo
	touch _lib

_tracer:
	@echo "Compiling and installing tracer"
	cd tracer ; \
	 make -f cygwin.mak
	@echo
	touch _tracer

_console:
	@echo "Compiling and installing console"
	cd console ; \
	 make -f cygwin.mak
	@echo
	touch _console

_pvmgs:
	@echo "Compiling and installing groupserver"
	cd pvmgs ; \
	 make -f cygwin.mak
	@echo
	touch _pvmgs

examples: _cexamples

_cexamples:
	@echo "Building C examples"
	cd examples ; \
	 make -f cygwin.mak c-all
	@echo
	touch _cexamples

tidy: clean
	@echo "Cleaning Execs and Libs ..."
	rm -f bin/win32/*.exe
	rm -f console/win32/*.exe
	rm -f tracer/win32/*.{exe,a}
	rm -f lib/win32/*.{exe,a}
	@echo

clean:
	@echo "Cleaning objects ..."
	rm -f _lib src/win32/*.o
	@echo "Cleaning console objects ..."
	rm -f _console console/win32/*.o
	@echo "Cleaning pvmgs objects ..."
	rm -f _pvmgs pvmgs/win32/*.o
	@echo "Cleaning tracer objects ..."
	rm -f _tracer tracer/win32/*.o
	@echo "Cleaning examples objects ..."
	rm -f _cexamples examples/win32/*.o
	@echo