/[gentoo-x86]/net-misc/omniORB/files/mkomnistubs.py
Gentoo

Contents of /net-misc/omniORB/files/mkomnistubs.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Sat Nov 1 22:40:32 2008 UTC (11 years, 3 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-python
FILE REMOVED
Version bump. Should fix CFLAGS handling - bug #241076.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64)

1 #!/usr/bin/env python
2
3
4 import os
5
6
7 idlfiles = ["TimeBase", "CosTime", "CosEventComm", "CosEventChannelAdmin",
8 "CosTypedEventComm", "CosTypedEventChannelAdmin", "CosTimerEvent",
9 "CosNotification", "CosNotifyComm", "CosNotifyFilter",
10 "CosNotifyChannelAdmin", "CosTypedNotifyComm", "CosTypedNotifyChannelAdmin",
11 "AttNotifyChannelAdmin"]
12
13
14 # d is the top-level idl directory from an omniORB release
15 d = "/usr/idl"
16
17
18 for x in idlfiles:
19 y = x + ".idl"
20 print x
21 cmd = "omniidl -bpython -C /usr/lib/python2.1/site-packages/ -I%s -I%s/COS -DNOLONGLONG %s/COS/%s" % (d, d, d, y)
22 print cmd
23 os.system(cmd)
24

  ViewVC Help
Powered by ViewVC 1.1.20