forked from nasa-jpl/ION-DTN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (39 loc) · 818 Bytes
/
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
OPT = /usr/local
HEAP_PTRS = 0
PLATFORMS = i86_64-fedora
# i86-redhat
# sparc-sol9
# i86-freebsd
all:
cd doc; \
mkdir -p man; \
mkdir -p man/man1; \
mkdir -p man/man3; \
mkdir -p html; \
mkdir -p html/man1; \
mkdir -p html/man3; \
gmake all ROOT=$(OPT); \
cd ..; \
for PF in $(PLATFORMS); \
do \
cd $$PF; \
mkdir -p bin; \
mkdir -p lib; \
gmake all ROOT=$(OPT) PTRS=$(HEAP_PTRS); \
cd ..; \
done
clean:
cd doc; \
gmake -i clean; \
cd ..; \
for PF in $(PLATFORMS); \
do cd $$PF; gmake -i clean; cd ..; done
install:
cd doc; \
gmake -i install ROOT=$(OPT); \
cd ..; \
for PF in $(PLATFORMS); \
do cd $$PF; gmake -i install ROOT=$(OPT); cd ..; done
uninstall:
for PF in $(PLATFORMS); \
do cd $$PF; gmake -i uninstall ROOT=$(OPT); cd ..; done