blob: 7ac995b97b4a9ce28eb4b3faa6c20ded33318524 (
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
|
if have_xcursor
THEMEPAGE_SUBDIR = xcursor
THEMEPAGE_INCLUDES = -I$(srcdir)/xcursor
THEMEPAGE_LIB = xcursor/libthemepage.la
else
THEMEPAGE_SUBDIR = core
THEMEPAGE_INCLUDES = -I$(srcdir)/core
THEMEPAGE_LIB = core/libthemepage.la
endif
SUBDIRS = $(THEMEPAGE_SUBDIR) pics
AM_CPPFLAGS = $(USB_CFLAGS) $(THEMEPAGE_INCLUDES) $(all_includes)
bin_PROGRAMS = kapplymousetheme
kapplymousetheme_SOURCES = kapplymousetheme.cpp
kapplymousetheme_LDFLAGS = $(all_libraries)
kapplymousetheme_LDADD = $(LIB_XCURSOR) $(LIB_X11) $(LIB_QT)
kde_module_LTLIBRARIES = kcm_input.la
kcm_input_la_SOURCES = mouse.cpp kmousedlg.ui main.cpp logitechmouse.cpp logitechmouse_base.ui
kcm_input_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_input_la_LIBADD = $(THEMEPAGE_LIB) $(XTESTLIB) $(LIB_KIO) $(LIB_XCURSOR) $(USB_LIBS)
METASOURCES = AUTO
messages: rc.cpp
$(XGETTEXT) *.cpp */*.cpp -o $(podir)/kcminput.pot
xdg_apps_DATA = mouse.desktop
fontdir = $(kde_datadir)/kcminput
font_DATA = cursor_large_black.pcf.gz cursor_large_white.pcf.gz cursor_small_white.pcf.gz
EXTRA_DIST = $(font_DATA)
update_DATA = mouse_cursor_theme.upd
updatedir = $(kde_datadir)/kconf_update
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(datadir)/fonts/override
-mkfontdir $(DESTDIR)$(datadir)/fonts/override
##I'd like to install this automatically, but it only works on Linux, and I don't want to break things...
## $(INSTALL_DATA) $(srcdir)/consoleUserPerms $(DESTDIR)/etc/hotplug/usb/consoleUserPerms
## $(INSTALL_DATA) $(srcdir)/logitechmouse.usermap $(DESTDIR)/etc/hotplug/usb/logitechmouse.usermap
|