blob: cdec05d5e9ad56224c70cacf0a1265e3e1904de8 (
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
|
SUBDIRS = graphics
METASOURCES = AUTO
INCLUDES = $(all_includes)
check_PROGRAMS = sun_test stationdatabase_test metar_parser_test
bin_PROGRAMS = kweatherservice
lib_LTLIBRARIES =
kdeinit_LTLIBRARIES = kweatherreport.la
kde_module_LTLIBRARIES = weather_panelapplet.la kcm_weather.la kcm_weatherservice.la
sun_test_SOURCES = sun_test.cpp sun.cpp
sun_test_LDFLAGS = $(all_libraries)
sun_test_LDADD = -lqt-mt
stationdatabase_test_SOURCES = stationdatabase_test.cpp stationdatabase.cpp
stationdatabase_test_LDFLAGS = $(all_libraries)
stationdatabase_test_LDADD = -lqt-mt -lkdecore
metar_parser_test_SOURCES = metar_parser_test.cpp metar_parser.cpp\
stationdatabase.cpp sun.cpp
metar_parser_test_LDFLAGS = $(all_libraries)
metar_parser_test_LDADD = -lqt-mt -lkdecore
weather_panelapplet_la_SOURCES = reportview.cpp kweather.cpp dockwidget.cpp \
weatherIface.skel weatherservice.stub \
weatherbutton.cpp
weather_panelapplet_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries)
weather_panelapplet_la_LIBADD = $(LIB_KHTML) $(LIB_QT) -lDCOP
appletdir = $(kde_datadir)/kicker/applets
applet_DATA = kweather.desktop
stationdir = $(kde_datadir)/kweatherservice
station_DATA = stations.dat
kcm_weather_la_SOURCES = kcmweather.cpp prefdialogdata.ui weatherservice.stub
kcm_weather_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) \
-avoid-version -no-undefined
kcm_weather_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO)
kcm_weatherservice_la_SOURCES = kcmweatherservice.cpp serviceconfigwidget.cpp \
serviceconfigdata.ui weatherservice.stub
kcm_weatherservice_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) \
-avoid-version -no-undefined
kcm_weatherservice_la_LIBADD = $(LIB_KDEUI)
#weather_sidebar_la_SOURCES = sidebarwidgetbase.ui sidebarwidget.cpp dockwidget.cpp weatherbar.cpp weatherbar.skel
#weather_sidebar_la_LDFLAGS = $(all_libraries) -module -no-undefined
#weather_sidebar_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE) -lkonqsidebarplugin
#globalentrydir = $(kde_datadir)/konqsidebartng/entries
#globalentry_DATA = weatherbar.desktop
#globaladddir = $(kde_datadir)/konqsidebartng/add
#globaladd_DATA = weatherbar_add.desktop
kweatherservice_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kweatherservice_LDADD = $(LIB_KIO)
kweatherservice_SOURCES = main.cpp metar_parser.cpp weatherlib.cpp \
weatherservice.cpp weatherservice.skel \
stationdatabase.cpp sun.cpp weatherservice.stub
service_DATA = kweatherservice.desktop
servicedir = $(kde_servicesdir)
kde_services_DATA = kcmweather.desktop kcmweatherservice.desktop
kweatherreport_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
kweatherreport_la_LIBADD = $(LIB_KHTML) reportview.lo $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) -lDCOP
kweatherreport_la_SOURCES = reportmain.cpp weatherservice.stub
KDE_ICON = kweather
kweatherdatadir = $(kde_datadir)/kweatherservice
kweatherdata_DATA = weather_stations.desktop
messages: rc.cpp
$(EXTRACTRC) *.ui > rc.cpp
$(XGETTEXT) rc.cpp *.cpp *.h -o $(podir)/kweather.pot
rm -f rc.cpp
|