Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / gnu / usr.bin / perl / miniperl / Makefile
1 # $FreeBSD: src/gnu/usr.bin/perl/miniperl/Makefile,v 1.11.2.2 2002/02/19 16:21:34 ru Exp $
2 # $DragonFly: src/gnu/usr.bin/perl/miniperl/Attic/Makefile,v 1.2 2003/06/17 04:25:47 dillon Exp $
3
4 PROG=   miniperl
5 NOMAN=  true
6 SRCS=   miniperlmain.c
7 SRCS+=  perl.c gv.c toke.c perly.c op.c regcomp.c dump.c util.c mg.c \
8         hv.c av.c run.c pp_hot.c sv.c pp.c scope.c pp_ctl.c pp_sys.c \
9         doop.c doio.c regexec.c taint.c universal.c \
10         globals.c perlio.c config.h
11 CFLAGS+=-I${.OBJDIR} -I${PERL5SRC}
12 DPADD=  ${LIBM} ${LIBCRYPT}
13 LDADD=  -lm -lcrypt
14
15 # In FreeBSD 4.0, setproctitle(3) is in -lutil.
16 .if defined(BOOTSTRAPPING)
17 DPADD+= ${LIBUTIL}
18 LDADD+= -lutil
19 .endif
20
21 # Miniperl _must_ be static!!
22 NOSHARED= yes
23
24 # We need miniperl early in `depend'.
25 afterdepend: all
26
27 build-tools: depend all
28
29 install:
30
31 NO_PERL_SCRIPT_MAKE=    true
32
33 .include <bsd.prog.mk>
34
35 .PATH:  ${PERL5SRC}
36
37 config.h: links
38         @sh config_h.sh
39
40 .SUFFIXES:
41
42 .SUFFIXES: .o .po .So .s .S .c