]> www.fi.muni.cz Git - evince.git/blobdiff - shell/Makefile.am
Add evince icon to the win32 executable
[evince.git] / shell / Makefile.am
index 987d215f43353711412abd1af145e975e3539b52..16f30340428adc118b4c479ce1d7f3fcb67bc173 100644 (file)
@@ -62,14 +62,14 @@ evince_SOURCES=                             \
        ev-navigation-action-widget.h   \
        ev-password-view.h              \
        ev-password-view.c              \
-       ev-print-operation.h            \
-       ev-print-operation.c            \
        ev-progress-message-area.h      \
        ev-progress-message-area.c      \
        ev-properties-dialog.c          \
        ev-properties-dialog.h          \
        ev-properties-fonts.c           \
        ev-properties-fonts.h           \
+       ev-properties-license.c         \
+       ev-properties-license.h         \
        ev-open-recent-action.c         \
        ev-open-recent-action.h         \
        ev-utils.c                      \
@@ -111,6 +111,13 @@ evince_LDADD=                                                                              \
        $(top_builddir)/libmisc/libevmisc.la                                            \
        $(SHELL_LIBS)
 
+if PLATFORM_WIN32
+evince_LDADD += evince-icon.o
+
+evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico
+       $(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o
+endif
+
 BUILT_SOURCES = ev-marshal.h ev-marshal.c
 
 if ENABLE_DBUS
@@ -147,6 +154,7 @@ endif
 EXTRA_DIST = ev-marshal.list           \
        ev-application-service.xml      \
        ev-daemon-service.xml           \
+       evince-icon.rc                  \
        $(EV_MEDIA_PLAYER_KEYS_SOURCES)
 
 
@@ -166,3 +174,5 @@ ev-application-service.h: $(srcdir)/ev-application-service.xml
 
 ev-daemon-service.h: $(srcdir)/ev-daemon-service.xml
        $(AM_V_GEN)dbus-binding-tool --prefix=ev_daemon --mode=glib-server --output=ev-daemon-service.h $(srcdir)/ev-daemon-service.xml
+
+-include $(top_srcdir)/git.mk