xwords/xwords4/symbian/group/Makefile

82 lines
2.6 KiB
Makefile
Raw Normal View History

2005-01-04 05:31:36 +01:00
# -*- mode: makefile; -*-
# The braindead build system doesn't remove object files from these
# dirs. So add to the clean target manually
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
2005-01-04 05:31:36 +01:00
# 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 \
2005-01-20 03:53:07 +01:00
# BLDMAKE_FLAGS = -v
2005-01-04 05:31:36 +01:00
all: wins
wins:
bldmake $(BLDMAKE_FLAGS) bldfiles
2005-01-09 19:37:22 +01:00
abLD.BAT build $(BLDMAKE_FLAGS) wins udeb
armi_bld:
bldmake $(BLDMAKE_FLAGS) bldfiles
abLD.BAT build $(BLDMAKE_FLAGS) armi urel
2005-01-04 05:31:36 +01:00
2005-01-13 02:55:12 +01:00
# armi:
# bldmake $(BLDMAKE_FLAGS) bldfiles
# abLD.BAT build $(BLDMAKE_FLAGS) armi udeb
2005-01-09 19:37:22 +01:00
# depends on wins because that's where the .aif file gets built
sis: wins armi_bld xwords.pkg
2005-01-09 19:37:22 +01:00
makesis xwords.pkg
xwords.pkg:
@echo '; xwords.pkg' | tr -d '\r' > $@
@echo ';' | tr -d '\r' >> $@
@echo ';Language - standard language definitions' | tr -d '\r' >> $@
@echo '&EN' | tr -d '\r' >> $@
@echo '' | tr -d '\r' >> $@
@echo '; standard SIS file header' | tr -d '\r' >> $@
@echo '#{"Crosswords"},(0x10206D64),1,0,0' | tr -d '\r' >> $@
@echo '' | tr -d '\r' >> $@
@echo ';' | tr -d '\r' >> $@
@echo \"$(EPOC)\\release\\armi\\urel\\xwords.APP\"-\"C:\\system\\apps\\xwords\\xwords.app\" | tr '/' '\\' >> $@
@echo \"$(EPOC)data/z/system/apps/xwords/xwords.rsc\"-\"C:\\system\\apps\\xwords\\xwords.rsc\" | tr '/' '\\' >> $@
@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"
2005-01-04 05:31:36 +01:00
# build project files for M$ VC++ version 6, e.g. for source-level
# debugging
vc6:
makmake.exe xwords vc6
clean:
2005-01-13 02:55:12 +01:00
rm -f xwords.SIS
rm -f $(COMMON_OBJ_DIR)/*.o
rm -f $(XWORDS_OBJ_DIR)/*.o
2005-01-04 05:31:36 +01:00
abLD.BAT clean wins udeb
abLD.BAT clean armi udeb
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)