aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-01 04:07:11 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-01 04:07:11 +0000
commita9e6d3699d6072adb28956bcc8e31ebd501618f8 (patch)
tree89c92c8811f6811377a320bde29e56ac1211987b /src
parent378b0cef0f72b3f761bfb3e8b1707d02d0d0eba9 (diff)
win32: added program icon.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@701 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am13
-rw-r--r--src/icons/Makefile.am1
-rw-r--r--src/icons/sylpheed.icobin0 -> 3638 bytes
3 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c3fafdb4..10c5d1b5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -105,13 +105,24 @@ INCLUDES = \
-I$(includedir) \
-I$(top_srcdir)/libsylph
+if HAVE_WINDRES
+SYLPHEED_RES = sylpheed.res
+sylpheed.rc:
+ echo "SYLPHEED ICON icons/sylpheed.ico" >$@
+sylpheed.res: sylpheed.rc
+ $(WINDRES) $< -O coff -o $@
+else
+SYLPHEED_RES =
+endif
+
sylpheed_LDADD = \
$(INTLLIBS) \
$(GTK_LIBS) \
$(GPGME_LIBS) \
$(LDAP_LIBS) \
$(LIBICONV) \
- ../libsylph/libsylph.la
+ ../libsylph/libsylph.la \
+ $(SYLPHEED_RES)
AM_CPPFLAGS = \
-DLOCALEDIR=\""$(localedir)"\" \
diff --git a/src/icons/Makefile.am b/src/icons/Makefile.am
index 3a4cca6c..e18cf8a8 100644
--- a/src/icons/Makefile.am
+++ b/src/icons/Makefile.am
@@ -68,6 +68,7 @@ EXTRA_DIST = \
ldap.xpm \
vcard.xpm \
mail.xpm \
+ sylpheed.ico \
$(BUILT_SOURCES)
%.h: %.png
diff --git a/src/icons/sylpheed.ico b/src/icons/sylpheed.ico
new file mode 100644
index 00000000..286f90ff
--- /dev/null
+++ b/src/icons/sylpheed.ico
Binary files differ