Annotation of qemu/roms/SLOF/drivers/e1k/Makefile, revision 1.1.1.1

1.1       root        1: # *****************************************************************************
                      2: # * Copyright (c) 2007, 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)/include -I$(TOP)/clients/net-snk/include \
                     20:           -I$(TOP)/lib/libc/include -I../common
                     21: 
                     22: SRCS   = e1k.c
                     23: 
                     24: COMMONOBJS = ../common/module_entry.o
                     25: 
                     26: OBJS   += $(COMMONOBJS) $(SRCS:.c=.o)
                     27: 
                     28: 
                     29: all:   Makefile.dep net_e1k.elf
                     30: 
                     31: net_e1k.elf: $(OBJS) $(TOP)/lib/libc.a
                     32:        $(LD) $(LDFLAGS) $^ -o $@ -T ../common/module.lds -N -q
                     33:        $(STRIP) --strip-unneeded $@
                     34: 
                     35: # A rule for making the object files in the common directory:
                     36: ../common/%.o: ../common/%.c
                     37:        $(MAKE) -C ../common all
                     38: 
                     39: 
                     40: clean:
                     41:        $(RM) -f *.o *.a *.i *.elf
                     42: 
                     43: distclean : clean
                     44:        rm -f Makefile.dep
                     45: 
                     46: 
                     47: # Rules for creating the dependency file:
                     48: depend:
                     49:        $(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCS) > Makefile.dep
                     50: Makefile.dep:
                     51:        $(MAKE) depend
                     52: 
                     53: # Include dependency file if available:
                     54: ifneq (,$(wildcard Makefile.dep))
                     55: include Makefile.dep
                     56: endif

unix.superglobalmegacorp.com

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