Annotation of libaitrpc/debian/Makefile.in, revision 1.3
1.2 misho 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:
1.3 ! misho 11: DEBIAN_ARCH = @DEBIAN_ARCH@
! 12:
1.2 misho 13: INSTALL = @INSTALL@
14:
15: INC = ../inc
16: LIB = ../lib
17:
18: LIBSO = ${PACKAGE_NAME}.so
19: LIBSO_CLI = ${PACKAGE_NAME}_cli.so
20:
1.3 ! misho 21: DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${DEBIAN_ARCH}
1.2 misho 22:
23: all: depend
24: dpkg-deb -b --root-owner-group ${DEBNAME}
25:
26: depend:
27: mkdir -p ${DEBNAME}/DEBIAN
28: cp control ${DEBNAME}/DEBIAN
29: mkdir -p ${DEBNAME}${includedir}
30: mkdir -p ${DEBNAME}${libdir}
31: ${INSTALL} ${INC}/aitrpc.h ${DEBNAME}${includedir}
32: ${INSTALL} ${INC}/aitrpc_pkt.h ${DEBNAME}${includedir}
33: ${INSTALL} ${INC}/aitrpc_cli.h ${DEBNAME}${includedir}
34: ${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir}
35: ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION}
36: ${INSTALL} ${LIB}/${LIBSO_CLI} ${DEBNAME}${libdir}
37: ln -sf ${libdir}/${LIBSO_CLI} ${DEBNAME}${libdir}/${LIBSO_CLI}.${PACKAGE_VERSION}
38:
39: clean:
40: rm -rf *~
41: rm -rf ${DEBNAME}
42: rm -rf ${DEBNAME}.deb
43:
44: install:
45:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>