aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/Makefile')
-rw-r--r--com32/lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index eb0d6124..81e6fcd1 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -106,7 +106,7 @@ libcom32core.a : $(CORELIBOBJS)
$(RANLIB) $@
tidy dist clean:
- rm -f sys/vesa/alphatbl.c
+ rm -f sys/vesa/alphatbl.c errlist.c
find . \( -name \*.o -o -name \*.a -o -name .\*.d -o -name \*.tmp \) -print0 | \
xargs -0r rm -f
@@ -120,6 +120,9 @@ install: all
-rm -rf $(INSTALLROOT)$(COM32DIR)/include
cp -r $(SRC)/../include $(INSTALLROOT)$(COM32DIR)
+errlist.c: makeerrlist.pl $(SRC)/../include/errno.h
+ $(PERL) $< $(CFLAGS) -errlist > $@ || rm -f $@
+
# These files are performance critical, and doesn't compile well with -Os
#FIXME: determine if drawtxt.c is really EFI-dependent
#ifndef EFI_BUILD