summaryrefslogtreecommitdiffstats
path: root/amor/Makefile.am
blob: 09c91cd08485446d4ec051e42e500ed406eab411 (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

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# claim, which subdirectories you want to install
SUBDIRS = data

####### This part is very amor specific
# you can add here more. This one gets installed 
bin_PROGRAMS = 	amor

# Which sources should be compiled for amor.
amor_SOURCES	= amordialog.cpp amor.cpp amorwidget.cpp main.cpp amoranim.cpp amorpm.cpp\
                  amorbubble.cpp amorconfig.cpp amortips.cpp AmorIface.skel

include_HEADERS = AmorIface.h

# the library search path
amor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor

# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
amor_LDADD  = $(LIB_KDEUI)

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = amor.h amorwidget.h amoranim.h amorpm.h amordialog.h\
                 amorbubble.h amorconfig.h amortips.h

METASOURCES = AUTO

messages: 
	perl ./preparetips > tips.cpp
	$(XGETTEXT) tips.cpp *.cpp -o $(podir)/amor.pot
	rm -f tips.cpp

xdg_apps_DATA = amor.desktop

KDE_ICON = amor