Move GResolv source file sinto GWeb directory
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 4 Oct 2010 16:08:49 +0000 (18:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 4 Oct 2010 16:08:49 +0000 (18:08 +0200)
Makefile.am
gweb/gresolv.c [moved from gresolv/gresolv.c with 100% similarity]
gweb/gresolv.h [moved from gresolv/gresolv.h with 100% similarity]
gweb/gweb.c
src/wpad.c
tools/resolv-test.c
tools/wpad-test.c

index 4551dce..4e6ecf1 100644 (file)
@@ -28,9 +28,7 @@ gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
 
 gdhcp_sources = gdhcp/gdhcp.h gdhcp/common.h gdhcp/common.c gdhcp/client.c
 
-gresolv_sources = gresolv/gresolv.h gresolv/gresolv.c
-
-gweb_sources = gweb/gweb.h gweb/gweb.c
+gweb_sources = gweb/gweb.h gweb/gweb.c gweb/gresolv.h gweb/gresolv.c
 
 gsupplicant_sources = gsupplicant/gsupplicant.h gsupplicant/dbus.h \
                        gsupplicant/supplicant.c gsupplicant/dbus.c
@@ -60,7 +58,7 @@ noinst_PROGRAMS =
 
 sbin_PROGRAMS = src/connmand
 
-src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) $(gresolv_sources) \
+src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
                        $(gweb_sources) $(builtin_sources) src/connman.ver \
                        src/main.c src/connman.h src/log.c src/selftest.c \
                        src/error.c src/plugin.c src/task.c src/element.c \
@@ -143,13 +141,13 @@ tools_supplicant_test_SOURCES = $(gdbus_sources) tools/supplicant-test.c \
                        tools/supplicant.h tools/supplicant.c
 tools_supplicant_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
 
-tools_web_test_SOURCES = $(gresolv_sources) $(gweb_sources) tools/web-test.c
+tools_web_test_SOURCES = $(gweb_sources) tools/web-test.c
 tools_web_test_LDADD = @GLIB_LIBS@ -lresolv
 
-tools_resolv_test_SOURCES = $(gresolv_sources) tools/resolv-test.c
+tools_resolv_test_SOURCES = $(gweb_sources) tools/resolv-test.c
 tools_resolv_test_LDADD = @GLIB_LIBS@ -lresolv
 
-tools_wpad_test_SOURCES = $(gresolv_sources) tools/wpad-test.c
+tools_wpad_test_SOURCES = $(gweb_sources) tools/wpad-test.c
 tools_wpad_test_LDADD = @GLIB_LIBS@ -lresolv
 
 tools_dhcp_test_SOURCES = $(gdhcp_sources) tools/dhcp-test.c
similarity index 100%
rename from gresolv/gresolv.c
rename to gweb/gresolv.c
similarity index 100%
rename from gresolv/gresolv.h
rename to gweb/gresolv.h
index cf6c714..39f8ecf 100644 (file)
@@ -32,8 +32,7 @@
 #include <sys/socket.h>
 #include <arpa/inet.h>
 
-#include <gresolv/gresolv.h>
-
+#include "gresolv.h"
 #include "gweb.h"
 
 struct web_session {
index b224d92..e10b275 100644 (file)
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <gresolv/gresolv.h>
+#include <gweb/gresolv.h>
 
 #include "connman.h"
 
index d6919e9..7cb2f6f 100644 (file)
@@ -28,7 +28,7 @@
 #include <string.h>
 #include <signal.h>
 
-#include <gresolv/gresolv.h>
+#include <gweb/gresolv.h>
 
 static GTimer *timer;
 
index a78fd5d..b127489 100644 (file)
@@ -29,7 +29,7 @@
 #include <string.h>
 #include <signal.h>
 
-#include <gresolv/gresolv.h>
+#include <gweb/gresolv.h>
 
 static GTimer *timer;