source: filezilla/trunk/fuentes/src/interface/resources/Makefile.am @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 3.2 KB
Line 
1SUBDIRS = 16x16 32x32 cyril blukis flatzilla lone minimal opencrystal sun tango
2
3CLEANFILES = filezilla.o
4
5resourcesdir = $(pkgdatadir)/resources
6dist_resources_DATA = \
7        defaultfilters.xml \
8        down.png \
9        dropdown.png \
10        finished.wav \
11        leds.png \
12        theme.xml \
13        up.png
14
15xrcdir = $(pkgdatadir)/resources/xrc
16dist_xrc_DATA = \
17        xrc/certificate.xrc \
18        xrc/dialogs.xrc \
19        xrc/inputdialog.xrc \
20        xrc/menus.xrc \
21        xrc/netconfwizard.xrc \
22        xrc/quickconnectbar.xrc \
23        xrc/settings.xrc \
24        xrc/sitemanager.xrc \
25        xrc/toolbar.xrc \
26        xrc/update.xrc
27
28resources20dir = $(pkgdatadir)/resources/20x20
29dist_resources20_DATA = 20x20/unknown.png
30
31resources24dir = $(pkgdatadir)/resources/24x24
32dist_resources24_DATA = 24x24/unknown.png
33
34resources48dir = $(pkgdatadir)/resources/48x48
35dist_resources48_DATA = 48x48/filezilla.png \
36                        48x48/speedlimits.png
37
38if USE_RESOURCEFILE
39nodist_noinst_DATA = filezilla.o
40
41filezilla.o: $(srcdir)/filezilla.rc $(srcdir)/windows_manifest.xml version.rc
42        @if [ -f $@~ ]; then rm $@~; fi
43        @WINDRES@ --include-dir=. --include-dir=$(srcdir) $(WINDRESFLAGS) $(srcdir)/filezilla.rc -D GNU_WINDRES -D HAS_VERSIONRC $@~ || rm $@~
44        @if [ -f $@ ]; then rm $@; fi
45        mv $@~ $@
46endif
47
48dist_noinst_DATA = filezilla.rc FileZilla.ico \
49                FileZilla.icns MacInfo.plist.in \
50                version.rc.in windows_manifest.xml
51
52if MACAPPBUNDLE
53mac-copy-resources: $(dist_resources_DATA)
54        cp MacInfo.plist $(top_builddir)/FileZilla.app/Contents/Info.plist
55        cp $(srcdir)/FileZilla.icns $(top_builddir)/FileZilla.app/Contents/Resources/FileZilla.icns
56
57        for i in $(dist_resources_DATA); \
58                do cp -f "$(srcdir)/$$i" "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources"; \
59        done
60        mkdir -p "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/xrc"
61        for i in $(dist_xrc_DATA); \
62                do cp -f "$(srcdir)/$$i" "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/xrc"; \
63        done
64        mkdir -p "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/20x20"
65        for i in $(dist_resources20_DATA); \
66                do cp -f "$(srcdir)/$$i" "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/20x20"; \
67        done
68        mkdir -p "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/24x24"
69        for i in $(dist_resources24_DATA); \
70                do cp -f "$(srcdir)/$$i" "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/24x24"; \
71        done
72        mkdir -p "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/48x48"
73        for i in $(dist_resources48_DATA); \
74                do cp -f "$(srcdir)/$$i" "$(top_builddir)/FileZilla.app/Contents/SharedSupport/resources/48x48"; \
75        done
76
77        $(MAKE) -C 16x16 mac-copy-resources
78        $(MAKE) -C 32x32 mac-copy-resources
79        $(MAKE) -C cyril mac-copy-resources
80        $(MAKE) -C blukis mac-copy-resources
81        $(MAKE) -C lone mac-copy-resources
82        $(MAKE) -C opencrystal mac-copy-resources
83        $(MAKE) -C tango mac-copy-resources
84endif
85
86pixmapsdir = $(datadir)/pixmaps
87pixmaps_DATA = 48x48/filezilla.png
88
89hicolorapps16dir = $(datadir)/icons/hicolor/16x16/apps
90hicolorapps16_DATA = 16x16/filezilla.png
91hicolorapps32dir = $(datadir)/icons/hicolor/32x32/apps
92hicolorapps32_DATA = 32x32/filezilla.png
93hicolorapps48dir = $(datadir)/icons/hicolor/48x48/apps
94hicolorapps48_DATA = 48x48/filezilla.png
95
96scalabledir = $(datadir)/icons/hicolor/scalable/apps
97dist_scalable_DATA = filezilla.svg
Note: See TracBrowser for help on using the repository browser.