summaryrefslogtreecommitdiffstats
path: root/kdpkg/Makefile.am
blob: 0b9b0571f2c45feeed5926f3714af3d39abfad9e (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) -lkio
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