[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
470.0. "Is it possible to define two different EXPDIR s in a single Makefile?" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Dec 07 1993 13:03
Date Of Receipt: 7-DEC-1993 12:28:52.42
From: US2RMC::"[email protected]" "John Flanagan"
To: [email protected]
CC:
Subj: Is it possible to define two different EXPDIR's in a single Makefile?
------- Forwarded Message
Return-Path: njo
Received: from quarry.zk3.dec.com by flambe.zk3.dec.com;
(5.65/1.1.8.2/01Nov93-1038AM)
id AA22653; Tue, 7 Dec 1993 09:45:08 -0500
Received: by quarry.zk3.dec.com; id AA27477; Tue, 7 Dec 1993 09:44:13 -0500
Date: Tue, 7 Dec 1993 09:44:13 -0500
From: Neil O'Brien USG/DE <njo>
Message-Id: <[email protected]>
To: odehelp
Subject: Problem with file_EXPDIR
Cc: lesniak mchale njo
Hi,
I've been trying to write a Makefile for a new library in the gold
source pool and I am having a problem with the file_EXPDIR variable.
Section 4.4.2 (Processing the Leaves) of the ODE Supplement for Silver
Development states that file_EXPDIR is the "path into which the file
should be exported. The path will be taken relative to the rc file
variable EXPORTBASE ... ". When I do a "build export_foo.h" or a
"build export_libfoo.a" the respective files get exported to the
/sandbox/export/alpha directory rather than the directories I've
specified in the Makefile. Is the file_EXPDIR capability not currently
working in ODE?
Thanks. I've included my Makefile below.
Neil
#
# @DEC_COPYRIGHT@
#
#
# HISTORY
# $Log: Makefile,v $
# Revision 1.1.1.2 1993/12/02 20:41:28 Neil_OBrien
# Initial revision for the real*16 project.
#
# $EndLog$
#
# @(#)$RCSfile: Makefile,v $ $Revision: 1.1.1.2 $ (DEC) $Date: 1993/12/02
20:41:28 $
#
#
VPATH = ${target_machine}
LIBRARIES = libcvtas.a
libcvtas.a_EXPDIR = /usr/ccs/lib/
OFILES = cvtas.o
DATAFILES = cvtas.h
INCLUDES = ${DATAFILES}
cvtas.h_EXPDIR = /usr/include/cmplrs/
include ${MAKEFILEPATH}/standard.mk
include ${MAKEFILEPATH}/objects.mk
include ${MAKEFILEPATH}/datafiles.mk
${OFILES}: $${@:.o=.c} ${INCLUDES}
${_CC_} -Dconst=' ' ${_CCFLAGS_} -c $*.c
${LIBRARIES}: ${DEPEND_LIST} ${LIBRARIES}(${_OFILES_})
${CP} -p `dirname $<`/alpha/$@ ./[email protected]
${MV} ./[email protected] ./$@
${CHMOD} u+w ./$@
${_AR_} ${DEF_ARFLAGS} $@ $?
${_RANLIB_} $@
${RM} -f $?
------- End of Forwarded Message
% Received: by us2rmc.bb.dec.com; id AA15701; Tue, 7 Dec 93 12:26:41 -0500
from localhost by flambe.zk3.dec.com; (5.65/1.1.8.2/01Nov93-1038AM) id AA01518; Tue, 7 Dec 1993 12:27:20 -050
% Message-Id: <[email protected]>
% To: [email protected]
% Subject: Is it possible to define two different EXPDIR's in a single Makefile?
% Date: Tue, 07 Dec 93 12:27:20 -0500
% From: John Flanagan <[email protected]>
% X-Mts: smtp
T.R | Title | User | Personal Name | Date | Lines
|
---|