diff -r 000000000000 -r 3da2a79470a7 testexecmgmt/ucc/BinInternal/rpcgen/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testexecmgmt/ucc/BinInternal/rpcgen/Makefile Mon Mar 08 15:04:18 2010 +0800 @@ -0,0 +1,42 @@ +########################################################################## +# +# Makefile for ... +# +########################################################################## + +########################################################################## +# +# Definitions +# +########################################################################## +TARGET= ../../../../BuildTools/rpcgen.3gne.linux +CFLAGS= -g -Wall -DWIN32_TARGET +INCLUDES= -I..\rpc +OBJECTS= rpc_clnt.o \ + rpc_cout.o \ + rpc_hout.o \ + rpc_main.o \ + rpc_pars.o \ + rpc_scan.o \ + rpc_svco.o \ + rpc_util.o \ + ae_component_rpc.o + +LIBS= -lpthread + +########################################################################## +# +# Rules +# +########################################################################## +$(TARGET): $(OBJECTS) + gcc $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) + +%.o: %.c + gcc $(CFLAGS) $(INCLUDES) -c $< -o $@ + +%.o: %.cpp + g++ $(CFLAGS) $(INCLUDES) -c $< -o $@ + +clean: + rm -r -f $(TARGET) *.o *~