Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-11-11 19:30:07 +0000
committerEugene Tarassov2011-11-11 19:30:07 +0000
commita25d270e7bec349347448167d48a7ebc8353e79c (patch)
tree84e656b045971f94ef7d1c42b3872320be121e5c /examples/org.eclipse.tcf.examples.daytime.agent
parent8f1f41787a594fe56e8237de3296fb1532a407b7 (diff)
downloadorg.eclipse.tcf-a25d270e7bec349347448167d48a7ebc8353e79c.tar.gz
org.eclipse.tcf-a25d270e7bec349347448167d48a7ebc8353e79c.tar.xz
org.eclipse.tcf-a25d270e7bec349347448167d48a7ebc8353e79c.zip
Fixed TCF package names in import statements.
Diffstat (limited to 'examples/org.eclipse.tcf.examples.daytime.agent')
-rw-r--r--examples/org.eclipse.tcf.examples.daytime.agent/Makefile6
-rw-r--r--examples/org.eclipse.tcf.examples.daytime.agent/tcf/config.h2
-rw-r--r--examples/org.eclipse.tcf.examples.daytime.agent/tcf/main/services-ext.h2
-rw-r--r--examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.c (renamed from examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.c)10
-rw-r--r--examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.h (renamed from examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.h)4
5 files changed, 12 insertions, 12 deletions
diff --git a/examples/org.eclipse.tcf.examples.daytime.agent/Makefile b/examples/org.eclipse.tcf.examples.daytime.agent/Makefile
index 76b098864..d9a121eb2 100644
--- a/examples/org.eclipse.tcf.examples.daytime.agent/Makefile
+++ b/examples/org.eclipse.tcf.examples.daytime.agent/Makefile
@@ -1,4 +1,4 @@
-TCF_AGENT_DIR=../../../org.eclipse.tcf.agent
+TCF_AGENT_DIR=../../../org.eclipse.tcf.agent/agent
include $(TCF_AGENT_DIR)/Makefile.inc
@@ -15,8 +15,8 @@ $(BINDIR)/libtcf$(EXTLIB) : $(OFILES)
$(AR) -rc $@ $^
$(RANLIB)
-$(BINDIR)/agent$(EXTEXE): $(BINDIR)/main/main$(EXTOBJ) $(BINDIR)/libtcf$(EXTLIB)
- $(CC) $(CFLAGS) -o $@ $(BINDIR)/main/main$(EXTOBJ) $(BINDIR)/libtcf$(EXTLIB) $(LIBS)
+$(BINDIR)/agent$(EXTEXE): $(BINDIR)/tcf/main/main$(EXTOBJ) $(BINDIR)/libtcf$(EXTLIB)
+ $(CC) $(CFLAGS) -o $@ $(BINDIR)/tcf/main/main$(EXTOBJ) $(BINDIR)/libtcf$(EXTLIB) $(LIBS)
$(BINDIR)/%$(EXTOBJ): %.c $(HFILES) Makefile
@$(call MKDIR,$(dir $@))
diff --git a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/config.h b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/config.h
index d2bb543a3..b4ba0cb72 100644
--- a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/config.h
+++ b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/config.h
@@ -24,7 +24,7 @@
#ifndef D_config
#define D_config
-#include <framework/mdep.h>
+#include <tcf/framework/mdep.h>
#if defined(WIN32) || defined(__CYGWIN__)
# define TARGET_UNIX 0
diff --git a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/main/services-ext.h b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/main/services-ext.h
index 35d154256..00083d39a 100644
--- a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/main/services-ext.h
+++ b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/main/services-ext.h
@@ -19,7 +19,7 @@
* a customized version of services-ext.h file can be added to compiler headers search paths.
*/
-#include "daytime.h"
+#include <tcf/services/daytime.h>
static void ini_ext_services(Protocol * proto, TCFBroadcastGroup * bcg) {
ini_daytime_service(proto);
diff --git a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.c b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.c
index 745d081c2..c4108038e 100644
--- a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.c
+++ b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.c
@@ -17,12 +17,12 @@
* Sample TCF service implementation.
*/
-#include <config.h>
+#include <tcf/config.h>
#include <time.h>
-#include <framework/json.h>
-#include <framework/errors.h>
-#include <framework/exceptions.h>
-#include <daytime.h>
+#include <tcf/framework/json.h>
+#include <tcf/framework/errors.h>
+#include <tcf/framework/exceptions.h>
+#include <tcf/services/daytime.h>
static const char * DAYTIME = "Daytime";
diff --git a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.h b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.h
index 99e11cb2e..492544d76 100644
--- a/examples/org.eclipse.tcf.examples.daytime.agent/tcf/daytime.h
+++ b/examples/org.eclipse.tcf.examples.daytime.agent/tcf/services/daytime.h
@@ -20,8 +20,8 @@
#ifndef DAYTIME_H_
#define DAYTIME_H_
-#include <config.h>
-#include <framework/protocol.h>
+#include <tcf/config.h>
+#include <tcf/framework/protocol.h>
extern void ini_daytime_service(Protocol * proto);

Back to the top