2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Install libraries and includes.

This commit is contained in:
Ted Lemon 1999-10-04 23:48:28 +00:00
parent eac1e66f4b
commit fd81bd9ea6
2 changed files with 14 additions and 4 deletions

View File

@ -38,7 +38,7 @@ libdhcpctl.a: $(OBJ)
$(RANLIB) libdhcpctl.a
install: all
for dir in $(LIBMANDIR); do \
for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR); do \
foo=""; \
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
foo=$${foo}/$$bar; \
@ -48,11 +48,15 @@ install: all
fi; \
done; \
done
$(INSTALL) libdhcpctl.a $(DESTDIR)$(LIBDIR)
$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libdhcpctl.a
$(INSTALL) dhcpctl.h $(DESTDIR)$(INCDIR)
$(CHMOD) 644 $(DESTDIR)$(INCDIR)/dhcpctl.h
for man in $(MAN); do \
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
$(DESTDIR)$(LIBMANDIR)/$(prefix)$(LIBMANEXT); \
$(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
done
depend:

View File

@ -40,7 +40,7 @@ libomapi.a: $(OBJ)
$(RANLIB) libomapi.a
install: all
for dir in $(LIBMANDIR); do \
for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR)/omapip; do \
foo=""; \
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
foo=$${foo}/$$bar; \
@ -50,11 +50,17 @@ install: all
fi; \
done; \
done
$(INSTALL) libomapi.a $(DESTDIR)$(LIBDIR)
$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libomapi.a
for file in alloc.h buffer.h omapip.h; do \
$(INSTALL) ../includes/omapip/$$file $(DESTDIR)$(INCDIR)/omapip; \
$(CHMOD) 644 $(DESTDIR)$(INCDIR)/omapip/$$file; \
done
for man in $(MAN); do \
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
$(DESTDIR)$(LIBMANDIR)/$(prefix)$(LIBMANEXT); \
$(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
done
depend: