summaryrefslogtreecommitdiffstats
path: root/kghostview/Makefile.am
blob: 072c6037372871a72dc3419fa3edb474e388b1cf (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
SUBDIRS = data

INCLUDES= $(all_includes) -I$(top_srcdir)/kghostview/dscparse

####### Files

bin_PROGRAMS = 	kghostview
lib_LTLIBRARIES = libkghostviewlib.la
kde_module_LTLIBRARIES = libkghostviewpart.la
noinst_LTLIBRARIES = libdscparse.la

libkghostviewlib_la_LDFLAGS = $(all_libraries)
libkghostviewlib_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) -ltdeprint libdscparse.la

libkghostviewpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
libkghostviewpart_la_LIBADD = libkghostviewlib.la

# Check "make final" after making changes to the following line!!
libkghostviewlib_la_SOURCES = kgvshell.cpp kgvdocument.cpp kgv_miniwidget.cpp \
	marklist.cpp logwindow.cpp infodialog.cpp \
	kgvpageview.cpp ps.c kgv_view.cpp scrollbox.cpp  kgvpagedecorator.cpp \
	kgvconfigdialog.cpp kgvmainwidget.cpp \
	kdscerrordialog.cpp displayoptions.cpp kpswidget.cpp \
	fullscreenfilter.cpp kgvfactory.cpp \
	generalsettingswidget.ui gssettingswidget.ui thumbnailservice.cpp \
	configuration.kcfgc

libkghostviewpart_la_SOURCES = part_init.cpp

kghostview_SOURCES = main.cpp
kghostview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kghostview_LDADD = libkghostviewlib.la

libdscparse_la_LDFLAGS = $(all_libraries) -no-undefined
libdscparse_la_LIBADD = $(LIB_QT)
libdscparse_la_SOURCES = $(top_srcdir)/kghostview/dscparse/dscparse.cpp $(top_srcdir)/kghostview/dscparse/dscparse_adapter.cpp

noinst_HEADERS =  marklist.h logwindow.h infodialog.h kgvshell.h \
	kpswidget.h kgvpageview.h ps.h kgv_miniwidget.h kgv_view.h scrollbox.h \
	kgvpagedecorator.h kgvconfigdialog.h kgvmainwidget.h $(top_srcdir)/kghostview/dscparse/dscparse.h \
	$(top_srcdir)/kghostview/dscparse/dscparse_adapter.h kdscerrordialog.h kgvdocument.h displayoptions.h \
	fullscreenfilter.h kgvfactory.h thumbnailservice.h

METASOURCES = AUTO
EXTRA_DIST = kghostview.desktop 

KDE_ICON = kghostview

xdg_apps_DATA = kghostview.desktop
kde_kcfg_DATA = kghostview.kcfg

partdir = $(kde_datadir)/kghostview
part_DATA = kgv_part.rc kghostviewui.rc

partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = kghostview_part.desktop

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kghostview.pot


updatedir = $(kde_datadir)/tdeconf_update
update_DATA = kghostview.upd
update_SCRIPTS = update-to-xt-names.pl

# check_PROGRAMS = testdsc

# testdsc_SOURCES = testdsc.cpp kdsc.cpp ps.c
# testdsc_LDADD = -lqt