This commit is contained in:
Ren RenJuan 2014-01-11 20:42:13 +00:00
parent 217548873e
commit 45bf8b12ec
2 changed files with 33 additions and 2 deletions

View File

@ -5,6 +5,14 @@ LOCATION=authoring
CC=g++
Cc=gcc
#
# To build apig-cli, you must first build the server
# and put it in operation at port used here because part
# of the client is generated using xml-rpc-api2cpp.
#
MD_URL= http://localhost:4243/RPC2
##### Set this to the location of the executables/objects to be produced
BUILD_OBJ_DIR = build
@ -31,6 +39,7 @@ CLFLAGS= -Wall -Wundef -Wpointer-arith -Wshadow \
ACOBJS= build/cliever.o build/cdLogger.o build/clientDaemonConfig.o \
build/clientDaemon.o build/commander.o build/mdBehavior.o
# --- targets
#
@ -42,7 +51,25 @@ cliever: build/$(CLIENT)-cd
.c.o:
$(Cc) -c $(CLFLAGS) -o $<
client/mdClientBehavior.cpp:
xml-rpc-api2cpp $(MD_URL) "behavior" mdClientBehavior >client/mdClientBehavior
bin/after client/mdClientBehavior mdClientBehavior\.cc >client/mdClientBehavior.cpp
bin/before client/mdClientBehavior mdClientBehavior\.cc >include/mdClientBehavior.h
rm src/client/mdClientBehavior
client/mdClientDevice.cpp:
xml-rpc-api2cpp $(MD_URL) "device" mdClientDevice >client/mdClientDevice
bin/after client/mdClientDevice mdClientDevice\.cc >client/mdClientDevice.cpp
bin/before client/mdClientDevice mdClientDevice\.cc >include/mdClientDevice.h
rm src/client/mdClientDevice
client/mdClientState.cpp:
xml-rpc-api2cpp $(MD_URL) "state" mdClientState >client/mdClientState
bin/after client/mdClientState mdClientState\.cc >client/mdClientState.cpp
bin/before client/mdClientState mdClientState\.cc >include/mdClientState.h
rm src/client/mdClientState
build/cdLogger.o: client/cdLogger.cpp include/cdLogger.h
$(CC) $(CFLAGS) client/cdLogger.cpp -c -o build/cdLogger.o $(SINCL)

8
README
View File

@ -4,6 +4,8 @@
- AusRegEPPTK - Unmodified and working 1.3.2 toolkit.
binary: libAusRegEPPTK.so
- ACTK1_0 - Modified working version of above.
binary: libACTK1_0.so
@ -21,10 +23,12 @@
boost 1.49
xmlrpc-c/c++
xmlrpc-api-utils
swig
msgpack
The EPP toolkit and some uses of XMLRPC also have
dependencies.
The EPP toolkit also has dependencis.
The full stack is only need for MD derivative
development.
The git repo mirrors my Eclipse project.