]> git.buserror.net Git - polintos/scott/priv.git/blob - idlcomp/tests/Makefile
Initial checkin from Perforce.
[polintos/scott/priv.git] / idlcomp / tests / Makefile
1 all: system test
2
3 .PHONY: system
4 system: clean
5         rm -rf include/c++ server/c++ ifaces
6         $(IDLC) -o ifaces/system `find ../../idl -name '*.idl'` -s System
7         $(IDLC) -o include/c++ -l c++ -s System -i ifaces/system -t ppc
8         $(IDLC) -o server/c++ -l c++ -r -s System -i ifaces/system -t ppc cpp-server.cdl
9
10 test: system
11         g++ -Wall -c -g3 -O3 ../../lib/c++/orb.cc -o orb.o -I include/c++ -I ../../include/c++
12         g++ -Wall -g3 -O3 cpp-caller.cc orb.o -o cpp-caller -I include/c++ -I ../../include/c++ 
13         g++ -Wall -g3 -O3 cpp-server.cc orb.o -o cpp-server -I include/c++ -I ../../include/c++ 
14         g++ -Wall -g3 -O3 cpp-vstruct.cc orb.o -o cpp-vstruct -I include/c++ -I ../../include/c++ 
15
16 clean:
17         rm -rf include/c++ server/c++ ifaces
18         rm -f cpp-caller cpp-server *.o .gdb_history