summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/Makefile.am
blob: d9ccb32f3f9c468d626b69f88da79463359e71f8 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
## Makefile.am for KBabel catalogmanager

# this has all of the subdirectories that make will recurse into. If
# there are none, comment this out
SUBDIRS = libcvs libsvn icons

# this is the program that gets installed. Its name is used for all
# of the other Makefile.am variables
noinst_LTLIBRARIES = libcatalogmanager.la
bin_PROGRAMS = catalogmanager

# set the include path for X, qt and KDE. Let $(all_includes) be always last.
INCLUDES         = -I$(srcdir)/../common -I../common -I$(srcdir)/../kbabeldict \
-I$(srcdir)/../commonui -I../commonui -I./libsvn -I./libcvs \
-I$(srcdir)/libsvn -I$(srcdir)/libcvs $(all_includes)


# which sources should be compiled for kbabel
libcatalogmanager_la_SOURCES =	catalogmanageriface.skel \
			validationoptions.ui \
			catalogmanagerview.cpp \
			catalogmanager.cpp findinfilesdialog.cpp \
			catmanlistitem.cpp multiroughtransdlg.cpp validateprogresswidget.ui \
			validateprogress.cpp markpatternwidget.ui markpatterndialog.cpp


libcatalogmanager_la_LIBADD =  ../commonui/libkbabelcommonui.la \
../kbabeldict/libkbabeldict.la ./libcvs/libcatalogmanagercvs.la \
./libsvn/libcatalogmanagersvn.la $(LIB_TDEIO)
libcatalogmanager_la_LDFLAGS = $(all_libraries) -no-undefined $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)


catalogmanager_SOURCES = main.cpp

# the libraries to link against.
catalogmanager_LDADD   = libcatalogmanager.la
catalogmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)

# these are the headers for your project
noinst_HEADERS   = catalogmanageriface.h catalogmanager.h \
		   catalogmanagerview.h catalogmanagerapp.h findinfilesdialog.h \
		   catmanlistitem.h catmanresource.h multiroughtransdlg.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

rcdir = $(kde_datadir)/catalogmanager
rc_DATA = catalogmanagerui.rc


api:
	mkdir -p API && kdoc -d API -u $$PWD/API -p  -ltdeui -ltdecore -lqt -ldcop $(noinst_HEADERS)

distclean-local:
	rm -r -f API

KDE_ICON = AUTO

# this is where the kdelnk file will go
xdg_apps_DATA = catalogmanager.desktop

catalogmanager.lo: ../common/version.h
main.o: ../common/version.h