summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/cupsdconf2/Makefile.am
blob: 434af6a3c959232e371c4bb37d32b46a26b61486 (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
#$Id$

INCLUDES= -I$(top_srcdir) -I$(top_srcdir)/kio -I$(top_srcdir)/kfile $(all_includes)

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = cupsdconf.la

# library creation
cupsdconf_la_SOURCES = cupsdconf.cpp cupsddialog.cpp cupsdpage.cpp cupsdcomment.cpp cupsdsplash.cpp \
			  cupsdserverpage.cpp cupsdlogpage.cpp cupsdjobspage.cpp cupsdfilterpage.cpp \
			  qdirlineedit.cpp cupsddirpage.cpp portdialog.cpp cupsdnetworkpage.cpp \
			  editlist.cpp cupsdbrowsingpage.cpp browsedialog.cpp cupsdsecuritypage.cpp \
			  locationdialog.cpp addressdialog.cpp cups-util.c \
			  qdirmultilineedit.cpp sizewidget.cpp main.cpp
cupsdconf_la_METASOURCES = AUTO
cupsdconf_la_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_RPATH)
cupsdconf_la_LIBADD = $(LIB_KIO) $(LIB_CUPS) $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE)

noinst_HEADERS = cupsdconf.h cupsdpage.h cupsddialog.h cupsdcomment.h cupsdsplash.h \
		 cupsdserverpage.h cupsdlogpage.h cupsdjobspage.h cupsdfilterpage.h \
		 qdirlineedit.h cupsddirpage.h portdialog.h cupsdnetworkpage.h \
		 editlist.h cupsdbrowsingpage.h browsedialog.h cupsdsecuritypage.h \
		 locationdialog.h addressdialog.h cups-util.h qdirmultilineedit.h \
		 sizewidget.h

# Data
cupsdconfdata_DATA = kde_logo.png cups_logo.png cupsd.conf.template
cupsdconfdatadir   = $(kde_datadir)/tdeprint

# Translations
messages:
	perl cupsdcomment.pl < cupsd.conf.template > cupsd.conf.template.txt
	$(XGETTEXT) *.cpp -o $(podir)/cupsdconf.pot
	rm -f cupsd.conf.template.txt