mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 21:38:10 +00:00
Install libraries and includes.
This commit is contained in:
parent
eac1e66f4b
commit
fd81bd9ea6
@ -38,7 +38,7 @@ libdhcpctl.a: $(OBJ)
|
|||||||
$(RANLIB) libdhcpctl.a
|
$(RANLIB) libdhcpctl.a
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
for dir in $(LIBMANDIR); do \
|
for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR); do \
|
||||||
foo=""; \
|
foo=""; \
|
||||||
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
|
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
|
||||||
foo=$${foo}/$$bar; \
|
foo=$${foo}/$$bar; \
|
||||||
@ -48,11 +48,15 @@ install: all
|
|||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
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 \
|
for man in $(MAN); do \
|
||||||
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
|
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
|
||||||
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
|
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
|
||||||
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
|
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
|
||||||
$(DESTDIR)$(LIBMANDIR)/$(prefix)$(LIBMANEXT); \
|
$(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
|
||||||
done
|
done
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
@ -40,7 +40,7 @@ libomapi.a: $(OBJ)
|
|||||||
$(RANLIB) libomapi.a
|
$(RANLIB) libomapi.a
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
for dir in $(LIBMANDIR); do \
|
for dir in $(LIBDIR) $(LIBMANDIR) $(INCDIR)/omapip; do \
|
||||||
foo=""; \
|
foo=""; \
|
||||||
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
|
for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
|
||||||
foo=$${foo}/$$bar; \
|
foo=$${foo}/$$bar; \
|
||||||
@ -50,11 +50,17 @@ install: all
|
|||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
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 \
|
for man in $(MAN); do \
|
||||||
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
|
prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
|
||||||
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
|
suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
|
||||||
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
|
$(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
|
||||||
$(DESTDIR)$(LIBMANDIR)/$(prefix)$(LIBMANEXT); \
|
$(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
|
||||||
done
|
done
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user