|
|
1.1 root 1: # *****************************************************************************
2: # * Copyright (c) 2004, 2008 IBM Corporation
3: # * All rights reserved.
4: # * This program and the accompanying materials
5: # * are made available under the terms of the BSD License
6: # * which accompanies this distribution, and is available at
7: # * http://www.opensource.org/licenses/bsd-license.php
8: # *
9: # * Contributors:
10: # * IBM Corporation - initial implementation
11: # ****************************************************************************/
12:
13: ifndef TOP
14: TOP = $(shell while ! test -e make.rules; do cd .. ; done; pwd)
15: export TOP
16: endif
17: include $(TOP)/make.rules
18:
19: CFLAGS += -I$(ROOTDIR)/other-licence/x86emu -I$(ROOTDIR)/other-licence/x86emu/include
20:
21: OBJS = biosemu.o debug.o device.o mem.o io.o interrupt.o vbe.o
22: LIBX86EMU = $(ROOTDIR)/other-licence/x86emu/libx86emu.a
23:
24: .PHONY: $(LIBX86EMU)
25:
26: all: biosemu_app.o
27:
28: # special rule for libx86emu.a
29: $(LIBX86EMU):
30: $(MAKE) -C $(dir $@)
31:
32: biosemu_app.o: $(OBJS) $(LIBX86EMU)
33: $(LD) $(LDFLAGS) $^ -o $@ -r
34:
35: clean:
36: $(RM) -f *.o *.a *.i *.s
37:
38: include $(TOP)/make.depend
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.