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

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

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

# the application source, library search path, and link libraries
kdpkg_install_SOURCES = main.cpp install.cpp installdialog.ui process.cpp  console.cpp consoledialog.ui
kdpkg_install_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdeio
kdpkg_install_LDADD = $(LIB_TDEUI)


# application
xdg_apps_DATA = kdpkg-install.desktop
bin_PROGRAMS = kdpkg-install

sharedir = $(pkgdatadir)
install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(sharedir)
	cp -aR $(srcdir)/icons $(DESTDIR)$(sharedir)/
	cp -aR $(srcdir)/sh $(DESTDIR)$(sharedir)/



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