File:  [ELWIX - Embedded LightWeight unIX -] / libaitrpc / debian / Makefile.in
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Mar 20 17:32:29 2024 UTC (2 months, 3 weeks ago) by misho
Branches: MAIN
CVS tags: rpc9_6, RPC9_5, HEAD
Version 9.5

    1: prefix = @prefix@
    2: exec_prefix = @exec_prefix@
    3: includedir = @includedir@
    4: libdir = @libdir@
    5: 
    6: PACKAGE_NAME = @PACKAGE_NAME@
    7: PACKAGE_VERSION = @PACKAGE_VERSION@
    8: PACKAGE_ARCH = @target_cpu@
    9: PACKAGE_REV = 1
   10: 
   11: INSTALL = @INSTALL@
   12: 
   13: INC = ../inc
   14: LIB = ../lib
   15: 
   16: LIBSO = ${PACKAGE_NAME}.so
   17: LIBSO_CLI = ${PACKAGE_NAME}_cli.so
   18: 
   19: DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${PACKAGE_ARCH}
   20: 
   21: all: depend
   22: 	dpkg-deb -b --root-owner-group ${DEBNAME}
   23: 
   24: depend:
   25: 	mkdir -p ${DEBNAME}/DEBIAN
   26: 	cp control ${DEBNAME}/DEBIAN
   27: 	mkdir -p ${DEBNAME}${includedir}
   28: 	mkdir -p ${DEBNAME}${libdir}
   29: 	${INSTALL} ${INC}/aitrpc.h ${DEBNAME}${includedir}
   30: 	${INSTALL} ${INC}/aitrpc_pkt.h ${DEBNAME}${includedir}
   31: 	${INSTALL} ${INC}/aitrpc_cli.h ${DEBNAME}${includedir}
   32: 	${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir}
   33: 	ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION}
   34: 	${INSTALL} ${LIB}/${LIBSO_CLI} ${DEBNAME}${libdir}
   35: 	ln -sf ${libdir}/${LIBSO_CLI} ${DEBNAME}${libdir}/${LIBSO_CLI}.${PACKAGE_VERSION}
   36: 
   37: clean:
   38: 	rm -rf *~
   39: 	rm -rf ${DEBNAME}
   40: 	rm -rf ${DEBNAME}.deb
   41: 
   42: install:
   43: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>