forked from xiongyw/Xyce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap
executable file
·41 lines (39 loc) · 923 Bytes
/
bootstrap
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
#!/bin/sh
#set -x
echo "5) autoheader"
autoheader
echo "4) libtoolize"
which glibtoolize > /dev/null 2>&1
if [ $? = 0 ]
then
glibtoolize --force --copy
else
libtoolize --force --copy
fi
echo "3) aclocal"
aclocal -I config
echo "2) automake"
automake --foreign --add-missing --copy
if [ -d src/DeviceModelPKG/SandiaModels ]
then
automake src/DeviceModelPKG/SandiaModels/Makefile
automake src/DeviceModelPKG/SandiaModels/ATHENA/Makefile
fi
if [ -d src/DeviceModelPKG/Xyce_NonFree ]
then
automake src/DeviceModelPKG/Xyce_NonFree/Makefile
fi
if [ -d src/DeviceModelPKG/BERKELEY ]
then
automake src/DeviceModelPKG/BERKELEY/Makefile
automake src/DeviceModelPKG/BERKELEY/Xyce_ModSpec_Interface/Makefile
fi
if [ -d Xyce_UnitTests ]
then
automake Xyce_UnitTests/Makefile
fi
echo "1) autoconf"
autoconf
echo "0) autoheader, again"
# without this second run, Xyce_config.in might not be complete
autoheader