blob: f6c240ea5ebbd6eb26138906cbbddca52dd885f1 (
plain)
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
|
# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1997/11/04 13:15:29 kstailey Exp $
GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS}"
all: config.status
${MAKE} ${GNUCFLAGS} BISON=yacc CC=${CC} LDFLAGS=${LDSTATIC}
.FORCE: .IGNORE
.include <bsd.own.mk>
.ifdef GLOBAL_AUTOCONF_CACHE
CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
.else
CF=
.endif
config: .FORCE
.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
.endif
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr ${CF}
config.status: Makefile.in configure
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr ${CF} && touch config.status
clean cleandir:
-@if [ -e Makefile ]; then ${MAKE} distclean; fi
depend:
# Nothing here so far...
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.include <bsd.man.mk>
|