This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ntsec-patch16 (and some other)


Mumit Khan wrote:
> On Sat, 8 Jan 2000, Corinna Vinschen wrote:
> > That's curious, because on the other hand a `make' in the winsup dir
> > want to `make all' in mingw/profile which then failes because there's
> > no Makefile...
> 
> As Chris points out, Mingw configure will not try to configure profile
> subdir when it's in the winsup tree (ie., configured for x86-cygwin),
> [...]
> However, I'm doing all of this on a Linux machine, so presumably we
> have a problem in native builds. If you still have the problem with
> 2000-01-08 snapshot, please let me know (hopefully with a fix ;-).

The problem remains the same. As Chris mentioned, I'm building in the
source tree. I have started a ./configure in the winsup dir. This
configure ignores the profile directory but the Makefile.in in the
mingw dir contains the line

	SUBDIRS := profile

So, the mingw Makefile tries to start a make in the profile
dir which fails. This results in exiting the complete build process.

Maybe it would help to check the existance of a Makefile in the
subdirs before trying to start make, like below (only a suggestion):

Regards,
Corinna

Index: Makefile.in
===================================================================
RCS file: /src/cvsroot/winsup-000108/mingw/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile.in
--- Makefile.in 2000/01/09 10:51:04     1.1.1.1
+++ Makefile.in 2000/01/09 20:35:51
@@ -208,7 +208,7 @@ install: all
 subdirs: force
        @for i in $(SUBDIRS); do \
           echo "Making $(DO) in $${i}..." ; \
-          if [ -d ./$$i ] ; then \
+          if [ -d ./$$i -a -f ./$$i/[Mm]akefile ] ; then \
             if (rootme=`pwd`/ ; export rootme ; \
               rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
               cd ./$$i; \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]