summaryrefslogtreecommitdiff
path: root/pkg/wince/GNUmakefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/wince/GNUmakefile.am')
-rw-r--r--pkg/wince/GNUmakefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/wince/GNUmakefile.am b/pkg/wince/GNUmakefile.am
new file mode 100644
index 00000000..e710e679
--- /dev/null
+++ b/pkg/wince/GNUmakefile.am
@@ -0,0 +1,12 @@
+
+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 $< $@
+