[Osalp-dev] Question on compiler options
Status: Abandoned
Brought to you by:
daservis
|
From: Anthony Z. <zw...@us...> - 2001-08-14 14:09:28
|
Hello,
As some of you may remember, I am attempting to get OSALP to run using xlC
(VisualAge 5.0) on AIX 4.3.3. Things are going "sort of ok." In the aflib
and the individual file type directories under formatlib, there is a line
in the Makefile.in that looks like:
%.lo: %.c
@echo '$(LTCOMPILE) -c $<'; \
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm -f .deps/$(*F).pp
My real question is what does the -Wp,-MD,.deps/$(*F).pp option(s) do? I
believe this limits the makefiles to g++ only. I'm not sure exactly what
these lines do, other than to say it is obvious they are attempting to
generate some dependency information from the source files. I'm thinking
for the short term in my case, to remove all dependency generation, and
just make clean in between changes to the files.
Any suggestions are helpful.
Thanks,
Anthony
|