File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / debian / Makefile.in
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 14 23:49:29 2024 UTC (8 months, 1 week ago) by misho
Branches: MAIN
CVS tags: elwix5_11, HEAD, ELWIX5_10
Version 5.10

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

INSTALL = @INSTALL@

INC = ../inc
LIB = ../lib

DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${PACKAGE_ARCH}

all: depend
	dpkg -b ${DEBNAME}

depend:
	mkdir -p ${DEBNAME}/DEBIAN
	cp control ${DEBNAME}/DEBIAN
	mkdir -p ${DEBNAME}${includedir}
	mkdir -p ${DEBNAME}${libdir}
	${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir}
	${INSTALL} -d ${DEBNAME}${includedir}/elwix
	${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix
	${INSTALL} ${LIB}/libelwix.so ${DEBNAME}${libdir}
	ln -sf libelwix.so ${DEBNAME}${libdir}/libelwix.so.${PACKAGE_VERSION}

clean:
	rm -rf *~
	rm -rf ${DEBNAME}
	rm -rf ${DEBNAME}.deb

install:


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