[omniORB] makefile for omniORB4

Andre Kirchner supercroc1974 at yahoo.com
Wed Sep 8 13:48:36 BST 2004


Hi,

I have this make file, but for some reason the omniidl
command is not
executed, and make complains that there isn't any
target.
Can you guys point out what is wrong?
I'm using omniORB4 on a Fedora Core 1 box.

Thanks a lot,

Andre

DEFINES=__linux__ __x86__ __OSVERSION__=2 __OMNIORB4__

SKELETONS=TestSK.hh TestSK.cc

LIBS=omniORB4 omniGK_stub omnithread

#main.out: main.o TestSK.o 
# g++ -o main.out *.o -l omniORB4

#main.o: main.cpp 
# g++ -D $(addprefix -D,$(DEFINES)) -c main.cpp

#g++ -D __linux__ -D __x86__ -D __OSVERSION__=2 -D
__OMNIORB4__ -c
TestSK.cc
#TestSK.o: TestSK.hh TestSK.cc
# g++ $(addprefix -D,$(DEFINES)) -c TestSK.cc

%SK.cc %SK.hh: %.idl
 @omniidl -bcxx -Wbh=SK.hh $(addprefix -D,$(DEFINES))
$<

#omniidl -bcxx -Wbh=SK.hh -D __linux__ -D __x86__ -D
__OSVERSION__=2
-D __OMNIORB4__ Test.idl

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the omniORB-list mailing list