SOURCES: x86emu-klibc-makefile.patch (NEW) - adds simple makefile for build...
mguevara
mguevara at pld-linux.org
Thu Nov 13 22:02:12 CET 2008
Author: mguevara Date: Thu Nov 13 21:02:12 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- adds simple makefile for build with klcc and klibc
---- Files affected:
SOURCES:
x86emu-klibc-makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/x86emu-klibc-makefile.patch
diff -u /dev/null SOURCES/x86emu-klibc-makefile.patch:1.1
--- /dev/null Thu Nov 13 22:02:13 2008
+++ SOURCES/x86emu-klibc-makefile.patch Thu Nov 13 22:02:07 2008
@@ -0,0 +1,68 @@
+--- /dev/null 2008-10-25 22:33:37.453334037 +0200
++++ x86emu-0.8/scitech/src/x86emu/makefile.klibc 2008-11-13 15:24:28.000000000 +0100
+@@ -0,0 +1,65 @@
++#############################################################################
++#
++# Realmode X86 Emulator Library
++#
++# Copyright (C) 1996-1999 SciTech Software, Inc.
++#
++# ========================================================================
++#
++# Permission to use, copy, modify, distribute, and sell this software and
++# its documentation for any purpose is hereby granted without fee,
++# provided that the above copyright notice appear in all copies and that
++# both that copyright notice and this permission notice appear in
++# supporting documentation, and that the name of the authors not be used
++# in advertising or publicity pertaining to distribution of the software
++# without specific, written prior permission. The authors makes no
++# representations about the suitability of this software for any purpose.
++# It is provided "as is" without express or implied warranty.
++#
++# THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
++# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
++# EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
++# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
++# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
++# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
++# PERFORMANCE OF THIS SOFTWARE.
++#
++# ========================================================================
++#
++# Descripton: Linux specific makefile for the x86emu library.
++#
++#############################################################################
++
++export CC = klcc -static
++
++TARGETLIB = libx86emu.a
++
++OBJS=\
++decode.o \
++fpu.o \
++ops.o \
++ops2.o \
++prim_ops.o \
++debug.o \
++sys.o
++
++all: $(TARGETLIB)
++
++$(TARGETLIB): $(OBJS)
++ ar rv $(TARGETLIB) $(OBJS)
++
++INCS = -I. -Ix86emu -I../../include
++CFLAGS = -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG $(OPT)
++CDEBUGFLAGS = -DDEBUG
++
++.c.o:
++ $(CC) -Wall -c $(CFLAGS) $(INCS) $*.c
++
++.cpp.o:
++ $(CC) -c $(CFLAGS) $(INCS) $*.cpp
++
++clean:
++ rm -f *.a *.o *.d
++
++validate: validate.o libx86emu.a
++ $(CC) -o validate validate.o -lx86emu -L.
================================================================
More information about the pld-cvs-commit
mailing list