Port to linux

This commit is contained in:
christos 2016-06-08 01:16:35 +00:00
parent f61be0af4a
commit cf281130dd
2 changed files with 14 additions and 3 deletions

11
mopcopy/Makefile.linux Normal file
View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile.linux,v 1.1 2016/06/08 01:16:35 christos Exp $
SRCS=mopcopy.c
OBJS=${SRCS:.c=.o}
LDLIBS+=../common/libcommon.a
CFLAGS+=-I../common -DNOAOUT
mopcopy: ${OBJS}
clean:
rm -f ${OBJS} mopcopy

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopcopy.c,v 1.5 2011/08/30 19:49:11 joerg Exp $ */
/* $NetBSD: mopcopy.c,v 1.6 2016/06/08 01:16:35 christos Exp $ */
/* mopcopy - Convert a Unix format kernel into something that
* can be transfered via MOP.
@ -47,9 +47,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: mopcopy.c,v 1.5 2011/08/30 19:49:11 joerg Exp $");
__RCSID("$NetBSD: mopcopy.c,v 1.6 2016/06/08 01:16:35 christos Exp $");
#endif
#include "os.h"