summaryrefslogtreecommitdiff
path: root/util/lxbios/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-07-12 16:35:42 +0000
committerStefan Reinauer <stepan@openbios.org>2007-07-12 16:35:42 +0000
commit6540ae5ea0a52e05ceb31675a2419d07197db738 (patch)
tree0dd2a6401ef2cfa5b06de374a6ba6db11e0b61c6 /util/lxbios/Makefile
parent6cf687783bc9c54146cf85ce5e526e63ab7047fb (diff)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2736 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/lxbios/Makefile')
-rw-r--r--util/lxbios/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/util/lxbios/Makefile b/util/lxbios/Makefile
new file mode 100644
index 0000000000..6d2022aa0d
--- /dev/null
+++ b/util/lxbios/Makefile
@@ -0,0 +1,28 @@
+# $Id: Makefile,v 1.2 2005/12/16 22:45:49 dsp_llnl Exp $
+
+PROJECT = lxbios
+CC = gcc
+CFLAGS = -O2 -W -Wall
+LDFLAGS =
+OBJS = common.o compute_ip_checksum.o hexdump.o cmos_lowlevel.o \
+ reg_expr.o layout.o layout_file.o lbtable.o cmos_ops.o input_file.o \
+ opts.o lxbios.o
+HEADERS = common.h ip_checksum.h linuxbios_tables.h hexdump.h \
+ cmos_lowlevel.h reg_expr.h layout.h layout_file.h lbtable.h \
+ cmos_ops.h input_file.h opts.h
+
+all: lxbios man
+
+lxbios: $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(OBJS)
+
+man: lxbios.1.gz
+
+$(OBJS): $(HEADERS)
+
+lxbios.1.gz: lxbios.1
+ gzip -c --best lxbios.1 > lxbios.1.gz
+
+clean:
+ rm -f *.o lxbios lxbios.1.gz
+