mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
fix so can build on windoze; add step to build .CAB files from dicts for Wince
This commit is contained in:
parent
8db7f244d3
commit
6ca300067b
1 changed files with 8 additions and 11 deletions
|
@ -48,7 +48,8 @@ ifeq ($(TARGET_TYPE),WINCE)
|
||||||
WINCE_ONLY = true
|
WINCE_ONLY = true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: checkARCH
|
.PHONY: clean_common help allbins checkARCH
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# PalmOS rules
|
# PalmOS rules
|
||||||
|
@ -153,7 +154,6 @@ checkARCH:
|
||||||
$(error "ARCH must be defined in ENV if TARGET_TYPE==FRANK"); \
|
$(error "ARCH must be defined in ENV if TARGET_TYPE==FRANK"); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ifndef WINCE_ONLY
|
|
||||||
$(LANG)%.seb: $(LANG)%.$(FRANK_EXT) $(LANG)%.atts
|
$(LANG)%.seb: $(LANG)%.$(FRANK_EXT) $(LANG)%.atts
|
||||||
${ESDK_CREATESEB_EXE} $<
|
${ESDK_CREATESEB_EXE} $<
|
||||||
cp $< $<.saved
|
cp $< $<.saved
|
||||||
|
@ -165,8 +165,6 @@ $(LANG)%.atts: #recreate it each time based on params
|
||||||
echo '_LCAT|nosign+global|"CONTENT"' >> $@
|
echo '_LCAT|nosign+global|"CONTENT"' >> $@
|
||||||
echo '_PERM|global+read-only|"r"' >> $@
|
echo '_PERM|global+read-only|"r"' >> $@
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
# the files to export for byod
|
# the files to export for byod
|
||||||
byodbins: table.bin values.bin frankspecials.bin info.txt
|
byodbins: table.bin values.bin frankspecials.bin info.txt
|
||||||
|
|
||||||
|
@ -175,7 +173,8 @@ else
|
||||||
ifeq ($(TARGET_TYPE),WINCE)
|
ifeq ($(TARGET_TYPE),WINCE)
|
||||||
|
|
||||||
### WINCE section here ###
|
### WINCE section here ###
|
||||||
all: $(LANG)2to8.xwd
|
all: $(LANG)2to8.xwd
|
||||||
|
../mkxwdcab.pl -f $<
|
||||||
|
|
||||||
else
|
else
|
||||||
(Need to define TARGET_TYPE if get error pointing to this line)
|
(Need to define TARGET_TYPE if get error pointing to this line)
|
||||||
|
@ -184,7 +183,7 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (s$(TARGET_TYPE),s)
|
ifeq (s$(TARGET_TYPE),s)
|
||||||
It's an error not to specify a TARGET_TYPE
|
echo "It\'s an error not to specify a TARGET_TYPE"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
@ -260,13 +259,13 @@ allbins:
|
||||||
|
|
||||||
table.bin: ../xloc.pl
|
table.bin: ../xloc.pl
|
||||||
ifdef NEWDAWG
|
ifdef NEWDAWG
|
||||||
perl -I../ ../xloc.pl -tn > $@
|
perl -I../ ../xloc.pl -tn $@
|
||||||
else
|
else
|
||||||
perl -I../ ../xloc.pl -t > $@
|
perl -I../ ../xloc.pl -t $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
values.bin: ../xloc.pl
|
values.bin: ../xloc.pl
|
||||||
perl -I../ ../xloc.pl -v > $@
|
perl -I../ ../xloc.pl -v $@
|
||||||
|
|
||||||
%.dict: %.dict.gz
|
%.dict: %.dict.gz
|
||||||
zcat $< > $@
|
zcat $< > $@
|
||||||
|
@ -278,5 +277,3 @@ clean_common:
|
||||||
help:
|
help:
|
||||||
@echo "make TARGET_TYPE=[FRANK|PALM]"
|
@echo "make TARGET_TYPE=[FRANK|PALM]"
|
||||||
|
|
||||||
test:
|
|
||||||
@echo $(LANGUAGE)
|
|
||||||
|
|
Loading…
Reference in a new issue