summaryrefslogtreecommitdiff
path: root/pkg/wince
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wince')
-rw-r--r--pkg/wince/GNUmakefile15
-rw-r--r--pkg/wince/GNUmakefile.am12
2 files changed, 15 insertions, 12 deletions
diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile
new file mode 100644
index 00000000..b6acc3b8
--- /dev/null
+++ b/pkg/wince/GNUmakefile
@@ -0,0 +1,15 @@
+
+include ../config.make
+
+DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE))
+EXECUTABLES=$(filter %.exe, $(DEPS))
+CONFIG_FILE=wince-cab.cfg
+OUTPUT_FILE=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).cab
+
+$(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)
+ $(STRIP) $(EXECUTABLES)
+ ./wince-cabgen $< $@
+
+clean:
+ rm -f $(OUTPUT_FILE)
+
diff --git a/pkg/wince/GNUmakefile.am b/pkg/wince/GNUmakefile.am
deleted file mode 100644
index e710e679..00000000
--- a/pkg/wince/GNUmakefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-
-DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE))
-CONFIG_FILE=wince-cab.cfg
-OUTPUT_FILE=@PACKAGE_TARNAME@-@PACKAGE_VERSION@.cab
-
-EXTRA_DIST=wince-cabgen $(CONFIG_FILE)
-
-noinst_DATA = $(OUTPUT_FILE)
-
-$(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)
- ./wince-cabgen $< $@
-