[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Tricky suffix rule problem for Corba
From: |
CARTER-HITCHIN, David, FM |
Subject: |
RE: Tricky suffix rule problem for Corba |
Date: |
Mon, 13 Feb 2006 16:59:26 -0000 |
Hi Paul,
Again, thanks for your help.
> The .cc and .h files get created in the source dirs
> cdf> w,x,y or z, and so when we rerun make it tries to find
> cdf> ../idl/a.cc or ../idl/a.h and of course never finds them, so it
> cdf> rebuilds.
>
> >> %.h ../idl/%.cc : ../idl/%.idl
> >> $(IDL_COMMAND) $(IDL_OPTIONS) $<
>
> cdf> I tried a few things like this. The variation you
> give means the
> cdf> target is still '../idl/gds_server.h' which is not where the
> cdf> header needs to live and the pre-requisite is
> cdf> '../idl/../idl/gds_svc_man.idl' which looks broken but
> we're just
> cdf> making make skip between dirs and is the same as what we've
> cdf> started with.
>
> You'll need to give more precise details.
> What directory is make in when it executes?
In one of the source dirs, e.g. w,x,y or z
> Where are the idl files
> (that was in your email, but please restate it in a complete context)?
They are one directory up and in a directory called 'idl', i.e. relative
to the source dir ../idl/a.idl
> Where do you want the output files generated?
Where they currently get generated - in the source dirs (w,x,y or z in my
example). I could, in theory, get them directed to ../idl/ and INCLUDE
this dir in our build, but I'm hoping it will be easier to fix the make
rules.
> What are the prerequisites used to find the .idl files presumably foo.o
depends on
> foo.cc and foo.h for example: where are the .o files?...
We have:
=====================================
IDL_HEADERS := ../idl/a.idl ../idl/b.idl
IDL: $(IDL_HEADERS)
$(LIBRARY): $(IDL_HEADERS) $(LIB_OBJS)
blah
blah
%.h %.cc: %.idl
$(MICOIDL) $(MICOIDL_OPTS) $<
%.h %.cc: $(TOPDIR)/idl/%.idl
$(MICOIDL) $(MICOIDL_OPTS) $<
======================================
Sheesh! I just noticed two rules for idl :-( Things are now getting really
bad.
> exactly does
> the target/prerequisite line look like (what pathnames are
> used, etc.)?
Hopefully the lines about should show you that?
> If you could provide a complete, but small, makefile that showed the
> problem, substituting "echo" or "cp" for the IDL_COMMAND,
> that would be very helpful.
Is the above enough? If not I can try to knock together a little tar file
containing
the basic dir structure and a dummy make.
Your help much appreciated,
David.
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorized and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The Royal
Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
http://www.rbos.com
http://www.rbsmarkets.com
********************************************************************************
- Tricky suffix rule problem for Corba, CARTER-HITCHIN, David, FM, 2006/02/13
- RE: Tricky suffix rule problem for Corba, CARTER-HITCHIN, David, FM, 2006/02/13
- RE: Tricky suffix rule problem for Corba,
CARTER-HITCHIN, David, FM <=
- RE: Tricky suffix rule problem for Corba, CARTER-HITCHIN, David, FM, 2006/02/13
- RE: Tricky suffix rule problem for Corba, CARTER-HITCHIN, David, FM, 2006/02/15