| 1 |
############################################################################# |
| 2 |
# |
| 3 |
# Realmode X86 Emulator Library |
| 4 |
# |
| 5 |
# Copyright (C) 1996-1999 SciTech Software, Inc. |
| 6 |
# |
| 7 |
# ======================================================================== |
| 8 |
# |
| 9 |
# Permission to use, copy, modify, distribute, and sell this software and |
| 10 |
# its documentation for any purpose is hereby granted without fee, |
| 11 |
# provided that the above copyright notice appear in all copies and that |
| 12 |
# both that copyright notice and this permission notice appear in |
| 13 |
# supporting documentation, and that the name of the authors not be used |
| 14 |
# in advertising or publicity pertaining to distribution of the software |
| 15 |
# without specific, written prior permission. The authors makes no |
| 16 |
# representations about the suitability of this software for any purpose. |
| 17 |
# It is provided "as is" without express or implied warranty. |
| 18 |
# |
| 19 |
# THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 20 |
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 21 |
# EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 22 |
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF |
| 23 |
# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
| 24 |
# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 25 |
# PERFORMANCE OF THIS SOFTWARE. |
| 26 |
# |
| 27 |
# ======================================================================== |
| 28 |
# |
| 29 |
# Descripton: Linux specific makefile for the x86emu library. |
| 30 |
# |
| 31 |
############################################################################# |
| 32 |
|
| 33 |
TARGETLIB = libx86emu.a |
| 34 |
|
| 35 |
OBJS=\ |
| 36 |
debug.o \ |
| 37 |
decode.o \ |
| 38 |
fpu.o \ |
| 39 |
ops.o \ |
| 40 |
ops2.o \ |
| 41 |
prim_ops.o \ |
| 42 |
sys.o |
| 43 |
|
| 44 |
all: $(TARGETLIB) |
| 45 |
|
| 46 |
$(TARGETLIB): $(OBJS) |
| 47 |
ar rv $(TARGETLIB) $(OBJS) |
| 48 |
|
| 49 |
INCS = -I. -Ix86emu -I../../include -I../x86emu_include |
| 50 |
CFLAGS = -fPIC -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -DDEBUG |
| 51 |
|
| 52 |
.c.o: |
| 53 |
gcc -g -O -Wall -c $(CFLAGS) $(INCS) $*.c |
| 54 |
|
| 55 |
.cpp.o: |
| 56 |
gcc -c $(CFLAGS) $(INCS) $*.cpp |
| 57 |
|
| 58 |
distclean: clean |
| 59 |
|
| 60 |
clean: |
| 61 |
rm -f *.a *.o *~ |
| 62 |
|
| 63 |
install: |