📄 makefile
字号:
# Makefile to build EPOCHTTP (using Symbian ABLD etc)
#
# Copyright (C) SWelcom 2004
# Created by Kenneth Falck <kennu@swelcom.fi>
#
# This file is part of EPOCHTTP.
#
# EPOCHTTP is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# EPOCHTTP is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with EPOCHTTP; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
VERSION = 0.1
# Default target: build SIS package
all: sis
# Build Windows emulator debug version
win:
abld build wins udeb
# Build real device release version
rel:
abld build armi urel
# Build release version and create SIS package
sis: rel
makesis HttpServer.pkg HttpServer.sis
# Delete intermediate files
clean:
abld clean
# Install with IrDA
install inst i:
irftp C:\SF\epochttp\httpserver\HttpServer.sis
# Install with Dell Bluetooth on kennu's 3650
bt bluetooth:
"C:\Program Files\Dell\Bluetooth Software\btsendto_explorer.exe" -BD_ADDR=00:60:57:5d:62:8e -BD_NAME=Kennu3650 -DEV_CLASS=04163142 C:\SF\epochttp\httpserver\HttpServer.sis
# Copy the missing rsg file, This is some bug in the Symbian toolchain that sometimes can't copy the file.
rsg:
cmd /c copy HttpServer.rs~ \\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\HttpServer.rsg
# Convert BMP bitmaps to mbm
mbm:
bmconv HttpServer.mbm HttpServer_42x29i.bmp HttpServer_42x29m.bmp HttpServer_44x44i.bmp HttpServer_44x44m.bmp
# Make dist package, using cygwin tools on Windows
dist:
-mkdir ../releases/$(VERSION)
rm -f ../releases/$(VERSION)/httpserver-$(VERSION).zip
rm -f ../releases/$(VERSION)/httpserver-$(VERSION).sis
rm -rf temp
mkdir temp
mkdir temp/httpserver-$(VERSION)
-cp * temp/httpserver-$(VERSION)
cd temp && zip -r ../../releases/$(VERSION)/httpserver-$(VERSION).zip httpserver-$(VERSION) && cd ..
rm -rf temp
cp HttpServer.sis ../releases/$(VERSION)/httpserver-$(VERSION).sis
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -