# -*- Makefile -*-
#
# @file  Makefile.DynamicInPortTest
# @brief RTComponent makefile for "DynamicInPortTest component"
# @date  $Date$
#
# This file is generated by rtc-template with the following argments.
#
#   rtc-template -bcxx --module-name=DynamicInPortTest 
#   --module-desc='DynamicInPort test component' --module-version=1.0.0 --module-vendor=TakeshiSasaki 
#   --module-category=example --module-comp-type=COMMUTATIVE 
#   --module-act-type=SPORADIC --module-max-inst=10 
#   --inport=InPortManip:TimedString --inport=StringData:DynamicInPort<TimedString> 
#
#
# $Id$
#
CXXFLAGS = `rtm-config --cflags` -I.
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     = DynamicInPortTest.o $(SKEL_OBJ) $(STUB_OBJ) $(IMPL_OBJ)

.SUFFIXES : .so

all: DynamicInPortTest.so DynamicInPortTestComp

.cpp.o:
	rm -f $@
	$(CXX) $(CXXFLAGS) -c -o $@ $<

.o.so:
	rm -f $@
	$(CXX) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)

DynamicInPortTestComp: DynamicInPortTestComp.o $(OBJS)
	$(CXX) -o $@ $(OBJS) DynamicInPortTestComp.o $(LDFLAGS) 


clean: clean_objs clean_skelstub
	rm -f *~

clean_objs:
	rm -f $(OBJS) DynamicInPortTestComp.o DynamicInPortTest.so DynamicInPortTestComp

clean_skelstub:
	rm -f *Skel.h *Skel.cpp
	rm -f *Stub.h *Stub.cpp



DynamicInPortTest.so: $(OBJS)
DynamicInPortTest.o: DynamicInPortTest.h 	 	
DynamicInPortTestComp.o: DynamicInPortTestComp.cpp DynamicInPortTest.cpp DynamicInPortTest.h 



# end of Makefile
