Add a rule to create layouts.h (using gdk-pixbuf-csource

in a similar manner as done in Makefile.am)

(On my Windows 7 system gdk-pixbuf-csource gives an error
message about "...Couldn't recognize the image file format...".
Let's see what happens in the Windows buildbots).

svn path=/trunk/; revision=47165
This commit is contained in:
Bill Meier 2013-01-19 16:39:28 +00:00
parent 21453d5db6
commit 3026b7c324
1 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,14 @@ WIRESHARK_LIBGTKUI_OBJECTS = \
libgtkui.lib: ..\..\config.h $(WIRESHARK_LIBGTKUI_OBJECTS)
link /lib /out:libgtkui.lib $(WIRESHARK_LIBGTKUI_OBJECTS) winmm.lib
layouts.h:
echo /* This file was automatically generated. DO NOT EDIT. */ > $@
echo. $@
for %n in (1 2 3 4 5 6) do \
gdk-pixbuf-csource --raw --name=layout_%n_pb_data ../../image/layout_%n.png >> $@
# The shell script runs slowly, as multiple greps and seds are run
# for each input file; this is especially slow on Windows. Therefore,
# if Python is present (as indicated by PYTHON being defined), we run