You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kdpkg/kdpkg-install/Makefile.am

33 lines
980 B

# 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