| 1 | SUBDIRS = m4 win32 code . icons po |
|---|
| 2 | |
|---|
| 3 | if HAVE_GNOME_DOC_UTILS |
|---|
| 4 | SUBDIRS += help |
|---|
| 5 | endif |
|---|
| 6 | |
|---|
| 7 | # Tell aclocal where to find `.m4' files. |
|---|
| 8 | ACLOCAL_AMFLAGS = -I m4 |
|---|
| 9 | |
|---|
| 10 | dist_man_MANS = gobby-0.5.1 |
|---|
| 11 | |
|---|
| 12 | bin_PROGRAMS = gobby-0.5 |
|---|
| 13 | |
|---|
| 14 | gobby_0_5_LDADD = \ |
|---|
| 15 | code/libgobby.a \ |
|---|
| 16 | code/commands/libgobby-commands.a \ |
|---|
| 17 | code/commands/file-tasks/libgobby-file-tasks.a \ |
|---|
| 18 | code/operations/libgobby-operations.a \ |
|---|
| 19 | code/dialogs/libgobby-dialogs.a \ |
|---|
| 20 | code/core/libgobby-core.a \ |
|---|
| 21 | code/util/libgobby-util.a \ |
|---|
| 22 | $(gobby_LIBS) \ |
|---|
| 23 | $(unique_LIBS) \ |
|---|
| 24 | $(infinote_LIBS) \ |
|---|
| 25 | $(LIBS) |
|---|
| 26 | |
|---|
| 27 | if WIN32 |
|---|
| 28 | gobby_0_5_LDADD += -lws2_32 |
|---|
| 29 | gobby_0_5_LDFLAGS = \ |
|---|
| 30 | -Wl,--enable-runtime-pseudo-reloc \ |
|---|
| 31 | -mwindows \ |
|---|
| 32 | win32/gobby.res |
|---|
| 33 | endif |
|---|
| 34 | |
|---|
| 35 | gobby_0_5_SOURCES = |
|---|
| 36 | |
|---|
| 37 | # .desktop file |
|---|
| 38 | if !WIN32 |
|---|
| 39 | desktopdir = $(datadir)/applications |
|---|
| 40 | desktop_in_files = gobby-0.5.desktop.in |
|---|
| 41 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) |
|---|
| 42 | endif |
|---|
| 43 | |
|---|
| 44 | clean-local: |
|---|
| 45 | -rm -rf gobby-0.5.desktop |
|---|
| 46 | |
|---|
| 47 | @INTLTOOL_DESKTOP_RULE@ |
|---|
| 48 | |
|---|
| 49 | # Dummy C++ source to cause C++ linking, otherwise some platforms don't link |
|---|
| 50 | # correctly against libstdc++. See also #399. Note that this file does not |
|---|
| 51 | # (need to) exist in the source tree. |
|---|
| 52 | nodist_EXTRA_gobby_0_5_SOURCES = dummy.cpp |
|---|
| 53 | |
|---|
| 54 | # Debian seems to need an XPM of the program icon, so we provide one here. |
|---|
| 55 | # It's currently not used for anything else, though. |
|---|
| 56 | EXTRA_DIST = gobby-0.5.xpm |
|---|
| 57 | |
|---|
| 58 | # For the manual |
|---|
| 59 | EXTRA_DIST += gnome-doc-utils.make gobby-0.5.desktop.in |
|---|
| 60 | DISTCLEANFILES = gnome-doc-utils.make |
|---|
| 61 | DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper |
|---|
| 62 | |
|---|