version 1.1, 2024/03/18 10:20:35
|
version 1.1.2.2, 2024/08/19 19:36:37
|
Line 0
|
Line 1
|
|
prefix = @prefix@ |
|
exec_prefix = @exec_prefix@ |
|
includedir = @includedir@ |
|
libdir = @libdir@ |
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@ |
|
PACKAGE_VERSION = @PACKAGE_VERSION@ |
|
PACKAGE_ARCH = @target_cpu@ |
|
PACKAGE_REV = 1 |
|
|
|
DEBIAN_ARCH = @DEBIAN_ARCH@ |
|
|
|
INSTALL = @INSTALL@ |
|
|
|
INC = ../inc |
|
LIB = ../lib |
|
|
|
LIBSO = ${PACKAGE_NAME}.so |
|
|
|
DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${DEBIAN_ARCH} |
|
|
|
all: depend |
|
dpkg-deb -b --root-owner-group ${DEBNAME} |
|
|
|
depend: |
|
mkdir -p ${DEBNAME}/DEBIAN |
|
cp control ${DEBNAME}/DEBIAN |
|
mkdir -p ${DEBNAME}${includedir} |
|
mkdir -p ${DEBNAME}${libdir} |
|
${INSTALL} ${INC}/aitcfg.h ${DEBNAME}${includedir} |
|
${INSTALL} ${INC}/aitpwd.h ${DEBNAME}${includedir} |
|
${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir} |
|
ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION} |
|
|
|
clean: |
|
rm -rf *~ |
|
rm -rf ${DEBNAME} |
|
rm -rf ${DEBNAME}.deb |
|
|
|
install: |
|
|