public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* spawning nmake from a gnumake Makefile
@ 1999-03-03  9:28 JP Shipherd
  1999-03-31 19:45 ` JP Shipherd
  0 siblings, 1 reply; 8+ messages in thread
From: JP Shipherd @ 1999-03-03  9:28 UTC (permalink / raw)
  To: cygwin

We've got a pretty UNIXy source tree that uses gnumake for the most part,
but there are some win32 platform specific parts of it.  We build these in
DevStudio and export the makefiles.  Then we put these all these projects
under win32 module with a gnumake Makefile that simply goes to the various
project subdirs and spawns nmake.

I've been stuck on B18 for a while because the following expression in a
Makefile hasn't worked since then:

NMAKE = MFLAGS= MAKEFLAGS= nmake

        @cd ../MFCWaveEdit/Wavetools; \
        $(NMAKE) /NOLOGO /F Wavetools.mak ALL
INCLUDE="$(INCLUDE);$(W32_NUANCE)/
include" \
                LIB="$(LIB);$(W32_NUANCE)/lib/win32" CFG=$(WTCNF$(OPTION))
OS=$(OS)

This worked fine in B18 but B19 and B20 complain:

Wwavetools.mak(1) : fatal error U1023: syntax error in expression
Stop.

Does anyone have any idea what changed and/or a strategy for modifying my
gnumakefile so it can work with the later betas?

Thanks,
--jp


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* spawning nmake from a gnumake Makefile
  1999-03-03  9:28 spawning nmake from a gnumake Makefile JP Shipherd
@ 1999-03-31 19:45 ` JP Shipherd
  0 siblings, 0 replies; 8+ messages in thread
From: JP Shipherd @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

We've got a pretty UNIXy source tree that uses gnumake for the most part,
but there are some win32 platform specific parts of it.  We build these in
DevStudio and export the makefiles.  Then we put these all these projects
under win32 module with a gnumake Makefile that simply goes to the various
project subdirs and spawns nmake.

I've been stuck on B18 for a while because the following expression in a
Makefile hasn't worked since then:

NMAKE = MFLAGS= MAKEFLAGS= nmake

        @cd ../MFCWaveEdit/Wavetools; \
        $(NMAKE) /NOLOGO /F Wavetools.mak ALL
INCLUDE="$(INCLUDE);$(W32_NUANCE)/
include" \
                LIB="$(LIB);$(W32_NUANCE)/lib/win32" CFG=$(WTCNF$(OPTION))
OS=$(OS)

This worked fine in B18 but B19 and B20 complain:

Wwavetools.mak(1) : fatal error U1023: syntax error in expression
Stop.

Does anyone have any idea what changed and/or a strategy for modifying my
gnumakefile so it can work with the later betas?

Thanks,
--jp


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: spawning nmake from a gnumake Makefile
  1999-04-01 17:53     ` Peter Moulder
@ 1999-04-30 18:32       ` Peter Moulder
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Moulder @ 1999-04-30 18:32 UTC (permalink / raw)
  To: JP Shipherd; +Cc: cygwin

Have you checked that MAKEFLAGS is really getting unexported?
I use a wrapper shell script that unsets MAKEFLAGS and puts the MS
tool directory at the head of the PATH.

pjm.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: spawning nmake from a gnumake Makefile
  1999-03-03 11:36   ` JP Shipherd
  1999-03-31 19:45     ` JP Shipherd
@ 1999-04-01 17:53     ` Peter Moulder
  1999-04-30 18:32       ` Peter Moulder
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Moulder @ 1999-04-01 17:53 UTC (permalink / raw)
  To: JP Shipherd; +Cc: cygwin

Have you checked that MAKEFLAGS is really getting unexported?
I use a wrapper shell script that unsets MAKEFLAGS and puts the MS
tool directory at the head of the PATH.

pjm.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: spawning nmake from a gnumake Makefile
  1999-03-03 10:46 Earnie Boyd
       [not found] ` < 19990303184725.13880.rocketmail@send103.yahoomail.com >
@ 1999-03-31 19:45 ` Earnie Boyd
  1 sibling, 0 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-03-31 19:45 UTC (permalink / raw)
  To: JP Shipherd, cygwin

---JP Shipherd <jp@Nuance.COM> wrote:
8<
> Does anyone have any idea what changed and/or a strategy for
modifying my
> gnumakefile so it can work with the later betas?
8<

An environment variable was added to control the nature of the
makefile UNIX style vs WIN32 style.  You need to `export
MAKE_MODE=unix' if you don't want the default WIN32 style.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: spawning nmake from a gnumake Makefile
  1999-03-03 11:36   ` JP Shipherd
@ 1999-03-31 19:45     ` JP Shipherd
  1999-04-01 17:53     ` Peter Moulder
  1 sibling, 0 replies; 8+ messages in thread
From: JP Shipherd @ 1999-03-31 19:45 UTC (permalink / raw)
  To: earnie_boyd, cygwin

>
> ---JP Shipherd <jp@Nuance.COM> wrote:
> 8<
> > Does anyone have any idea what changed and/or a strategy for
> modifying my
> > gnumakefile so it can work with the later betas?
> 8<
>
> An environment variable was added to control the nature of the
> makefile UNIX style vs WIN32 style.  You need to `export
> MAKE_MODE=unix' if you don't want the default WIN32 style.


We needed to set that variable just to get the build to work at all.  It
does fine except for spawning NMAKE.  ie:

NMAKE = MFLAGS= MAKEFLAGS= nmake

        @cd ../MFCWaveEdit/Wavetools; \
        $(NMAKE) /NOLOGO /F Wavetools.mak ALL
INCLUDE="$(INCLUDE);$(W32_NUANCE)/
include" \
                LIB="$(LIB);$(W32_NUANCE)/lib/win32" CFG=$(WTCNF$(OPTION))
OS=$(OS)

This worked fine in B18 but B19 and B20 complain:

Wwavetools.mak(1) : fatal error U1023: syntax error in expression
Stop.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: spawning nmake from a gnumake Makefile
       [not found] ` < 19990303184725.13880.rocketmail@send103.yahoomail.com >
@ 1999-03-03 11:36   ` JP Shipherd
  1999-03-31 19:45     ` JP Shipherd
  1999-04-01 17:53     ` Peter Moulder
  0 siblings, 2 replies; 8+ messages in thread
From: JP Shipherd @ 1999-03-03 11:36 UTC (permalink / raw)
  To: earnie_boyd, cygwin

>
> ---JP Shipherd <jp@Nuance.COM> wrote:
> 8<
> > Does anyone have any idea what changed and/or a strategy for
> modifying my
> > gnumakefile so it can work with the later betas?
> 8<
>
> An environment variable was added to control the nature of the
> makefile UNIX style vs WIN32 style.  You need to `export
> MAKE_MODE=unix' if you don't want the default WIN32 style.


We needed to set that variable just to get the build to work at all.  It
does fine except for spawning NMAKE.  ie:

NMAKE = MFLAGS= MAKEFLAGS= nmake

        @cd ../MFCWaveEdit/Wavetools; \
        $(NMAKE) /NOLOGO /F Wavetools.mak ALL
INCLUDE="$(INCLUDE);$(W32_NUANCE)/
include" \
                LIB="$(LIB);$(W32_NUANCE)/lib/win32" CFG=$(WTCNF$(OPTION))
OS=$(OS)

This worked fine in B18 but B19 and B20 complain:

Wwavetools.mak(1) : fatal error U1023: syntax error in expression
Stop.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: spawning nmake from a gnumake Makefile
@ 1999-03-03 10:46 Earnie Boyd
       [not found] ` < 19990303184725.13880.rocketmail@send103.yahoomail.com >
  1999-03-31 19:45 ` Earnie Boyd
  0 siblings, 2 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-03-03 10:46 UTC (permalink / raw)
  To: JP Shipherd, cygwin

---JP Shipherd <jp@Nuance.COM> wrote:
8<
> Does anyone have any idea what changed and/or a strategy for
modifying my
> gnumakefile so it can work with the later betas?
8<

An environment variable was added to control the nature of the
makefile UNIX style vs WIN32 style.  You need to `export
MAKE_MODE=unix' if you don't want the default WIN32 style.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-04-30 18:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-03  9:28 spawning nmake from a gnumake Makefile JP Shipherd
1999-03-31 19:45 ` JP Shipherd
1999-03-03 10:46 Earnie Boyd
     [not found] ` < 19990303184725.13880.rocketmail@send103.yahoomail.com >
1999-03-03 11:36   ` JP Shipherd
1999-03-31 19:45     ` JP Shipherd
1999-04-01 17:53     ` Peter Moulder
1999-04-30 18:32       ` Peter Moulder
1999-03-31 19:45 ` Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).