| Date Of Receipt: 23-MAR-1994 13:50:48.40
From: FLUME::jmcg "Jim McGinness"
To: flume::dc
CC: flume::buildhelp, flume::odehelp
Subj: Re: need help with this one
Comet doesn't find any instances of our Makefiles using
EXPINC_TARGETS. What is commonly done is to declare the include files
as DATAFILES. One of the side effects of this is to make a copy of
the file in the object tree. This makes the tar command work properly
for export, since it isn't given the absolute name of the file to be
picked up but just the local name.
For an example, see goldos/src/usr/include/sys/Makefile.
-- jmcg
> Subject: need help with this one
> To: odehelp
> Date: Wed, 23 Mar 94 12:19:39 EST
> From: Dan Christians <dc>
> hi,
> i am trying to put together a makefile for a library
> which happens to have an include file which should be
> exported too.
> i have tried the following:
> LIBRARIES = libthreadRace.a
> HFILES = threadRace.h
>
> EXPLIB_TARGETS = export_libthreadRace.a
> EXPINC_TARGETS = export_threadRace.h
>
> OFILES = race.o mb.o
>
> ILIST = $(LIBRARIES) $(HFILES)
> threadRace.h_IDIR = /usr/include/
> libthreadRace.a_IDIR = /usr/ccs/lib/
> IMODE = 644
>
> include $(MAKEFILEPATH)/standard.mk
> include $(MAKEFILEPATH)/libs.mk
> include $(MAKEFILEPATH)/objects.mk
> and this is what i get:
> % build
> relative path: ./sqa/threadRace.
> cd ../../../obj/alpha/sqa/threadRace
> rm -f /u1/sb/export/alpha/threadRace.h
> makepath /u1/sb/export/alpha/threadRace.h
> tar cf - /usr/sde/osf1/build/goldos.nightly/src/sqa/threadRace/threadRace.h | (cd /u1/sb/export/alpha; tar xf -)
> tar: /usr/sde/osf1/build/goldos.nightly/src/sqa/threadRace/threadRace.h : Read-only file system
> *** Exit 1
> Stop.
> i'm unable to figure a way past this, i'd really
> appreciate any ideas/help you can give me.
> thanks,
> dan christians
|