summaryrefslogtreecommitdiffstats
path: root/kdpkg/Makefile.am
blob: 7f07640cba0445b3f7a376e00af6cdc47708cb83 (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
# set the include path for X, qt and KDE
AM_CPPFLAGS = $(all_includes)

# these are the headers for your project
noinst_HEADERS = kdpkg.h

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

# the application source, library search path, and link libraries
kdpkg_SOURCES = main.cpp kdpkg.cpp kdpkgdialog.ui process.cpp
kdpkg_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kdpkg_LDADD = $(LIB_KDEUI)


# application
xdg_apps_DATA = kdpkg.desktop
bin_PROGRAMS = kdpkg

sharedir = $(pkgdatadir)


# translation
messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kdpkg.pot