summaryrefslogtreecommitdiffstats
path: root/kmag/Makefile.am
blob: a4387d27ad00888444c6bbac27da01e173f7b5c9 (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
bin_PROGRAMS = kmag

## INCLUDES were found outside tdevelop specific part

kmag_SOURCES = kmagzoomview.cpp kmagselrect.cpp kmag.cpp main.cpp 
kmag_LDADD   = $(LIB_TDEPRINT)


EXTRA_DIST = main.cpp version.h kmag.cpp kmag.h kmagui.rc kmag.desktop lo32-app-kmag.png lo16-app-kmag.png kmagselrect.cpp kmagselrect.h hi16-app-kmag.png kmagzoomview.cpp kmagzoomview.h 

uninstall-local:
	-rm -f $(DESTDIR)$(kde_appsdir)/Applications/kmag.desktop

KDE_ICON = kmag 

kmagdir = $(kde_appsdir)/Applications
kmag_DATA = kmag.desktop

kmagiconsdir = $(kde_datadir)/kmag/icons
kmagicons_ICON = followmouse hidemouse window

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

METASOURCES = AUTO

KDE_OPTIONS = nofinal

# the library search path. 
kmag_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor

rcdir = $(kde_datadir)/kmag
rc_DATA = kmagui.rc

messages: rc.cpp
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/kmag.pot; \
	fi