mirror of
https://github.com/pfusik/xasm.git
synced 2024-12-26 11:30:21 +00:00
Apply dos2unix.
This commit is contained in:
parent
90276dbe86
commit
92eac212cc
128
Makefile
128
Makefile
@ -1,64 +1,64 @@
|
||||
VERSION = 3.1.0
|
||||
|
||||
prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
mandir = $(prefix)/share/man/man1
|
||||
|
||||
SEVENZIP = 7z a -mx=9 -bd
|
||||
|
||||
all: xasm xasm.html
|
||||
|
||||
xasm: xasm.d
|
||||
dmd -of$@ -O -release $<
|
||||
|
||||
xasm.html: xasm.1.asciidoc
|
||||
asciidoc -o - $< | sed -e "s/527bbd;/20a0a0;/" >$@
|
||||
|
||||
xasm.1: xasm.1.asciidoc
|
||||
a2x -f manpage $<
|
||||
|
||||
install: xasm xasm.1
|
||||
mkdir -p $(DESTDIR)$(bindir) && install xasm $(DESTDIR)$(bindir)/xasm
|
||||
mkdir -p $(DESTDIR)$(mandir) && install -m 644 xasm.1 $(DESTDIR)$(mandir)/xasm.1
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(bindir)/xasm $(DESTDIR)$(mandir)/xasm.1
|
||||
|
||||
install-scite: xasm.properties
|
||||
mkdir -p $(DESTDIR)$(prefix)/share/scite && install $< $(DESTDIR)$(prefix)/share/scite/xasm.properties
|
||||
|
||||
uninstall-scite:
|
||||
$(RM) $(DESTDIR)$(prefix)/share/scite/xasm.properties
|
||||
|
||||
dist: srcdist ../xasm-$(VERSION)-windows.zip
|
||||
|
||||
srcdist: MANIFEST
|
||||
$(RM) ../xasm-$(VERSION).tar.gz && tar -c --numeric-owner --owner=0 --group=0 --mode=644 -T MANIFEST --transform=s,,xasm-$(VERSION)/, | $(SEVENZIP) -tgzip -si ../xasm-$(VERSION).tar.gz
|
||||
|
||||
MANIFEST:
|
||||
if test -e .git; then (git ls-files | grep -vF .gitignore && echo MANIFEST) | sort >$@ ; fi
|
||||
|
||||
../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
||||
$(RM) $@ && $(SEVENZIP) -tzip $@ xasm.exe xasm.html xasm.properties
|
||||
|
||||
deb:
|
||||
debuild -b -us -uc
|
||||
|
||||
osx: ../xasm-$(VERSION)-osx.dmg
|
||||
|
||||
../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
|
||||
hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@
|
||||
|
||||
osx/xasm: xasm.d
|
||||
mkdir -p osx && dmd -of$@ -O -release -m32 -L-macosx_version_min -L10.6 $< && rm -f osx/xasm.o
|
||||
|
||||
osx/bin:
|
||||
mkdir -p osx && ln -s /usr/bin $@
|
||||
|
||||
clean:
|
||||
$(RM) xasm xasm.exe xasm.obj xasm.html xasm.1
|
||||
rm -rf osx
|
||||
|
||||
.PHONY: all install uninstall install-scite uninstall-scite dist srcdist MANIFEST deb osx clean
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
VERSION = 3.1.0
|
||||
|
||||
prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
mandir = $(prefix)/share/man/man1
|
||||
|
||||
SEVENZIP = 7z a -mx=9 -bd
|
||||
|
||||
all: xasm xasm.html
|
||||
|
||||
xasm: xasm.d
|
||||
dmd -of$@ -O -release $<
|
||||
|
||||
xasm.html: xasm.1.asciidoc
|
||||
asciidoc -o - $< | sed -e "s/527bbd;/20a0a0;/" >$@
|
||||
|
||||
xasm.1: xasm.1.asciidoc
|
||||
a2x -f manpage $<
|
||||
|
||||
install: xasm xasm.1
|
||||
mkdir -p $(DESTDIR)$(bindir) && install xasm $(DESTDIR)$(bindir)/xasm
|
||||
mkdir -p $(DESTDIR)$(mandir) && install -m 644 xasm.1 $(DESTDIR)$(mandir)/xasm.1
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(bindir)/xasm $(DESTDIR)$(mandir)/xasm.1
|
||||
|
||||
install-scite: xasm.properties
|
||||
mkdir -p $(DESTDIR)$(prefix)/share/scite && install $< $(DESTDIR)$(prefix)/share/scite/xasm.properties
|
||||
|
||||
uninstall-scite:
|
||||
$(RM) $(DESTDIR)$(prefix)/share/scite/xasm.properties
|
||||
|
||||
dist: srcdist ../xasm-$(VERSION)-windows.zip
|
||||
|
||||
srcdist: MANIFEST
|
||||
$(RM) ../xasm-$(VERSION).tar.gz && tar -c --numeric-owner --owner=0 --group=0 --mode=644 -T MANIFEST --transform=s,,xasm-$(VERSION)/, | $(SEVENZIP) -tgzip -si ../xasm-$(VERSION).tar.gz
|
||||
|
||||
MANIFEST:
|
||||
if test -e .git; then (git ls-files | grep -vF .gitignore && echo MANIFEST) | sort >$@ ; fi
|
||||
|
||||
../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
||||
$(RM) $@ && $(SEVENZIP) -tzip $@ xasm.exe xasm.html xasm.properties
|
||||
|
||||
deb:
|
||||
debuild -b -us -uc
|
||||
|
||||
osx: ../xasm-$(VERSION)-osx.dmg
|
||||
|
||||
../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
|
||||
hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@
|
||||
|
||||
osx/xasm: xasm.d
|
||||
mkdir -p osx && dmd -of$@ -O -release -m32 -L-macosx_version_min -L10.6 $< && rm -f osx/xasm.o
|
||||
|
||||
osx/bin:
|
||||
mkdir -p osx && ln -s /usr/bin $@
|
||||
|
||||
clean:
|
||||
$(RM) xasm xasm.exe xasm.obj xasm.html xasm.1
|
||||
rm -rf osx
|
||||
|
||||
.PHONY: all install uninstall install-scite uninstall-scite dist srcdist MANIFEST deb osx clean
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
|
1756
xasm.1.asciidoc
1756
xasm.1.asciidoc
File diff suppressed because it is too large
Load Diff
@ -1,42 +1,42 @@
|
||||
# xasm settings for SciTE (http://www.scintilla.org/SciTE.html)
|
||||
|
||||
file.patterns.xasm=*.asx
|
||||
filter.xasm=xasm (asx)|$(file.patterns.xasm)|
|
||||
*filter.xasm=$(filter.xasm)
|
||||
lexer.$(file.patterns.xasm)=asm
|
||||
*language.xasm=xasm|asx||
|
||||
|
||||
keywords.$(file.patterns.xasm)= \
|
||||
adc add and asl bcc bcs beq bit \
|
||||
bmi bne bpl brk bvc bvs clc cld \
|
||||
cli clv cmp cpx cpy dec dex dey \
|
||||
dta eif eli els end eor equ ert \
|
||||
icl ift inc ini ins inw inx iny \
|
||||
jcc jcs jeq jmi jmp jne jpl jsr \
|
||||
jvc jvs lda ldx ldy lsr mva mvx \
|
||||
mvy mwa mwx mwy nop opt ora org \
|
||||
pha php pla plp rcc rcs req rmi \
|
||||
rne rol ror rpl rti rts run rvc \
|
||||
rvs sbc scc scs sec sed sei seq \
|
||||
smi sne spl sta stx sty sub svc \
|
||||
svs tax tay tsx txa txs tya
|
||||
|
||||
comment.block.asm=;
|
||||
|
||||
style.asm.32=
|
||||
style.asm.1=$(colour.code.comment.line)
|
||||
style.asm.2=
|
||||
style.asm.3=$(colour.string)
|
||||
style.asm.4=$(colour.operator)
|
||||
style.asm.5=
|
||||
style.asm.6=$(colour.keyword)
|
||||
style.asm.7=
|
||||
style.asm.12=$(colour.char)
|
||||
style.asm.13=$(colour.error)
|
||||
|
||||
command.compile.$(file.patterns.xasm)=xasm /o:$(FileName).xex $(FilePath)
|
||||
command.build.$(file.patterns.xasm)=make
|
||||
if PLAT_WIN
|
||||
command.go.$(file.patterns.xasm)=start $(FileName).xex
|
||||
if PLAT_GTK
|
||||
command.go.$(file.patterns.xasm)=atari800 -run $(FileName).xex
|
||||
# xasm settings for SciTE (http://www.scintilla.org/SciTE.html)
|
||||
|
||||
file.patterns.xasm=*.asx
|
||||
filter.xasm=xasm (asx)|$(file.patterns.xasm)|
|
||||
*filter.xasm=$(filter.xasm)
|
||||
lexer.$(file.patterns.xasm)=asm
|
||||
*language.xasm=xasm|asx||
|
||||
|
||||
keywords.$(file.patterns.xasm)= \
|
||||
adc add and asl bcc bcs beq bit \
|
||||
bmi bne bpl brk bvc bvs clc cld \
|
||||
cli clv cmp cpx cpy dec dex dey \
|
||||
dta eif eli els end eor equ ert \
|
||||
icl ift inc ini ins inw inx iny \
|
||||
jcc jcs jeq jmi jmp jne jpl jsr \
|
||||
jvc jvs lda ldx ldy lsr mva mvx \
|
||||
mvy mwa mwx mwy nop opt ora org \
|
||||
pha php pla plp rcc rcs req rmi \
|
||||
rne rol ror rpl rti rts run rvc \
|
||||
rvs sbc scc scs sec sed sei seq \
|
||||
smi sne spl sta stx sty sub svc \
|
||||
svs tax tay tsx txa txs tya
|
||||
|
||||
comment.block.asm=;
|
||||
|
||||
style.asm.32=
|
||||
style.asm.1=$(colour.code.comment.line)
|
||||
style.asm.2=
|
||||
style.asm.3=$(colour.string)
|
||||
style.asm.4=$(colour.operator)
|
||||
style.asm.5=
|
||||
style.asm.6=$(colour.keyword)
|
||||
style.asm.7=
|
||||
style.asm.12=$(colour.char)
|
||||
style.asm.13=$(colour.error)
|
||||
|
||||
command.compile.$(file.patterns.xasm)=xasm /o:$(FileName).xex $(FilePath)
|
||||
command.build.$(file.patterns.xasm)=make
|
||||
if PLAT_WIN
|
||||
command.go.$(file.patterns.xasm)=start $(FileName).xex
|
||||
if PLAT_GTK
|
||||
command.go.$(file.patterns.xasm)=atari800 -run $(FileName).xex
|
||||
|
Loading…
Reference in New Issue
Block a user