[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1306.0. "Makefile help with .profile needed" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Wed Mar 01 1995 22:35

Date Of Receipt: 	 1-MAR-1995 18:26:05.60
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	spg@unx.dec.com
CC: 	buildhelp@DEC:.zko.flume
Subj: 	Makefile help with .profile needed

Steve, looking at the makefile, I see
	_SED_OPTIONS            = -e 's+%TCB%++' -e t
not
	SED_OPTIONS             = -e 's+%TCB%++' -e t
or 
	.profile_SED_OPTIONS    = -e 's+%TCB%++' -e t

The general entry I believe needs to be the one with no leading
underscore.  The specific case should be my 2nd suggestion. 
The SEC_LEVEL is particular to security stuff -- I always avoid this.

If this doesn't do it, send mail to buildhelp@zk3.dec.com to get more
eyes looking at it (I cc'd them here too).

	-josh

----------
>From spg@unx.dec.com  Wed Mar  1 16:43:35 1995
Delivery-Date: Wed, 01 Mar 95 16:43:36 -0500
Return-Path: spg@unx.dec.com
Received: from giants.unx.dec.com by flume.zk3.dec.com; (5.65/1.1.8.2/16Jan95-0946AM)
	id AA08774; Wed, 1 Mar 1995 16:43:35 -0500
Received: from localhost by giants.unx.dec.com; (5.65/1.1.8.2/13Sep94-0204PM)
	id AA08640; Wed, 1 Mar 1995 16:43:31 -0500
Message-Id: <9503012143.AA08640@giants.unx.dec.com>
To: jmf@zk3.dec.com
Cc: spg@unx.dec.com
Subject: Makefile Question 
Date: Wed, 01 Mar 95 16:43:31 -0500
From: "Steve Grandinetti DTN 462-6007" <spg@unx.dec.com>
X-Mts: smtp


Hi Josh -

HELP!

I understand that you're in school this week, so I'd be happy to hear
from you when you get a moment.

I'm a bit confused about a particular Makefile: ptos/src/root/Makefile
to be particular. First, some brief history:

We noticed a problem in platinum where the src/root/.profile
file had the string "%TCB%" in the PATH variable. In the source
to this file, it appears that "%TCB%" was to be replaced by a 
SED_OPTION in the Makefile. Note: previously, the name of ./profile
was real.profile. In the Makefile you'll see a line

	real.profile_SED_OPTIONS = ${${SEC_LEVEL}_SED_OPTIONS}

Well given that real.profile is now just .profile that's our first problem.
The bigger problem is how to fix this, given that I can't get the following
line to work

	.profile_SED_OPTIONS = ${${SEC_LEVEL}_SED_OPTIONS}

Apparently, 'make' is disregarding this line due to the leading "."
My confusion stems from the fact that I've seen lines in other Makefiles
such as

	.new..file_IMODE = 444

which work fine. 

Do you have any clues as to how to circumvent this problem?

THANKS!
===============================================================
Steve Grandinetti, M/S: UNX		TCP/IP: spg@unx.dec.com
UESG/User Env. & Std. Group		DECnet:	unxa::grandinetti
Digital Equipment Corporation		FAX:	908-577-6003
200 Route 9 North			Voice:	908-577-6007	
Manalapan, New Jersey 07726		DTN:	462 




T.RTitleUserPersonal
Name
DateLines