version 1.2, 2024/03/14 23:49:29
|
version 1.4, 2024/08/14 16:05:42
|
Line 7 PACKAGE_NAME = @PACKAGE_NAME@
|
Line 7 PACKAGE_NAME = @PACKAGE_NAME@
|
PACKAGE_VERSION = @PACKAGE_VERSION@ |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
PACKAGE_ARCH = @target_cpu@ |
PACKAGE_ARCH = @target_cpu@ |
PACKAGE_REV = 1 |
PACKAGE_REV = 1 |
|
DEBIAN_ARCH = @DEBIAN_ARCH@ |
|
|
INSTALL = @INSTALL@ |
INSTALL = @INSTALL@ |
|
|
INC = ../inc |
INC = ../inc |
LIB = ../lib |
LIB = ../lib |
|
|
DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${PACKAGE_ARCH} | LIBSO = ${PACKAGE_NAME}.so |
|
|
|
DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${DEBIAN_ARCH} |
|
|
all: depend |
all: depend |
dpkg -b ${DEBNAME} | dpkg-deb -b --root-owner-group ${DEBNAME} |
|
|
depend: |
depend: |
mkdir -p ${DEBNAME}/DEBIAN |
mkdir -p ${DEBNAME}/DEBIAN |
Line 26 depend:
|
Line 29 depend:
|
${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir} |
${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir} |
${INSTALL} -d ${DEBNAME}${includedir}/elwix |
${INSTALL} -d ${DEBNAME}${includedir}/elwix |
${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix |
${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix |
${INSTALL} ${LIB}/libelwix.so ${DEBNAME}${libdir} | ${INSTALL} ${LIB}/${LIBSO} ${DEBNAME}${libdir} |
ln -sf libelwix.so ${DEBNAME}${libdir}/libelwix.so.${PACKAGE_VERSION} | ln -sf ${libdir}/${LIBSO} ${DEBNAME}${libdir}/${LIBSO}.${PACKAGE_VERSION} |
|
|
clean: |
clean: |
rm -rf *~ |
rm -rf *~ |