aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 02184a95d9bd75c1c40a2f0acd1a5e2b5efaf590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# General compiler flags
AM_CFLAGS = -Wall -g $(DEPS_CFLAGS) $(MBAPP_CFLAGS)

# A convenience static library that contains the common GTK+ and X code.
noinst_LTLIBRARIES = libshot.la
libshot_la_SOURCES = \
	screenshot-utils.c screenshot-utils.h \
	screenshot-ui.c screenshot-ui.h

if WITH_MB_APPLET
# A matchbox-panel-2 applet
appletdir = $(libdir)/matchbox-panel
applet_LTLIBRARIES = libscreenshot.la
libscreenshot_la_SOURCES = applet.c
libscreenshot_la_LDFLAGS = -avoid-version
libscreenshot_la_LIBADD = libshot.la $(DEPS_LIBS) $(MBAPP_LIBS)

# The icon for the panel applet.
icondir = $(datadir)/pixmaps
icon_DATA = applet-screenshot.png
endif

# A standalone tool for running from a terminal and scripts
bin_PROGRAMS = screenshot
screenshot_SOURCES = main.c
screenshot_LDADD = libshot.la $(DEPS_LIBS)