1 |
root |
1.1 |
PERLCONFIG = -Duselargefiles -Uuse64bitint -Uuse64bitall -Dusemymalloc \ |
2 |
|
|
-Ud_dosuid -Uusemallocwrap -Uusedl \ |
3 |
|
|
-Dprefix=/etc/staticperl/prefix \ |
4 |
|
|
-Uusethreads -Uuse5005threads -Uuseithreads -Uusemultiplicity -Umultiarch \ |
5 |
|
|
-Dcc=gcc -Doptimize="-O4 -funroll-loops" \ |
6 |
|
|
-Dlibs="-lm -lcrypt -lutil -lc" |
7 |
|
|
|
8 |
|
|
all: stamp.perl |
9 |
|
|
|
10 |
|
|
stamp.perl: stamp.perl.config |
11 |
root |
1.2 |
(cd perl && $(MAKE)) |
12 |
|
|
#touch stamp.perl |
13 |
root |
1.1 |
|
14 |
|
|
stamp.perl.config: |
15 |
|
|
(cd perl && sh Configure -desO $(PERLCONFIG)) |
16 |
|
|
touch $@ |
17 |
|
|
|
18 |
|
|
clean: |
19 |
root |
1.2 |
-(cd perl && $(MAKE) clean) |
20 |
root |
1.1 |
rm stamp.* |