blob: 77aa1dc6717db304baaf5f74101086662c6a4016 (
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
38
39
40
41
|
# $NetBSD: Makefile,v 1.3 2000/05/11 11:17:55 agc Exp $
DISTNAME= apNetBSD
PKGNAME= aperture-2.0
CATEGORIES= sysutils x11
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/xc/programs/Xserver/hw/xfree86/etc/
EXTRACT_SUFX= .shar
MAINTAINER= packages@netbsd.org
EXTRACT_CMD= ${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
ALL_TARGET= cleandir depend all
INSTALL_TARGET= dirs includes install
NO_WRKSUBDIR= yes
NO_CONFIGURE= yes
ONLY_FOR_PLATFORM= NetBSD-*-i386
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
.BEGIN:
@if [ ! -f /sys/lib/libkern/libkern.h ]; then \
${ECHO_MSG} "==================================================="; \
${ECHO_MSG} " Kernel sources are required to build LKMs."; \
${ECHO_MSG} " Please fetch them and make a link from /sys"; \
${ECHO_MSG} " to the kernel source directory (typically"; \
${ECHO_MSG} " /usr/src/sys)."; \
${ECHO_MSG}; \
${ECHO_MSG} " Information for fetching kernel sources may be"; \
${ECHO_MSG} " found at the following URL:"; \
${ECHO_MSG}; \
${ECHO_MSG} " http://www.netbsd.org/Documentation/"; \
${ECHO_MSG} "==================================================="; \
${FALSE}; \
fi
.endif
.include "../../mk/bsd.pkg.mk"
LDFLAGS= # empty since we use BSD-style makefiles
|