Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2726 | vana | 1 | # |
2 | # Copyright (C) 1999-2001 Hewlett-Packard Co. |
||
3 | # Contributed by David Mosberger <davidm@hpl.hp.com> |
||
4 | # Contributed by Stephane Eranian <eranian@hpl.hp.com> |
||
5 | # |
||
6 | # This file is part of the gnu-efi package. |
||
7 | # |
||
8 | # GNU-EFI is free software; you can redistribute it and/or modify |
||
9 | # it under the terms of the GNU General Public License as published by |
||
10 | # the Free Software Foundation; either version 2, or (at your option) |
||
11 | # any later version. |
||
12 | # |
||
13 | # GNU-EFI is distributed in the hope that it will be useful, |
||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
16 | # GNU General Public License for more details. |
||
17 | # |
||
18 | # You should have received a copy of the GNU General Public License |
||
19 | # along with GNU-EFI; see the file COPYING. If not, write to the Free |
||
20 | # Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
||
21 | # 02111-1307, USA. |
||
22 | # |
||
23 | |||
24 | include ../Make.defaults |
||
25 | CDIR = $(TOPDIR)/.. |
||
26 | FILES = boxdraw smbios console crc data debug dpath \ |
||
27 | error event guid hand hw init lock \ |
||
28 | misc print sread str \ |
||
29 | runtime/rtlock runtime/efirtlib runtime/rtstr runtime/vm runtime/rtdata \ |
||
30 | $(ARCH)/initplat $(ARCH)/math |
||
31 | |||
32 | ifeq ($(ARCH),ia64) |
||
33 | FILES += $(ARCH)/salpal $(ARCH)/palproc |
||
34 | endif |
||
35 | |||
36 | OBJS = $(FILES:%=%.o) |
||
37 | |||
38 | libefi.a: libefi.a($(OBJS)) |
||
39 | |||
40 | clean: |
||
41 | rm -f libefi.a *~ $(OBJS) */*.o |
||
42 | |||
43 | install: libefi.a |
||
44 | mkdir -p $(INSTALLROOT)/lib |
||
45 | $(INSTALL) -m 644 libefi.a $(INSTALLROOT)/lib/ |
||
46 | |||
47 | include ../Make.rules |