-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.deb_syspkg
64 lines (55 loc) · 2.74 KB
/
Makefile.deb_syspkg
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
AUX_LIBS = $(HOME_LIBS)
#AUX_LIBS = /home/cwb/waveburst/WORK/TESTS/HOME_LIBS
deb: cfitsio cvode framelib lal root healpix
#deb: cfitsio framelib root healpix lal
cfitsio:
mkdir -p $(AUX_LIBS)/CFITSIO/syspkg
ln -sf /usr/lib/x86_64-linux-gnu/libcfitsio.so $(AUX_LIBS)/CFITSIO/syspkg/libcfitsio.so
cvode:
mkdir -p $(AUX_LIBS)/CVODE/syspkg
rm -f $(AUX_LIBS)/CVODE/syspkg/include
rm -f $(AUX_LIBS)/CVODE/syspkg/lib
ln -sf /usr/include/sundials $(AUX_LIBS)/CVODE/syspkg/include
ln -sf /usr/lib/x86_64-linux-gnu $(AUX_LIBS)/CVODE/syspkg/lib
framelib:
mkdir -p $(AUX_LIBS)/FRAMELIB/syspkg
rm -f $(AUX_LIBS)/FRAMELIB/syspkg/Linux
rm -f $(AUX_LIBS)/FRAMELIB/syspkg/src
ln -sf /usr/lib $(AUX_LIBS)/FRAMELIB/syspkg/Linux
ln -sf /usr/include $(AUX_LIBS)/FRAMELIB/syspkg/src
lal:
mkdir -p $(AUX_LIBS)/LAL/syspkg
rm -f $(AUX_LIBS)/LAL/syspkg/bin
rm -f $(AUX_LIBS)/LAL/syspkg/include
rm -f $(AUX_LIBS)/LAL/syspkg/lib
rm -f $(AUX_LIBS)/LAL/syspkg/lib64
rm -f $(AUX_LIBS)/LAL/syspkg/share
ln -sf /usr/bin $(AUX_LIBS)/LAL/syspkg/bin
ln -sf /usr/include/lal $(AUX_LIBS)/LAL/syspkg/include
ln -sf /usr/lib/x86_64-linux-gnu $(AUX_LIBS)/LAL/syspkg/lib
#ln -sf /usr/lib64 $(AUX_LIBS)/LAL/syspkg/lib64
ln -sf /usr/share $(AUX_LIBS)/LAL/syspkg/share
root:
mkdir -p $(AUX_LIBS)/ROOT/syspkg
rm -f $(AUX_LIBS)/ROOT/syspkg/bin
rm -f $(AUX_LIBS)/ROOT/syspkg/include
rm -f $(AUX_LIBS)/ROOT/syspkg/lib
ln -sf /usr/local/bin $(AUX_LIBS)/ROOT/syspkg/bin
ln -sf /usr/local/include $(AUX_LIBS)/ROOT/syspkg/include
ln -sf /usr/local/lib $(AUX_LIBS)/ROOT/syspkg/lib
healpix:
mkdir -p $(AUX_LIBS)/HEALPix/syspkg
mkdir -p $(AUX_LIBS)/HEALPix/syspkg/src/cxx
mkdir -p $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/Healpix_cxx
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libc_utils.so
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libcxxsupport.so
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libfftpack.so
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libhealpix_cxx.so
rm -f $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libsharp.so
ln -sf /usr/include/healpix_cxx $(AUX_LIBS)/HEALPix/syspkg/src/cxx/Healpix_cxx
ln -sf /usr/lib/x86_64-linux-gnu/libhealpix_cxx.so $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libc_utils.so
ln -sf /usr/lib/x86_64-linux-gnu/libhealpix_cxx.so $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libcxxsupport.so
ln -sf /usr/lib/x86_64-linux-gnu/libhealpix_cxx.so $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libfftpack.so
ln -sf /usr/lib/x86_64-linux-gnu/libhealpix_cxx.so $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libhealpix_cxx.so
ln -sf /usr/lib/x86_64-linux-gnu/libhealpix_cxx.so $(AUX_LIBS)/HEALPix/syspkg/src/cxx/shared/lib/libsharp.so