summaryrefslogtreecommitdiffstats
path: root/kjsembed/Makefile.am
blob: a2743ae8ec01d01955c42255b46a12ac2cb763f8 (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
# -*- makefile -*-
AM_CXXFLAGS = -frtti

# Make sure the include path includes Qt's uilib
INCLUDES = -I$(QTDIR)/tools/designer/uilib -I$(srcdir)/.. $(all_includes)

INCLUDES += -DQT_NO_ASCII_CAST

SUBDIRS = bindings builtins qtbindings . plugin plugins tdescript stdlib cpptests docs

lib_LTLIBRARIES = libkjsembed.la
bin_PROGRAMS	= kjscmd

libkjsembed_la_METASOURCES = AUTO
libkjsembed_la_SOURCES = jsconsolewidget.cpp kjsembedpart.cpp jsobjectproxy.cpp \
	slotutils.cpp jsproxy.cpp slotproxy.cpp jsbinding.cpp jssecuritypolicy.cpp \
	xmlactionclient.cpp jsfactory.cpp kjsembedpart_imp.cpp jsobjectproxy_imp.cpp \
	customobject_imp.cpp jsvalueproxy_imp.cpp jsvalueproxy.cpp jsobjecteventproxy.cpp \
	jseventmapper.cpp jsbuiltin.cpp jsproxy_imp.cpp jsfactory_imp.cpp jsbuiltin_imp.cpp \
	jsopaqueproxy.cpp jsopaqueproxy_imp.cpp jseventutils.cpp jsbindingplugin.cpp \
	ksimpleprocess.cpp global.cpp jsbuiltinproxy.cpp

kjsembedincludedir = $(includedir)/kjsembed
kjsembedinclude_HEADERS =	jsconsolewidget.h \
				kjsembedpart.h \
				jsobjectproxy.h \
				slotutils.h \
				jsproxy.h \
				slotproxy.h \
				jsbinding.h \
				jssecuritypolicy.h \
				xmlactionclient.h \
				jsfactory.h \
				kjsembedpart_imp.h \
				jsobjectproxy_imp.h \
				customobject_imp.h \
				jsvalueproxy_imp.h \
				jsvalueproxy.h \
				jsobjecteventproxy.h \
				jseventmapper.h \
				jsbuiltin.h \
				jsproxy_imp.h \
				jsfactory_imp.h \
				jsbuiltin_imp.h \
				jsopaqueproxy.h \
				jsopaqueproxy_imp.h \
				jseventutils.h \
				jsbindingplugin.h \
				global.h

libkjsembed_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_KJS)

libkjsembed_la_LIBADD = bindings/libkjsembedbindings.la \
			builtins/libkjsembedbuiltins.la \
			qtbindings/libkjsembedqtbindings.la \
			-ltqui \
			$(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) \
			$(LIB_TDEFILE) $(LIB_TDEHTML) -lkjs $(LIBSOCKET)

kjscmd_SOURCES =	kjscmd.cpp
kjscmd_LDFLAGS =	$(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_KJS)
kjscmd_LDADD =		libkjsembed.la

man_MANS =		kjscmd.1

xdg_apps_DATA =  kjscmd.desktop

plugintypedir = $(kde_servicetypesdir)
plugintype_DATA = binding_type.desktop

changes:
	cvs2cl	--ignore 'ChangeLog' \
		--prune --day-of-week \
		--hide-filenames --no-wrap \
		--stdout | grep -v 'CCMAIL' > docs/ChangeLog

srcdoc:
	$(kde_bindir)/kdoc -a -p -d classdocs -n 'KJSEmbed' *.h -lqt -ltdecore -ltdeui

srcdox:
	doxygen -u Doxyfile

tidytildes:
	rm -f *~



noinst_HEADERS = jsbindingbase.h