summaryrefslogtreecommitdiffstats
path: root/kdvi/Makefile.am
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/Makefile.am
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/Makefile.am')
-rw-r--r--kdvi/Makefile.am66
1 files changed, 66 insertions, 0 deletions
diff --git a/kdvi/Makefile.am b/kdvi/Makefile.am
new file mode 100644
index 00000000..dce4053a
--- /dev/null
+++ b/kdvi/Makefile.am
@@ -0,0 +1,66 @@
+# set the include path for X, qt and KDE
+INCLUDES= -I$(top_srcdir)/kviewshell \
+ -I$(top_builddir)/kviewshell \
+ $(all_includes) $(LIBFREETYPE_CFLAGS)
+# claim, which subdirectories you want to install
+SUBDIRS = . pix
+
+bin_PROGRAMS = kdvi
+
+# you can add here more. This one gets installed
+kde_module_LTLIBRARIES= kdvipart.la
+noinst_PROGRAMS = squeeze
+
+# just to make sure, automake makes them
+METASOURCES = AUTO
+
+kdvipart_la_SOURCES = renderedDviPagePixmap.cpp dviPageCache.cpp \
+ kdvi_multipage.cpp kdvi_multipage_texthandling.cpp \
+ dviRenderer.cpp bigEndianByteReader.cpp infodialog.cpp \
+ psheader.c dviRenderer_draw.cpp dviRenderer_prescan.cpp dviRenderer_export.cpp \
+ dviFile.cpp fontpool.cpp fontprogress.cpp psgs.cpp \
+ fontMap.cpp fontEncoding.cpp fontEncodingPool.cpp \
+ special.cpp util.cpp vf.cpp glyph.cpp \
+ optionDialogFontsWidget.cpp optionDialogFontsWidget_base.ui \
+ optionDialogSpecialWidget.cpp optionDialogSpecialWidget_base.ui \
+ TeXFont.cpp TeXFont_PK.cpp TeXFont_PFB.cpp TeXFont_TFM.cpp \
+ TeXFontDefinition.cpp dviWidget.cpp dvisourcesplitter.cpp \
+ prefs.kcfgc
+
+kde_kcfg_DATA = kdvi.kcfg
+
+kdvipart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
+kdvipart_la_LIBADD = $(LIBFREETYPE_LIBS) -lkparts \
+ $(top_builddir)/kviewshell/libkmultipage.la
+
+# Which sources should be compiled for squeeze.
+squeeze_SOURCES = squeeze.c
+
+KDE_OPTIONS = nofinal
+
+kdvi_SOURCES = main.cpp
+kdvi_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kdvi_LDADD = ../kviewshell/libifaces.la ../kviewshell/libkviewshell.la -lkparts
+
+## this option you can leave out. Just, if you use "make dist", you need it
+noinst_HEADERS = dvi.h dviRenderer.h xdvi.h
+
+messages: rc.cpp
+ $(PREPARETIPS) > tips.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kdvi.pot
+ rm -f tips.cpp
+
+xdg_apps_DATA = kdvi.desktop
+
+tip_DATA = tips
+tipdir = $(kde_datadir)/kdvi
+
+partdir = $(kde_datadir)/kdvi
+part_DATA = ../kviewshell/kviewshell.rc kdvi_part.rc
+
+kde_services_DATA = kdvimultipage.desktop
+
+psheader.c: psheader.txt squeeze
+ ./squeeze $(srcdir)/psheader.txt $@
+
+CLEANFILES = psheader.c