File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / debian / Makefile.in
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Thu Mar 14 23:36:47 2024 UTC (2 months, 2 weeks ago) by misho
Branches: elwix5_10
Create Debian package

    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: DEBNAME=${PACKAGE_NAME}_${PACKAGE_VERSION}-${PACKAGE_REV}_${PACKAGE_ARCH}
   17: 
   18: all: depend
   19: 	dpkg -b ${DEBNAME}
   20: 
   21: depend:
   22: 	mkdir -p ${DEBNAME}/DEBIAN
   23: 	cp control ${DEBNAME}/DEBIAN
   24: 	mkdir -p ${DEBNAME}${includedir}
   25: 	mkdir -p ${DEBNAME}${libdir}
   26: 	${INSTALL} ${INC}/elwix.h ${DEBNAME}${includedir}
   27: 	${INSTALL} -d ${DEBNAME}${includedir}/elwix
   28: 	${INSTALL} ${INC}/elwix/*.h ${DEBNAME}${includedir}/elwix
   29: 	${INSTALL} ${LIB}/libelwix.so ${DEBNAME}${libdir}
   30: 	ln -sf libelwix.so ${DEBNAME}${libdir}/libelwix.so.${PACKAGE_VERSION}
   31: 
   32: clean:
   33: 	rm -rf *~
   34: 	rm -rf ${DEBNAME}
   35: 	rm -rf ${DEBNAME}.deb
   36: 
   37: install:
   38: 

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