Annotation of qemu/roms/SLOF/board-qemu/virtio-net/Makefile, revision 1.1

1.1     ! root        1: # *****************************************************************************
        !             2: # * Copyright (c) 2011 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: CPPFLAGS = -I./ -I$(TOP)/clients/net-snk/include/ -I$(TOP)/lib/libc/include/ \
        !            20:           -I$(TOP)/lib/libhvcall  -I$(TOP)/lib/libvirtio -I$(INCLCMNDIR) \
        !            21:           -I$(INCLCMNDIR)/$(CPUARCH)
        !            22: 
        !            23: LIBS   = $(TOP)/lib/libc.a $(TOP)/lib/libhvcall.a $(TOP)/lib/libvirtio.a
        !            24: 
        !            25: SRCS   = module_entry.c virtio-net.c vn-pci.c
        !            26: 
        !            27: OBJS   = $(SRCS:%.c=%.o)
        !            28: 
        !            29: all: net_virtio.elf
        !            30: 
        !            31: net_virtio.elf: $(OBJS) $(LIBS)
        !            32:        $(LD) $(LDFLAGS) $^ -o $@ -T virtio-net.lds -N -q
        !            33:        $(STRIP) --strip-unneeded $@
        !            34: 
        !            35: clean:
        !            36:        $(RM) -f *.o *.a *.i *.elf
        !            37: 
        !            38: distclean : clean
        !            39:        rm -f Makefile.dep
        !            40: 
        !            41: 
        !            42: # Rules for creating the dependency file:
        !            43: depend:
        !            44:        $(RM) Makefile.dep
        !            45:        $(MAKE) Makefile.dep
        !            46: 
        !            47: Makefile.dep:
        !            48:        $(CC) -M $(CFLAGS) $(CPPFLAGS) $(SRCS) > Makefile.dep
        !            49: 
        !            50: # Include dependency file if available:
        !            51: -include Makefile.dep

unix.superglobalmegacorp.com

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