|
|
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:
14: ifndef TOP
15: TOP = $(shell while ! test -e make.rules; do cd .. ; done; pwd)
16: export TOP
17: endif
18: include $(TOP)/make.rules
19:
1.1.1.2 ! root 20: OBJS = rtas.o of.o pci.o ci_device.o
1.1 root 21: OBJS2 = entry.o
22:
23: all: oflib.o
24:
25:
26: oflib.o: $(OBJS) $(OBJS2)
27: $(LD) $(LDFLAGS) $^ -o oflib.o -r
28:
29: clean:
30: $(RM) -f $(OBJS) $(OBJS2) oflib.o
31:
32: include $(TOP)/make.depend
33:
34:
35: #mrproper : clean
36: # rm -rf .depend
37: #
38: #depend :
39: # @rm -rf .depend ; touch .depend ; \
40: # makedepend -v -f.depend -- $(CFLAGS) -- $(OBJS:.o=.c) 2> /dev/null ; \
41: # $(CC) -M $(CFLAGS) $(OBJS2:.o=.S) >> .depend
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.