summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/Makefile.am
blob: da42d8d01b02b9ebe61b410ed979053d12befc87 (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
SUBDIRS = pics

bin_PROGRAMS = kimagemapeditor
kde_module_LTLIBRARIES = libkimagemapeditor.la

METASOURCES = AUTO

noinst_LTLIBRARIES = libkimagemapeditorcommon.la

libkimagemapeditorcommon_la_SOURCES = \
    qextfileinfo.cpp \
    areacreator.cpp \
    kimearea.cpp \
    kimecommands.cpp \
    kimedialogs.cpp \
    kimagemapeditor.cpp \
    drawzone.cpp \
    arealistview.cpp \
    imageslistview.cpp \
    mapslistview.cpp 

CLEANFILES = dummy.cpp
libkimagemapeditor_la_SOURCES = \
    dummy.cpp

kimagemapeditor_SOURCES = \
    main.cpp \
    kimeshell.cpp 
    

noinst_HEADERS = \
	qextfileinfo.h \
	areacreator.h \
	kimearea.h \
	kimecommands.h \
	kimedialogs.h \
	kimagemapeditor.h \
	drawzone.h \
        kimeshell.h


libkimagemapeditor_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -lDCOP
libkimagemapeditor_la_LIBADD = libkimagemapeditorcommon.la $(LIB_TDEFILE) $(LIB_TDEPARTS) $(LIB_TDEHTML)

kimagemapeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio -ltdeparts -lDCOP
kimagemapeditor_LDADD = libkimagemapeditorcommon.la $(LIB_TDEFILE) $(LIB_TDEPARTS) $(LIB_TDEHTML)

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

xdg_apps_DATA = kimagemapeditor.desktop

rcdir = $(kde_datadir)/kimagemapeditor
rc_DATA = kimagemapeditorui.rc \
          kimagemapeditorpartui.rc

kde_services_DATA = kimagemapeditorpart.desktop

messages: rc.cpp
	LIST=`find . -name \*.h -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)/kimagemapeditor.pot; \
	fi

dummy.cpp:
	echo > dummy.cpp