head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.44 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.42 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.40 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.38 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.36 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.34 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.32 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.30 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.28 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.26 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.24 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.22 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.20 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.18 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.16 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.14 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.12 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.10 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.8 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.6 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.4 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.8 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.6 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.4 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.4.0.110 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.108 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.106 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.104 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.102 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.100 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.98 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.96 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.94 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.90 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.88 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.86 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.84 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.82 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.80 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.78 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.76 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.74 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.72 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.70 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.68 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.66 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.64 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.62 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.60 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.58 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.56 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.54 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.52 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.50 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.48 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.46 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.44 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.42 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.40 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.38 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.36 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.34 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.32 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.30 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.28 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.26 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.24 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.22 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.20 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.18 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.16 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.14 pkgsrc-2008Q1:1.4.0.12 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.10 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.8 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.6 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.4 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.2 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2020.12.24.11.43.55; author mef; state Exp; branches; next 1.5; commitid NSGzRpPgb0KGnZAC; 1.5 date 2019.12.19.22.13.48; author joerg; state Exp; branches; next 1.4; commitid KU1hEeiAYKG3NmPB; 1.4 date 2006.10.01.21.03.36; author dillo; state Exp; branches; next 1.3; 1.3 date 2003.09.11.18.08.45; author jmmv; state Exp; branches; next 1.2; 1.2 date 2002.08.20.08.30.46; author dillo; state Exp; branches; next 1.1; 1.1 date 2000.12.16.16.53.14; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.16.16.53.14; author wiz; state Exp; branches; next ; desc @@ 1.6 log @(devel/tavrasm) Adapt to new bison @ text @--- src/makefile.orig 2004-12-11 23:51:29.000000000 +0000 +++ src/makefile 2020-12-24 11:41:02.928792258 +0000 @@@@ -24,40 +24,44 @@@@ ### Compiler options ######################################################### -CC = gcc -CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE) -CPPFLAGS = +CFLAGS += -DAVRLANG=LANGUAGE_$(LANGUAGE) +CPPFLAGS ?= CCFLAGS = $(CFLAGS) $(CPPFLAGS) -LINK = -lm -lstdc++ +LINK = $(LDFLAGS) $(LIBS) -lm -lstdc++ OBJS = avrparse.o avrlex.o avrasm.o symbol.o semantic.o utils.o +LEX = lex +YACC = bison ### Defaul CC files ######################################################### .cc.o: - $(CC) -c $(CCFLAGS) $< + $(CXX) -c $(CCFLAGS) $< ### Executable ############################################################## +all: $(EXENAME) + $(EXENAME): $(OBJS) - $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@@ + $(CXX) $(CCFLAGS) $(OBJS) $(LINK) -o $@@ ### Parser file ############################################################# avrparse.cc: avrparse.y avrasm.hh symbol.hh semantic.hh opcodes.hh - bison -d -o avrparse avrparse.y + ${YACC} -d -o avrparse avrparse.y mv avrparse avrparse.cc - mv avrparse.h avrparse.hh + cp avrparse.h avrparse.hh ### Scanner file ############################################################ avrlex.cc: avrparse.cc avrlex.l symbol.hh semantic.hh avrparse.hh \ opcodes.hh avrasm.hh messages.hh - flex -o$@@ avrlex.l + ${LEX} -o$@@ avrlex.l ### Dependencies ############################################################ -avrlex.o: avrlex.l -avrparse.o: avrparse.y +avrparse.hh: avrparse.cc +avrlex.o: avrlex.cc +avrparse.o: avrparse.cc avrasm.o: avrasm.cc avrasm.hh symbol.hh devices.hh messages.hh symbol.o: symbol.cc symbol.hh avrasm.hh utils.o: utils.cc utils.hh avrasm.hh messages.hh msg_us.hh msg_de.hh msg_sp.hh @ 1.5 log @Add missing dependency on generated files. Build as C++03. @ text @a0 2 $NetBSD: patch-aa,v 1.4 2006/10/01 21:03:36 dillo Exp $ d2 2 a3 2 +++ src/makefile @@@@ -24,27 +24,30 @@@@ VERSION = 122 d39 2 a40 1 mv avrparse.h avrparse.hh d42 1 a42 1 @@@@ -52,12 +55,13 @@@@ avrparse.cc: avrparse.y avrasm.hh symbol @ 1.4 log @Update to 1.22 (provided by Joe Talbott in private mail, with some changes by me). pkgsrc changes: install man page. Changes in 1.22: Several updates for ATmega (new devices, extended I/O etc.) Fixed problem with .db 00 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/09/11 18:08:45 jmmv Exp $ d3 1 a3 1 --- src/makefile.orig 2003-03-12 01:56:02.000000000 +0100 d5 1 a5 1 @@@@ -24,12 +24,14 @@@@ VERSION = 117 a11 1 +CC ?= gcc d23 3 a25 1 @@@@ -38,13 +40,15 @@@@ OBJS = avrparse.o avrlex.o avrasm.o sym d32 2 a33 1 $(CC) $(CCFLAGS) $(OBJS) $(LINK) -o $@@ d43 1 a43 1 @@@@ -52,12 +56,12 @@@@ avrparse.cc: avrparse.y avrasm.hh symbol d54 1 @ 1.3 log @Update to 1.19. Closes PR pkg/22711 by Lloyd Parkes. Changes since 1.17: 1.19 - Messed up applying some of the patches in 1.18 :-( 1.18 - Added support for specifying unsigned integer values [0; 2^32-1] Thanks to Richard Gerrits for pointing out the problem. Added support for specifying Z/Y/Z for adiw, sbiw and movw. Thanks to Richard Barrington for suggesting this. Added support for a bunch of Mega devices. Thanks to Andreas Schwarz for supplying a patch with these. Fixed problems compiling with GCC 3.2 Several people supplied patches, but I was just too busy integrating them. Thanks to Patrick Dreker for supplying the final patch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2002/08/20 08:30:46 dillo Exp $ d3 2 a4 2 --- makefile.orig 2003-03-12 01:56:02.000000000 +0100 +++ makefile @ 1.2 log @update to 1.17 (old distfile no longer available) changes since last pkgsrc version (1.15): 1.17 - Added support for the BYTE1 (same as LOW) function. Thanks to Timothy Lee for supplying this patch. - Fixed path delimiter problem in include path. I used DOS style '\' causing problems on *NIX. Thanks to Timothy Lee for reporting this. 1.16 - Fixed problem with long macro names. Thanks to Richard Gerrits for reporting this. - Increased maximum identifier length to 64 (and no, this was not the fix to the problem above :). - Added support for using DOS (\13\10) files on *NIX systems. - Change URL to www.tavrasm.org in help/README/... @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- makefile.orig Tue Apr 3 10:27:39 2001 d5 10 a14 1 @@@@ -30,6 +30,8 @@@@ CPPFLAGS = d16 2 a17 1 LINK = -lm @ 1.1 log @Initial revision @ text @d3 3 a5 9 --- makefile.orig Thu Nov 2 11:44:48 2000 +++ makefile Fri Dec 15 16:36:50 2000 @@@@ -26,11 +26,13 @@@@ #CC = egcs CC = gcc -CFLAGS = -O2 -m486 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE) +CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE) CPPFLAGS = d14 1 a14 1 @@@@ -39,13 +41,15 @@@@ d31 1 a31 1 @@@@ -53,12 +57,12 @@@@ @ 1.1.1.1 log @Initial import of tavrasm-0.15: tavrasm is an assembler for the Atmel AVR series of microcontrollers. It compiles code written for Atmels AVR DOS assembler. Package provided by Dieter Baron in private communication. @ text @@