mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
fix to generate .sis package again
This commit is contained in:
parent
6bac32e716
commit
8d3472ab1e
1 changed files with 31 additions and 52 deletions
|
@ -2,27 +2,21 @@
|
||||||
|
|
||||||
# The braindead build system doesn't remove object files from these
|
# The braindead build system doesn't remove object files from these
|
||||||
# dirs. So add to the clean target manually
|
# dirs. So add to the clean target manually
|
||||||
COMMON_OBJ_DIR = $(EPOC)/BUILD/CYGWIN$(shell pwd)/xwords/symbian/group/common/armi/urel
|
# COMMON_OBJ_DIR = $(EPOC)/BUILD/CYGWIN$(shell pwd)/xwords/symbian/group/common/armi/urel
|
||||||
XWORDS_OBJ_DIR = $(EPOC)/BUILD/CYGWIN$(shell pwd)/xwords/symbian/group/XWORDS/armi/urel
|
# XWORDS_OBJ_DIR = $(EPOC)/BUILD/CYGWIN$(shell pwd)/xwords/symbian/group/XWORDS/armi/urel
|
||||||
|
|
||||||
|
|
||||||
# SRC = \
|
|
||||||
# ../src/helloworldbasic.cpp \
|
|
||||||
# ../src/helloworldbasicapplication.cpp \
|
|
||||||
# ../src/helloworldbasicappui.cpp \
|
|
||||||
# ../src/helloworldbasicappview.cpp \
|
|
||||||
# ../src/helloworldbasicdocument.cpp \
|
|
||||||
|
|
||||||
# INC = \
|
|
||||||
# ../inc/helloworldbasic.hrh \
|
|
||||||
# ../inc/helloworldbasic.pan \
|
|
||||||
# ../inc/helloworldbasicapplication.h \
|
|
||||||
# ../inc/helloworldbasicappui.h \
|
|
||||||
# ../inc/helloworldbasicappview.h \
|
|
||||||
# ../inc/helloworldbasicdocument.h \
|
|
||||||
|
|
||||||
# BLDMAKE_FLAGS = -v
|
# BLDMAKE_FLAGS = -v
|
||||||
|
|
||||||
|
# There are no rules for building these puppies -- the symbian build
|
||||||
|
# system does that. But they'd better exist by the time we get to the
|
||||||
|
# .pkg target.
|
||||||
|
SISFILES = \
|
||||||
|
$(EPOC)/release/armi/urel/xwords.APP \
|
||||||
|
$(EPOC)\\data/z/system/apps/xwords/xwords.rsc \
|
||||||
|
$(EPOC)\\data/z/system/apps/xwords/xwords.aif \
|
||||||
|
$(EPOC)\\data/z/system/apps/xwords/xwords.mbm \
|
||||||
|
../../dawg/English/BasEnglish2to8.xwd \
|
||||||
|
|
||||||
all: wins
|
all: wins
|
||||||
|
|
||||||
ABLD.BAT:
|
ABLD.BAT:
|
||||||
|
@ -31,33 +25,25 @@ ABLD.BAT:
|
||||||
wins: ABLD.BAT
|
wins: ABLD.BAT
|
||||||
$< build $(BLDMAKE_FLAGS) wins udeb
|
$< build $(BLDMAKE_FLAGS) wins udeb
|
||||||
|
|
||||||
armi_bld: ABLD.BAT
|
armi: ABLD.BAT
|
||||||
$< build $(BLDMAKE_FLAGS) armi urel
|
$< build $(BLDMAKE_FLAGS) armi urel
|
||||||
|
|
||||||
# armi:
|
|
||||||
# bldmake $(BLDMAKE_FLAGS) bldfiles
|
|
||||||
# abLD.BAT build $(BLDMAKE_FLAGS) armi udeb
|
|
||||||
|
|
||||||
# depends on wins because that's where the .aif file gets built
|
# depends on wins because that's where the .aif file gets built
|
||||||
sis: wins armi_bld xwords.pkg
|
sis: wins armi xwords.pkg
|
||||||
makesis xwords.pkg
|
makesis -v xwords.pkg
|
||||||
|
|
||||||
xwords.pkg:
|
# If this xwords.pkg target generates errors -- especially the &EN
|
||||||
@echo '; xwords.pkg' | tr -d '\r' > $@
|
# part -- you're probably running symbian's make instead of cygwin's.
|
||||||
@echo ';' | tr -d '\r' >> $@
|
# Try invoking this Makefile with /usr/bin/make explicitly:
|
||||||
@echo ';Language - standard language definitions' | tr -d '\r' >> $@
|
# /usr/bin/make sis
|
||||||
@echo '&EN' | tr -d '\r' >> $@
|
xwords.pkg: Makefile $(SISFILES)
|
||||||
@echo '' | tr -d '\r' >> $@
|
rm -f $@
|
||||||
@echo '; standard SIS file header' | tr -d '\r' >> $@
|
@echo "&EN" | tr -d '\r' >> $@
|
||||||
@echo '#{"Crosswords"},(0x10206D64),1,0,0' | tr -d '\r' >> $@
|
@echo '#{"Crosswords"},(0x10206D64),1,0,0' | tr -d '\r' >> $@
|
||||||
@echo '' | tr -d '\r' >> $@
|
@for f in $(SISFILES); do \
|
||||||
@echo ';' | tr -d '\r' >> $@
|
bname=$$(basename "$$f"); \
|
||||||
@echo \"$(EPOC)\\release\\armi\\urel\\xwords.APP\"-\"C:\\system\\apps\\xwords\\xwords.app\" | tr '/' '\\' >> $@
|
echo \"$$f\"-\"C:\\system\\apps\\xwords\\$$bname\" >> $@; \
|
||||||
@echo \"$(EPOC)data/z/system/apps/xwords/xwords.rsc\"-\"C:\\system\\apps\\xwords\\xwords.rsc\" | tr '/' '\\' >> $@
|
done
|
||||||
@echo \"../../../dawg/English/BasEnglish2to8.xwd\"-\"C:\\system\\apps\\xwords\\BasEnglish2to8.xwd\" | tr '/' '\\' >> $@
|
|
||||||
|
|
||||||
#"..\..\..\epoc32\data\z\system\apps\HelloWorldBasic\HelloWorldBasic.rsc"-"C:\system\apps\HelloWorldBasic\HelloWorldBasic.rsc"
|
|
||||||
|
|
||||||
|
|
||||||
# build project files for M$ VC++ version 6, e.g. for source-level
|
# build project files for M$ VC++ version 6, e.g. for source-level
|
||||||
# debugging
|
# debugging
|
||||||
|
@ -65,18 +51,11 @@ vc6:
|
||||||
makmake.exe xwords vc6
|
makmake.exe xwords vc6
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f xwords.SIS
|
rm -f xwords.SIS xwords.pkg
|
||||||
rm -f $(COMMON_OBJ_DIR)/*.o
|
rm -f $(COMMON_OBJ_DIR)/*.o
|
||||||
rm -f $(XWORDS_OBJ_DIR)/*.o
|
rm -f $(XWORDS_OBJ_DIR)/*.o
|
||||||
abLD.BAT clean wins udeb
|
if [ -f abLD.BAT ]; then \
|
||||||
abLD.BAT clean armi udeb
|
./abLD.BAT clean wins udeb; \
|
||||||
|
./abLD.BAT clean armi udeb; \
|
||||||
|
fi
|
||||||
bldmake $(BLDMAKE_FLAGS) clean
|
bldmake $(BLDMAKE_FLAGS) clean
|
||||||
|
|
||||||
# all: ./ABLD.BAT $(SRC)
|
|
||||||
# (PATH=$$(echo $$(echo $$PATH | sed -e 's/\/usr\/local\/bin:\/usr\/bin:\/usr\/bin://'):/usr/local/bin:/usr/bin:/usr/bin); \
|
|
||||||
# ./ABLD.BAT build wins udeb)
|
|
||||||
|
|
||||||
|
|
||||||
# ./ABLD.BAT: helloworldbasic.mmp Makefile
|
|
||||||
# (PATH=$$(echo $$(echo $$PATH | sed -e 's/\/usr\/local\/bin:\/usr\/bin:\/usr\/bin://'):/usr/local/bin:/usr/bin:/usr/bin); \
|
|
||||||
# bldmake bldfiles)
|
|
||||||
|
|
Loading…
Reference in a new issue