summaryrefslogtreecommitdiffstats
path: root/src/kile/Makefile.am
blob: 5257fff13c23d5b1309aca3d3c1361d70c28714a (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
####### tdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = kile

## INCLUDES were found outside tdevelop specific part


kile_SOURCES = latexcmd.cpp latexcmddialog.cpp texdocdialog.cpp userhelp.cpp \
	userhelpdialog.cpp floatdialog.cpp mathenvdialog.cpp tabulardialog.cpp \
	postscriptdialog.cpp previewconfigwidget.cpp quickpreview.cpp includegraphicsdialog.cpp \
	newfilewizard.cpp managetemplatesdialog.cpp templates.cpp usermenudialog.cpp \
	kileconfigdialog.cpp tabbingdialog.cpp symbolview.cpp quickdocumentdialog.cpp \
	kilefileselect.cpp kileapplication.cpp docpart.cpp kile.cpp main.cpp kileactions.cpp \
	kilestdactions.cpp kileinfo.cpp kiledocumentinfo.cpp kileproject.cpp kileprojectdlgs.cpp \
	kileprojectview.cpp kilelistselector.cpp kilelyxserver.cpp latexoutputfilter.cpp \
	outputinfo.cpp latexoutputinfo.cpp outputfilter.cpp kilegrepdialog.cpp kiletool.cpp \
	kilelauncher.cpp kiletoolmanager.cpp kilestdtools.cpp kilelogwidget.cpp \
	kileoutputwidget.cpp kilekonsolewidget.cpp kilewizard.cpp kilestructurewidget.cpp \
	codecompletion.cpp configcodecompletion.cpp kiletoolconfigwidget.cpp kileedit.cpp \
	cleandialog.cpp kilehelp.cpp configstructure.cpp kileappIface.skel convert.cpp \
	helpconfigwidget.ui kiledocmanager.cpp kileviewmanager.cpp kileeventfilter.cpp \
	latexconfigwidget.ui kileconfig.kcfgc generalconfigwidget.ui kileerrorhandler.cpp \
	configcheckerdlg.cpp configcheckerwidget.ui configtester.cpp kilesidebar.cpp \
	toolconfigwidget.ui librarytoolconfigwidget.ui processtoolconfigwidget.ui \
	quicktoolconfigwidget.ui plaintolatexconverter.cpp latextoolconfigwidget.ui newtoolwizard.ui \
	kileuntitled.cpp kilestatsdlg.cpp kilestatswidget.cpp envconfigwidget.ui \
	structureconfigwidget.ui previewwidget.cpp kilejscript.h kilejscript.cpp \
	scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h \
	editorkeysequencemanager.cpp scriptingconfigwidget.ui kileabbrevview.cpp kileextensions.cpp \
	kileversion.cpp graphicsconfigwidget.ui kilemultitabbar.cpp newdocumentwidget.ui\
	symbolviewconfig.ui

kile_LDADD   = -lkjs -ltdeprint -ltdetexteditor -lkatepartinterfaces $(LIB_KSPELL) $(LIB_KHTML) 

SUBDIRS = icons pics symbols templates syntax complete help encodings test

EXTRA_DIST = main.cpp kile.cpp kile.h \
	docpart.cpp docpart.h kileappIface.h kileapplication.cpp kileapplication.h kile.desktop kilefileselect.cpp 	kilefileselect.h kileui.rc docpartui.rc tdemultiverttabbar.cpp tdemultiverttabbar.h letterdialog.cpp letterdialog.h quickdocumentdialog.cpp quickdocumentdialog.h symbolview.cpp symbolview.h tabbingdialog.cpp tabbingdialog.h \
	kileconfigdialog.cpp kileconfigdialog.h usermenudialog.cpp \
	usermenudialog.h kileabbrevview.cpp kileabbrevview.h \
	newfilewizard.cpp newfilewizard.h templates.cpp templates.h managetemplatesdialog.cpp \
	managetemplatesdialog.h kileinfo.h kileinfo.cpp kilestdactions.cpp \
	kilestdactions.h kileproject.h kileproject.cpp kileprojectdlgs.cpp \
	kileprojectdlgs.h kileprojectview.cpp kileprojectview.h \
	kilelistselector.cpp kilelistselector.h kilelyxserver.cpp kilelyxserver.h \
	latexoutputfilter.cpp outputinfo.cpp latexoutputinfo.cpp \
	outputfilter.cpp latexoutputfilter.h outputinfo.h latexoutputinfo.h \
	includegraphicsdialog.h includegraphicsdialog.cpp kiletoolconfigwidget.cpp kiletoolconfigwidget.h outputfilter.h kilegrepdialog.cpp kilegrepdialog.h codecompletion.h codecompletion.cpp configcodecompletion.cpp configcodecompletion.h kileedit.cpp cleandialog.cpp kileedit.h cleandialog.h  kilehelp.cpp kilehelp.h configstructure.cpp configstructure.h configenvironment.h convert.h convert.cpp \
	kileconstants.h kilejscript.h kilejscript.cpp scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h editorkeysequencemanager.cpp kilemultitabbar.cpp kilemultitabbar.h  kilemultitabbar_p.h

xdg_apps_DATA = kile.desktop

kde_kcfg_DATA = kile.kcfg

KDE_ICON = AUTO

####### tdevelop will overwrite this part!!! (end)############
# These paths are KDE specific. Use them:
# kde_appsdir         Where your application's menu entry (.desktop) should go to.
# kde_icondir         Where your icon should go to - better use KDE_ICON.
# kde_sounddir        Where your sounds should go to.
# kde_htmldir         Where your docs should go to. (contains lang subdirs)
# kde_datadir         Where you install application data. (Use a subdir)
# kde_locale          Where translation files should go to. (contains lang subdirs)
# kde_cgidir          Where cgi-bin executables should go to.
# kde_confdir         Where config files should go to (system-wide ones with default values).
# kde_mimedir         Where mimetypes .desktop files should go to.
# kde_servicesdir     Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir      Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir    Where general wallpapers should go to.
# kde_templatesdir    Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir          Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir          Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir       Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir        Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir     Where Qt Designer plugins should go to (new in KDE 3).

# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

METASOURCES = AUTO

# the library search path.
kile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)

rcdir = $(kde_datadir)/kile
rc_DATA = kileui.rc docpartui.rc kilestdtools.rc tips

messages: rc.cpp
	$(PREPARETIPS) > tips.txt
	LIST=`find . -name \*.h -o -name \*.txt -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/kile.pot; \
	fi
	rm -f tips.txt

syntaxdir = $(kde_appsdir)/katepart/syntax
noinst_HEADERS = 	kilestatsdlg.h configcheckerdlg.h configtester.h convert.h \
	envconfigwidget.h kileconstants.h kiledebug.h kiledocmanager.h kileerrorhandler.h \
	kileeventfilter.h kilekonsolewidget.h kilelauncher.h kilelogwidget.h kilemultitabbar.h \
	kilemultitabbar_p.h kileoutputwidget.h kilesidebar.h kilestatswidget.h kilestdtools.h \
	kilestructurewidget.h kiletool.h kiletool_enums.h kiletoolmanager.h kileuntitled.h \
	kileversion.h kileviewmanager.h kilewizard.h latexconfigwidget.h \
	plaintolatexconverter.h structureconfigwidget.h

CREATE_HASH_TABLE = $(srcdir)/create_hash_table

kilejscript.lut.h : $(srcdir)/kilejscript.cpp $(CREATE_HASH_TABLE)
	$(PERL) $(CREATE_HASH_TABLE) $(srcdir)/kilejscript.cpp > $@
kilejscript.lo: kilejscript.lut.h

kilejscript.o: kilejscript.lut.h

LUT_FILES = kilejscript.lut.h

CLEANFILES = $(LUT_FILES)