Annotation of qemu/roms/SLOF/lib/libnvram/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: SRCS = nvram.c envvar.c
                     14: 
                     15: TOPCMNDIR ?= ../..
                     16: 
1.1.1.2 ! root       17: include $(TOPCMNDIR)/make.rules
        !            18: 
1.1       root       19: ASFLAGS = $(FLAG) $(RELEASE) $(CPUARCHDEF) -Wa,-mregnames
                     20: CPPFLAGS = -I../libc/include $(CPUARCHDEF) $(FLAG) \
                     21:           -I$(INCLBRDDIR) -I$(INCLCMNDIR)/$(CPUARCH) -I. -I../../include
                     22: LDFLAGS = -nostdlib
                     23: 
                     24: TARGET = ../libnvram.a
                     25: 
                     26: all: $(TARGET)
                     27: 
                     28: OBJS = $(SRCS:%.c=%.o)
                     29: 
                     30: $(TARGET): $(OBJS)
                     31:        $(AR) -rc $@ $(OBJS)
                     32:        $(RANLIB) $@
                     33: 
                     34: 
                     35: clean:
                     36:        $(RM) $(TARGET) $(OBJS)
                     37: 
                     38: distclean: clean
                     39:        $(RM) 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: Makefile
1.1.1.2 ! root       48:        $(CC) -MM $(CPPFLAGS) $(CFLAGS) $(SRCS) > Makefile.dep
        !            49: 
1.1       root       50: 
                     51: # Include dependency file if available:
                     52: -include Makefile.dep
                     53: 

unix.superglobalmegacorp.com

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