help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about vpath listed in Database output


From: Jamulla, John D. (AMHERST)
Subject: Question about vpath listed in Database output
Date: Sat, 21 Sep 2002 13:15:53 -0400

Hello,

I have a complicated make system. I tried to use gmake -p (among other
options) to dump the database to a file and see what I get for 'vpath'.
I didn't completely make the make system myself, so there's parts of it
I don't understand well.

Here's the command line I use:
/usr/freeware/bin/gmake MAKE_LEVEL=personal MAKE_COLOR=one
MAKE_HARDWARE_TYPE=opengl MAKE_DEBUG_IND=debug MAKE_VERBOSITY=v0
MAKE_GROUP_ROOT=/net/riss/riss01/dev_grp_011
MAKE_PERSONAL_ROOT=/net/riss/riss05/jdj/dev11
MAKE_INCLUDE_DIR=/net/riss/riss01/dev_grp_011/scripts/build_scripts
MAKE_MULTIGEN_ROOT=/usr/local/MultiGen/mgapi
MAKE_SCRAMNET_ROOT=/usr/scramnet
MAKE_LICENSE_ROOT=/net/riss/riss01/apps/SentLM MAKE_LICENSE=no
MAKE_ALIAS=yes MAKE_C_COMPILER_ABI=n32 MAKE_ADA_COMPILER_ABI=n32
MAKE_GNU_LIBROOT=/usr/gnu/lib/gcc-lib/mips-sgi-irix6-n32/2.8.1
MAKE_GNU_VADSROOT=/usr/adainclude/vads_if MAKE_TCPU=r10000
MAKE_MIPSISA=mips4 MAKE_PFVER=24 MAKE_BENCHMARKING=0 MAKE_PRECOMPS=
MAKE_ECHO=0

I'm confused since I see 3 different "sections" of vpath's and no VPATH
listed (didn't expect to see VPATH).

I see 3 different messages about the database being printed in the
output I saved. Does this mean gmake ran 3 times? I know it will run at
least 2 times (becuase we make it change dirs in a target, then re-run).
The first printing mesage comes after I see a bunch of CC commands to
make dependency files.
The 2nd message comes after it built the 2  object files, and updated
it's archive.
2rd one comes after it did "nothing"


I can't tell why these vpath settings are what they are (meaning there's
only 1 place in my makefiles where vpath's are set - so I think there
should only be 1 group of them in the database listing - though it makes
sense there would be 3 if it's running 3 times).

Oone of the sets (the last one listed) has "bad" paths and I am trying
to figure out why they are in there.

Here's the sections and some of what's around them...

# Not a target:
texture.d:
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/textur
e.c
#  Implicit rule search has been done.
#  Implicit/static pattern stem: `texture'
#  Last modified 2002-09-21 12:44:56
#  File has been updated.
#  Successfully updated.
# automatic
# ^ :=
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/textur
e
.c
# automatic
# @ := texture.d
# automatic
# + :=
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/textur
e
.c
# automatic
# ? :=
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/textur
e
.c
# automatic
# * := texture
# automatic
# % :=
# automatic
# < :=
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/textur
e
.c
# 7 variables in 23 hash buckets.
# average of 0.3 variables per bucket, max 2 in one bucket.
#  commands to execute (from
`/net/riss/riss01/dev_grp_011/scripts/build_scripts
/makedefaults', line 460):
        $(CCOMP) -c $(CXXFLAGS) $(CXXINCLUDES) -E $< -MDupdate $@ >
/dev/null


# 148 files in 1007 hash buckets.
# average 0.147 files per bucket, max 2 files in one bucket.

# VPATH Search Paths

vpath %.C
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.a /net/riss/riss01/dev_grp_011/lib/n32/debug
vpath %.adb
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.ali
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/n3
2/debug/one
vpath %.c
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.c++
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.cpp
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.l
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.o
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/n32/
debug/one
vpath %.rc
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/
riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.so /net/riss/riss01/dev_grp_011/dsolib/n32/debug
vpath %.y
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.f
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc

# 13 `vpath' search paths.

# No general (`VPATH' variable) search path.

# Finished Make data base on Sat Sep 21 12:44:54 2002

# gmake[1]: Leaving directory
`/net/riss/riss05/jdj/dev11/src/Scene_Rendering/sr
s_hardware_csc/n32/debug/one'


.
.
.


# Not a target:
texture.d:
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/tex
ture.c
#  Implicit rule search has been done.
#  Implicit/static pattern stem: `texture'
#  Last modified 2002-09-21 12:44:56
#  File has been updated.
#  Successfully updated.
#  commands to execute (from
`/net/riss/riss01/dev_grp_011/scripts/build_scripts
/makedefaults', line 460):
        $(CCOMP) -c $(CXXFLAGS) $(CXXINCLUDES) -E $< -MDupdate $@ >
/dev/null


# 255 files in 1007 hash buckets.
# average 0.253 files per bucket, max 3 files in one bucket.

# VPATH Search Paths

vpath %.C
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.a /net/riss/riss01/dev_grp_011/lib/n32/debug
vpath %.adb
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.ali
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/n3
2/debug/one
vpath %.c
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.c++
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.cpp
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net
/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.l
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.o
/net/riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc/n32/
debug/one
vpath %.rc
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/
riss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.so /net/riss/riss01/dev_grp_011/dsolib/n32/debug
vpath %.y
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc
vpath %.f
/net/riss/riss05/jdj/dev11/src/Scene_Rendering/srs_hardware_csc:/net/r
iss/riss01/dev_grp_011/src/Scene_Rendering/srs_hardware_csc

# 13 `vpath' search paths.

# No general (`VPATH' variable) search path.

# Finished Make data base on Sat Sep 21 12:44:56 2002

# gmake[1]: Leaving directory
`/net/riss/riss05/jdj/dev11/src/Scene_Rendering/sr
s_hardware_csc/n32/debug/one'
gmake: Nothing to be done for `n32/debug/one'.


.
.
.


risslibs:
#  Phony target (prerequisite of .PHONY).
#  Implicit rule search has not been done.
#  File does not exist.
#  File has not been updated.

# 115 files in 1007 hash buckets.
# average 0.114 files per bucket, max 2 files in one bucket.

# VPATH Search Paths

vpath %.C /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.a /net/riss/riss01/dev_grp_011/lib/n32/debug
vpath %.adb /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.c /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.c++ /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.cpp /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.l /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.rc /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.so /net/riss/riss01/dev_grp_011/dsolib/n32/debug
vpath %.y /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011
vpath %.f /net/riss/riss05/jdj/dev11:/net/riss/riss01/dev_grp_011

# 11 `vpath' search paths.

# No general (`VPATH' variable) search path.

# Finished Make data base on Sat Sep 21 12:44:57 2002





Thanks,
        John

---
John D. Jamulla - Senior Engineer
Northrop Grumman Corporation
Electronic Systems
Amherst Systems
Buffalo N.Y. 14221, (716) 631-0088
address@hidden, or address@hidden

Attachment: John D. Jamulla.vcf
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]