2000-12-26 18:33:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2000/12/26 17:33:52 dmcmahill Exp $
|
2000-01-05 19:02:18 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2000-07-21 09:45:49 +02:00
|
|
|
EXTRACT_CMD= ${SH} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
|
2000-01-05 19:02:18 +01:00
|
|
|
ALL_TARGET= cleandir depend all
|
|
|
|
INSTALL_TARGET= dirs includes install
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_CONFIGURE= yes
|
2000-07-15 08:22:16 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
2000-01-05 19:02:18 +01:00
|
|
|
|
2000-10-18 06:26:53 +02:00
|
|
|
OSVERSION_SPECIFIC= yes
|
2000-01-05 19:02:18 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
|
|
|
|
2000-05-11 13:17:55 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
2000-12-26 18:33:52 +01:00
|
|
|
pre-fetch:
|
2000-01-05 19:02:18 +01:00
|
|
|
@if [ ! -f /sys/lib/libkern/libkern.h ]; then \
|
|
|
|
${ECHO_MSG} "==================================================="; \
|
2000-07-15 08:10:25 +02:00
|
|
|
${ECHO_MSG} " Kernel sources for the version of the kernel"; \
|
|
|
|
${ECHO_MSG} " you are running are required to build LKMs."; \
|
2000-01-05 19:02:18 +01:00
|
|
|
${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
|
2000-05-11 13:17:55 +02:00
|
|
|
.endif
|
2000-01-05 19:02:18 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
|
|
|
LDFLAGS= # empty since we use BSD-style makefiles
|