aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-14 23:18:25 +0000
committerhpa <hpa>2004-12-14 23:18:25 +0000
commit2d747a0e3e9d99cce544e4645370fcf7ef3e92ee (patch)
tree047aa3971d678adb319806181a42e66594dfec8f /com32/libutil/Makefile
parentdb6513a202b8ce9ac2e4f20088f9b7e2209ecdc4 (diff)
downloadsyslinux-2d747a0e3e9d99cce544e4645370fcf7ef3e92ee.tar.gz
syslinux-2d747a0e3e9d99cce544e4645370fcf7ef3e92ee.tar.xz
syslinux-2d747a0e3e9d99cce544e4645370fcf7ef3e92ee.zip
Make "make install" do the right thing for the com32 library
Diffstat (limited to 'com32/libutil/Makefile')
-rw-r--r--com32/libutil/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile
index 1090dbd8..12c5c110 100644
--- a/com32/libutil/Makefile
+++ b/com32/libutil/Makefile
@@ -52,6 +52,12 @@ LNXLIBOBJS = $(patsubst %.o,%.lo,$(LIBOBJS))
.SUFFIXES: .lss .c .lo .o .elf .c32 .lnx
+BINDIR = /usr/bin
+LIBDIR = /usr/lib
+AUXDIR = $(LIBDIR)/syslinux
+INCDIR = /usr/include
+COM32DIR = $(AUXDIR)/com32
+
all: libutil_com.a libutil_lnx.a
libutil_com.a: $(LIBOBJS)
@@ -99,3 +105,8 @@ clean: tidy
spotless: clean
rm -f *~ \#*
+
+install: all
+ mkdir -m 755 -p $(INSTALLROOT)$(COM32DIR)
+ install -m 644 libutil_com.a libutil_lnx.a $(INSTALLROOT)$(COM32DIR)
+