summaryrefslogtreecommitdiff
path: root/emulators/suse_linux/Makefile.application
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/suse_linux/Makefile.application')
-rw-r--r--emulators/suse_linux/Makefile.application23
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/suse_linux/Makefile.application b/emulators/suse_linux/Makefile.application
new file mode 100644
index 00000000000..f558872641c
--- /dev/null
+++ b/emulators/suse_linux/Makefile.application
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile.application,v 1.1 2002/04/04 11:55:58 tron Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+LINUX_KERNEL_OSRELEASE= 2.0.38
+
+.if (${OPSYS} == NetBSD) && (${MACHINE_ARCH} == i386)
+LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
+.endif
+
+.if (${LINUX_KERNEL_OSRELEASE} == 2.0.38)
+SUSE_DIR_PREFIX= suse64
+SUSE_VERSION= 6.4
+.else
+SUSE_DIR_PREFIX= suse
+SUSE_VERSION= 7.3
+.endif
+
+.if defined(RPM_FILES)
+.include "../../emulators/${SUSE_DIR_PREFIX}_linux/Makefile.common"
+.else
+.include "../../mk/bsd.pkg.mk"
+.endif