Don't enable COMMS_HEARTBEAT for wince either; copy .cab file to www

path if shell variable set.
This commit is contained in:
ehouse 2009-12-27 19:03:17 +00:00
parent 7ac98bfcfb
commit 378d02f1f5

View file

@ -56,7 +56,8 @@ HAVE_COMMCTRL = 1
ifeq ($(TARGET_OS),wince)
#SMS = -DXWFEATURE_SMS
RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
RELAY = -DXWFEATURE_RELAY
#RELAY = -DXWFEATURE_RELAY -DCOMMS_HEARTBEAT
# IPDIRECT = -DXWFEATURE_IP_DIRECT
# BLUETOOTH = -DXWFEATURE_BLUETOOTH
CC = ${CE_ARCH}-gcc
@ -275,9 +276,15 @@ bmps/%.bmp: bmps/%.pgm
CAB: $(TARGET) $(DLLS)
$(STRIP) $<
(cd $(BUILTDIR); PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<))
(cd $(BUILTDIR); \
PATH=../../scripts:$$PATH exe2cab.pl $(notdir $<); \
[ -n "$$XW_WWW_PATH" ] && cp $(subst exe,cab,$(notdir $<)) \
$$XW_WWW_PATH \
)
for DLL in $(notdir $(DLLS)); do \
(cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL); \
(cd $(BUILTDIR); PATH=../../scripts:$$PATH dll2cab.pl $$DLL; \
[ -n "$$XW_WWW_PATH" ] && cp $$DLL $$XW_WWW_PATH; \
); \
done
SHIP: $(TARGET)