Annotation of qemu/roms/SLOF/clients/net-snk/app/Makefile, revision 1.1.1.2

1.1       root        1: # *****************************************************************************
                      2: # * Copyright (c) 2004, 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: CFLAGS +=$(ADDCFLAGS)
                     20: 
                     21: OBJS = main.o
                     22: OBJDIRS = netlib/netlib.o netapps/netboot.o 
                     23: OBJDIRS += netapps/netflash.o
                     24: OBJDIRS += netapps/ping.o
                     25: OBJDIRS += netapps/args.o
                     26: 
                     27: ifeq ($(SNK_BIOSEMU_APPS), 1)
                     28: OBJDIRS += biosemu/biosemu_app.o
                     29: CFLAGS += -DSNK_BIOSEMU_APPS
                     30: endif
                     31: 
                     32: SUBDIRS = $(dir $(OBJDIRS))
                     33: 
1.1.1.2 ! root       34: all:   subdirs
        !            35:        $(MAKE) app.o
1.1       root       36: 
                     37: subdirs:
                     38:        for dir in $(SUBDIRS); do \
                     39:                $(MAKE) -C $$dir DIRECTORY=$(DIRECTORY)$$dir || exit 1; \
                     40:        done
                     41: 
1.1.1.2 ! root       42: app.o: $(OBJS) $(OBJDIRS)
1.1       root       43:        $(LD) $(LDFLAGS) $(OBJDIRS) $(OBJS) -o $@ -r 
                     44: 
                     45: clean :        
                     46:        $(RM) -f *.o *.a *.i 
                     47:        for dir in $(SUBDIRS); do \
                     48:                $(CLEAN) ; \
                     49:                $(MAKE) -C $$dir DIRECTORY=$(DIRECTORY)$$dir clean; \
                     50:        done
                     51: 
                     52: include $(TOP)/make.depend

unix.superglobalmegacorp.com

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