# -*- Makefile -*-
#
# @file  Makefile.UdRobotManager
# @brief RTComponent makefile for "UdRobotManager component"
# @date  $Date$
#
# This file is generated by rtc-template with the following argments.
#
#   rtc-template -bcxx --module-name=UdRobotManager 
#   --module-desc='control P3-DX' --module-version=1.0.0 --module-vendor=satoshi miyashita 
#   --module-category=operator --module-comp-type=STATIC 
#   --module-act-type=PERIODIC --module-max-inst=1 
#   --inport=inputRobotState:TimedFloatSeq --outport=outputRobotState:TimedFloatSeq 
#
#
# $Id$
#
CXXFLAGS = `rtm-config --cflags`
LDFLAGS  = `rtm-config --libs`
SHFLAGS  = -shared

IDLC     = `rtm-config --idlc`
IDLFLAGS = `rtm-config --idlflags` -I`rtm-config --prefix`/include/rtm/idl
WRAPPER  = rtm-skelwrapper
WRAPPER_FLAGS = --include-dir="" --skel-suffix=Skel --stub-suffix=Stub

SKEL_OBJ = 
STUB_OBJ = 
IMPL_OBJ = 
OBJS     = UdRobotManager.o $(SKEL_OBJ) $(IMPL_OBJ)

.SUFFIXES : .so

all: UdRobotManager.so UdRobotManagerComp

.cpp.o:
	rm -f $@
	$(CXX) $(CXXFLAGS) -c -o $@ $<

.o.so:
	rm -f $@
	$(CXX) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)

UdRobotManagerComp: UdRobotManagerComp.o $(OBJS)
	$(CXX) -o $@ $(OBJS) UdRobotManagerComp.o $(LDFLAGS) 


clean: clean_objs clean_skelstub
	rm -f *~

clean_objs:
	rm -f $(OBJS) UdRobotManagerComp.o UdRobotManager.so UdRobotManagerComp

clean_skelstub:
	rm -f *Skel.h *Skel.cpp
	rm -f *Stub.h *Stub.cpp



UdRobotManager.so: $(OBJS)
UdRobotManager.o: UdRobotManager.h 	 	
UdRobotManagerComp.o: UdRobotManagerComp.cpp UdRobotManager.cpp UdRobotManager.h 



# end of Makefile
