summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 1dbc0f03d62a1acf37d7864765a5182f82425ccd (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# A list of all the files in the current directory which can be regenerated
MAINTAINERCLEANFILES = Makefile.in				

INCLUDES          = -I/usr/X11R6/include $(X_CFLAGS) \
                    -I$(prefix)/include -I$(includedir) \
                    -I. -I$(top_srcdir)/src \
                    -I/usr/local/include/libpng \
                    -DPREFIX=\""$(prefix)"\" \
                    @IMLIB_CFLAGS@ @GIBLIB_CFLAGS@
LIBOBJS = @LIBOBJS@

bin_PROGRAMS      = feh
feh_SOURCES       = main.c getopt.c getopt1.c getopt.h feh.h \
options.c options.h winwidget.c winwidget.h menu.c menu.h structs.h \
filelist.c filelist.h multiwindow.c imlib.c index.c slideshow.c \
utils.c utils.h keyevents.c timers.c timers.h list.c collage.c debug.h \
events.c events.h support.c support.h transupp.c transupp.h \
thumbnail.c thumbnail.h ipc.c ipc.h md5.c md5.h feh_png.c feh_png.h \
jpegint.h

feh_LDADD         = -lX11 -lz -lpng @IMLIB_LIBS@ @GIBLIB_LIBS@

images_DATA = about.png menubg_default.png menubg_sky.png \
menubg_chrome.png menubg_brushed.png \
menubg_pastel.png menubg_aluminium.png menubg_aqua.png \
menubg_wood.png menubg_black.png

imagesdir=$(prefix)/share/feh/images
EXTRA_DIST = $(images_DATA)

test:
	@for i in test[0-9]* ; do \
	  if test -x $$i ; then \
	    echo "Executing test script $$i..." ; \
	    ./$$i ; \
	  fi ; \
	done

testclean:
	-rm -f _test*.jpg

SUBDIRS = ttfonts