Also rename sd-dns -> sd-resolv.
/test-device-nodes
/test-dhcp-client
/test-dhcp-option
/test-device-nodes
/test-dhcp-client
/test-dhcp-option
/test-ellipsize
/test-engine
/test-env-replace
/test-ellipsize
/test-engine
/test-env-replace
make-directive-index.py \
xml_helper.py
make-directive-index.py \
xml_helper.py
-# ------------------------------------------------------------------------------
-noinst_LTLIBRARIES += \
- libsystemd-dns.la
-
-libsystemd_dns_la_SOURCES = \
- src/systemd/sd-dns.h \
- src/libsystemd/sd-dns.c \
- src/libsystemd/dns-util.h
-
-libsystemd_dns_la_LIBADD = \
- libsystemd-shared.la
-
-libsystemd_dns_la_CFLAGS = \
- -pthread
-
-test_dns_SOURCES = \
- src/libsystemd/test-dns.c \
- src/systemd/sd-dns.h
-
-test_dns_LDADD = \
- libsystemd-dns.la
-
-test_dns_LDFLAGS = \
- -lresolv \
- -pthread
-
-tests += \
- test-dns
-
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-shared.la
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-shared.la
src/systemd/sd-event.h \
src/systemd/sd-dhcp-client.h \
src/systemd/sd-rtnl.h \
src/systemd/sd-event.h \
src/systemd/sd-dhcp-client.h \
src/systemd/sd-rtnl.h \
+ src/systemd/sd-resolv.h \
src/libsystemd/sd-bus.c \
src/libsystemd/bus-control.c \
src/libsystemd/bus-control.h \
src/libsystemd/sd-bus.c \
src/libsystemd/bus-control.c \
src/libsystemd/bus-control.h \
src/libsystemd/rtnl-internal.h \
src/libsystemd/rtnl-message.c \
src/libsystemd/rtnl-util.h \
src/libsystemd/rtnl-internal.h \
src/libsystemd/rtnl-message.c \
src/libsystemd/rtnl-util.h \
- src/libsystemd/rtnl-util.c
+ src/libsystemd/rtnl-util.c \
+ src/libsystemd/sd-resolv.c \
+ src/libsystemd/resolv-util.h
nodist_libsystemd_la_SOURCES = \
src/libsystemd/bus-error-mapping.c
nodist_libsystemd_la_SOURCES = \
src/libsystemd/bus-error-mapping.c
libsystemd_la_CFLAGS = \
$(AM_CFLAGS) \
libsystemd_la_CFLAGS = \
$(AM_CFLAGS) \
libsystemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
libsystemd_la_LDFLAGS = \
$(AM_LDFLAGS) \
test-event \
test-dhcp-option \
test-dhcp-client \
test-event \
test-dhcp-option \
test-dhcp-client \
+ test-rtnl \
+ test-resolv
libsystemd-id128-internal.la \
libsystemd-shared.la
libsystemd-id128-internal.la \
libsystemd-shared.la
+test_resolv_SOURCES = \
+ src/systemd/sd-resolv.h \
+ src/libsystemd/test-resolv.c
+
+test_resolv_LDADD = \
+ libsystemd-internal.la \
+ libsystemd-shared.la
+
+test_resolv_CFLAGS = \
+ $(AM_CFLAGS) \
+ -pthread
+
busctl_SOURCES = \
src/libsystemd/busctl.c
busctl_SOURCES = \
src/libsystemd/busctl.c
#include <pthread.h>
#include <sys/prctl.h>
#include <pthread.h>
#include <sys/prctl.h>
#include "util.h"
#define MAX_WORKERS 16
#include "util.h"
#define MAX_WORKERS 16
#include <signal.h>
#include <errno.h>
#include <signal.h>
#include <errno.h>
-#include "sd-dns.h"
-#include "dns-util.h"
+#include "sd-resolv.h"
+#include "resolv-util.h"
#include "macro.h"
int main(int argc, char *argv[]) {
#include "macro.h"
int main(int argc, char *argv[]) {
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foosddnshfoo
-#define foosddnshfoo
+#ifndef foosdresolvhfoo
+#define foosdresolvhfoo
/***
This file is part of systemd.
/***
This file is part of systemd.