summaryrefslogtreecommitdiff
path: root/src/grp-locale/systemd-localed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-locale/systemd-localed/Makefile')
-rw-r--r--src/grp-locale/systemd-localed/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/grp-locale/systemd-localed/Makefile b/src/grp-locale/systemd-localed/Makefile
index de38bb8576..e353bad200 100644
--- a/src/grp-locale/systemd-localed/Makefile
+++ b/src/grp-locale/systemd-localed/Makefile
@@ -25,10 +25,12 @@ include $(topsrcdir)/build-aux/Makefile.head.mk
ifneq ($(ENABLE_LOCALED),)
systemd_localed_SOURCES = \
- src/locale/localed.c
+ src/locale/localed.c \
+ src/locale/keymap-util.c \
+ src/locale/keymap-util.h
systemd_localed_LDADD = \
- libshared.la \
+ libsystemd-shared.la \
-ldl
systemd_localed_CFLAGS = \
@@ -63,6 +65,18 @@ dist_pkgdata_DATA = \
src/locale/kbd-model-map \
src/locale/language-fallback-map
+test_keymap_util_SOURCES = \
+ src/locale/test-keymap-util.c \
+ src/locale/keymap-util.c \
+ src/locale/keymap-util.h
+
+test_keymap_util_LDADD = \
+ libsystemd-shared.la \
+ -ldl
+
+tests += \
+ test-keymap-util
+
endif # ENABLE_LOCALED
.PHONY: update-kbd-model-map