Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/mopd/mopchk compile on linux
details: https://anonhg.NetBSD.org/src/rev/46132115f4c1
branches: trunk
changeset: 815910:46132115f4c1
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 08 01:15:26 2016 +0000
description:
compile on linux
diffstat:
usr.sbin/mopd/mopchk/Makefile.linux | 11 +++++++++++
usr.sbin/mopd/mopchk/mopchk.c | 6 +++---
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 88b365e91d21 -r 46132115f4c1 usr.sbin/mopd/mopchk/Makefile.linux
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/mopd/mopchk/Makefile.linux Wed Jun 08 01:15:26 2016 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:15:26 christos Exp $
+SRCS=mopchk.c
+OBJS=${SRCS:.c=.o}
+
+LDLIBS+=../common/libcommon.a
+CFLAGS+=-I../common
+
+mopchk: ${OBJS}
+
+clean:
+ rm -f ${OBJS} mopchk
diff -r 88b365e91d21 -r 46132115f4c1 usr.sbin/mopd/mopchk/mopchk.c
--- a/usr.sbin/mopd/mopchk/mopchk.c Wed Jun 08 01:13:14 2016 +0000
+++ b/usr.sbin/mopd/mopchk/mopchk.c Wed Jun 08 01:15:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mopchk.c,v 1.13 2011/08/30 19:49:11 joerg Exp $ */
+/* $NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@@ -24,9 +24,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
+#include "port.h"
#ifndef lint
-__RCSID("$NetBSD: mopchk.c,v 1.13 2011/08/30 19:49:11 joerg Exp $");
+__RCSID("$NetBSD: mopchk.c,v 1.14 2016/06/08 01:15:26 christos Exp $");
#endif
/*
Home |
Main Index |
Thread Index |
Old Index