![]() ![]() | ![]() |
ensure existence includedir, libdir and prefix
1: # 2: # (C) 2011 by Michael Pounov <misho@openbsd-bg.org> 3: # AITNET ltd - Sofia/Bulgaria 4: # 5: # $Author: misho $ 6: # $Id: Makefile.in,v 1.2.82.1 2022/12/05 20:55:49 misho Exp $ 7: # 8: prefix = @prefix@ 9: exec_prefix = @exec_prefix@ 10: libdir = @libdir@ 11: 12: INSTALL = @INSTALL@ 13: 14: VERS = @PACKAGE_VERSION@ 15: LIBSO = @PACKAGE_NAME@.so 16: LIBA = @PACKAGE_NAME@.a 17: 18: all: 19: @ln -sf ${LIBSO} ${LIBSO}.${VERS} 20: 21: depend: 22: 23: clean: 24: @rm -f ${LIBSO} ${LIBA} ${LIBSO}.${VERS} *~ 25: 26: install: 27: ${INSTALL} -d ${prefix} 28: ${INSTALL} -d ${libdir} 29: ${INSTALL} ${LIBA} ${libdir} 30: ${INSTALL} ${LIBSO} ${libdir} 31: @ln -fs ${libdir}/${LIBSO} ${libdir}/${LIBSO}.${VERS}