5c0e985737
An assembler for the the Microchip PIC family of microcontrollers. Supports the majority of the Microchip PIC family. Uses Microchip (not Parallax) syntax. Originally packaged in pkgsrc-wip by: - myself, - pancake with further maintanance by: - Blue Rats <rodent>, - Aleksej Saushev, - Thomas Klausner, - OBATA Akio, - Sergey Svishchev, - Roland Illig, - Todd Vierling, - grant beattie.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2016/06/12 20:03:45 kamil Exp $
|
|
#
|
|
|
|
DISTNAME= picasm114
|
|
PKGNAME= ${DISTNAME:S/picasm/picasm-/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
# Mirror of the latest release notes
|
|
HOMEPAGE= http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/picasm.html
|
|
COMMENT= Assembler for Microchip PIC16Cxx microcontrollers
|
|
LICENSE= mit
|
|
|
|
BUILD_TARGET= picasm
|
|
BUILD_MAKE_FLAGS= CC=${CC:Q}
|
|
# We need to construct -DBUILTIN_INCLUDE1=\"/usr/pkg/share/picasm/include\"
|
|
# in order to process symbol correctly to the preprocessor
|
|
BUILD_MAKE_FLAGS= DEFS=-DBUILTIN_INCLUDE1=\\\"${PREFIX}/share/picasm/include\\\"
|
|
|
|
INSTALLATION_DIRS= bin share/examples/picasm share/doc/picasm \
|
|
share/picasm/include
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/picasm ${DESTDIR}${PREFIX}/bin
|
|
|
|
.for file in example.asm morse.asm morse.i pic16f84.i picmac.i
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${file} \
|
|
${DESTDIR}${PREFIX}/share/examples/picasm
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/device_definitions/*.i \
|
|
${DESTDIR}${PREFIX}/share/picasm/include
|
|
|
|
.for file in picasm.txt picasm.html
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/picasm
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|