minimalistic_server_SOURCES = minimalistic-server.cpp minimalistic-server-stub.cpp minimalistic-stub.cpp
noinst_PROGRAMS = minimalistic_client minimalistic_server
+
+all-local: minimalistic-server.xml
+
+minimalistic-server.xml: minimalistic-server.cpp
+ gccxml $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) minimalistic-server.cpp -fxml=minimalistic-server.xml
***************************************************************************/
#include <string>
-#include <stdexcept>
-
#include "minimalistic-stub.hxx"
#include <socket_server.hxx>
using namespace std;
-LIBT2N_EXPORT string testfunc(const string& str)
+LIBT2N_EXPORT_GROUP(example) string testfunc(const string& str)
{
string ret;
if (str=="throw")
#include <t2n_exception.hxx>
#include <command.hxx>
-#ifdef _GCCXML__
+#ifdef __GCCXML__
#define LIBT2N_EXPORT __attribute((gccxml("libt2n")))
+#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group)))
#else
#define LIBT2N_EXPORT
+#define LIBT2N_EXPORT_GROUP(group)
#endif
class cmd_group_example : public libt2n::command