Annotation of qemu/roms/SLOF/other-licence/x86emu/Makefile, revision 1.1.1.2

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: ROOTDIR ?= ../..
                     20: 
                     21: LDFLAGS                =
                     22: ASFLAGS                = -I./include -Wa,-mregnames
                     23: 
                     24: #NOTE: -DDEBUG only needed for debugging/tracing...
1.1.1.2 ! root       25: CFLAGS         = -UDEBUG -m64 -I. -I./include -I./include/x86emu \
        !            26:                  -I$(TOP)/clients/net-snk/include -I$(ROOTDIR)/include \
        !            27:                  -I$(ROOTDIR)/lib/libc/include -O3 -nostdinc -fno-builtin \
        !            28:                  -ffreestanding -Wall -Wno-unused
1.1       root       29: 
                     30: X86EMU_OBJS    = debug.o decode.o fpu.o ops2.o ops.o prim_ops.o sys.o
                     31: 
                     32: %.o: %.S
                     33:                $(CC) $(ASFLAGS) -c -o $@  $^
                     34: 
                     35: %.o: %.c
                     36:                $(CC) $(CFLAGS) -c -o $@ $^
                     37: 
                     38: all: libx86emu.a
                     39: 
                     40: libx86emu.a: $(X86EMU_OBJS)
                     41:        $(AR) -rc $@ $^
                     42:        $(RANLIB) $@
                     43: 
                     44: clean:
                     45:        $(RM) *.o *.i *.s libx86emu.a 
                     46: 
                     47: distclean: clean
                     48: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.