[omniORB] make clean

David Byron dbyron@coactive.com
Thu, 19 Jul 2001 15:39:22 -0700


I've been playing around with omniORB's make a bit and I have a feeling make
veryclean leaves some stuff around that would be nice to have disappear.
For example, there's lots of .pyc files in src/lib/omniORB2/omniidl_be/* and
lib/python/omniidl*/.

I looked around for the correct place(s) to deal with this, assuming it's OK
to do this.  Is CleanRule or VeryCleanRule in unix.mk and the others in
omni/mk the right place, or do the various dir.mk files in
src/lib/omniORB2/omniidl_be/* need clean:: or veryclean:: rules added to
them?  Is some kind of cleanall.pyc equivalent of
lib/python1.5/compileall.pyc a good way?  Is there another place?

Are these files staying around on purpose, or should they disappear as part
of 'clean'ing or 'veryclean'ing?

I started looking into this when I did a cvs update on my local repository
that has the contents of the whole omniORB 3.0.4 tarball checked in.  I did
the cvs update after a make veryclean.  The other stuff I see lying around
is:

bin/i586_linux_2.0_glibc2.1/omkdepend
bin/i586_linux_2.0_glibc2.1/omniidlrun.py
bin/i586_linux_2.0_glibc2.1/omniidl
bin/i586_linux_2.0_glibc2.1/omniNames
bin/i586_linux_2.0_glibc2.1/genior
bin/i586_linux_2.0_glibc2.1/catior
bin/i586_linux_2.0_glibc2.1/convertior
bin/i586_linux_2.0_glibc2.1/nameclt
bin/i586_linux_2.0_glibc2.1/omniMapper
include/COS
include/omniORB3/Naming.hh
include/omniORB3/ir_defs.hh
include/omniORB3/ir_operators.hh
include/omniORB3/ir_poa.hh
include/omniORB3/corbaidl_defs.hh
include/omniORB3/corbaidl_operators.hh
include/omniORB3/corbaidl_poa.hh
include/omniORB3/omniLifeCycle.hh
lib/i586_linux_2.0_glibc2.1
services/mklib/static
services/mklib/shared
services/mklib/mkBOAlib/static
services/mklib/mkBOAlib/shared

Any suggestions on if/how this stuff should be cleaned?

The platform I'm using is i586_linux_2.0_glibc2.1.

Thanks for the help.

-DB
---
David Byron                     dbyron@coactive.com
Coactive Networks, Inc.         http://www.coactive.com
28 Liberty Ship Way             voice:(415)289-7800
Sausalito, CA  94965            fax:(415)289-1320