From 9541ceb22b5ecd525e16a318b95329a38240a7a4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 Apr 2006 21:51:00 +0000 Subject: add utf8 validity check API (based on the glib's implementation and hence mostly identical to DBUS's implementation) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1201 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/Makefile.am | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'avahi-common/Makefile.am') diff --git a/avahi-common/Makefile.am b/avahi-common/Makefile.am index c786954..cd21c11 100644 --- a/avahi-common/Makefile.am +++ b/avahi-common/Makefile.am @@ -48,7 +48,8 @@ noinst_PROGRAMS = \ alternative-test \ timeval-test \ watch-test \ - watch-test-thread + watch-test-thread \ + utf8-test endif lib_LTLIBRARIES = \ @@ -65,7 +66,8 @@ libavahi_common_la_SOURCES = \ simple-watch.c simple-watch.h \ thread-watch.c thread-watch.h \ watch.h gccmacro.h \ - rlist.h rlist.c + rlist.h rlist.c \ + utf8.c utf8.h libavahi_common_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) libavahi_common_la_LIBADD = $(AM_LDADD) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) @@ -82,14 +84,16 @@ alternative_test_SOURCES = \ malloc.c malloc.h \ domain.c domain.h \ address.c address.h \ - alternative-test.c + alternative-test.c \ + utf8.c utf8.h alternative_test_CFLAGS = $(AM_CFLAGS) domain_test_SOURCES = \ domain.c domain.h \ malloc.c malloc.h \ address.c address.h \ - domain-test.c + domain-test.c \ + utf8.c utf8.h domain_test_CFLAGS = $(AM_CFLAGS) watch_test_SOURCES = \ @@ -111,6 +115,12 @@ timeval_test_SOURCES = \ timeval_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) timeval_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) +utf8_test_SOURCES = \ + utf8-test.c \ + utf8.c utf8.h +utf8_test_CFLAGS = $(AM_CFLAGS) +utf8_test_LDADD = $(AM_LDADD) + if HAVE_DBUS noinst_HEADERS = \ -- cgit