Subject: Re: Make expression evaluation
To: None <current-users@NetBSD.ORG>
From: Christos Zoulas <christos@nyc.deshaw.com>
List: current-users
Date: 02/01/1997 16:58:38
In article <01BC1011.D52E48C0@hwart.teuto.de> martin@laurin.teuto.de (Martin Husemann) writes:
>In a software package running both on NetBSD and FreeBSD there are
>some subtle differences in Makefiles for the two systems. We need
>"MAN" to contain a list of man pages, if "PROG" is not set, while 
>FreeBSD needs "MAN4" to be a list of section 4 man pages.
>
>Also man pages describing kernel drivers have to give different 
>"SYNOPSIS" lines, so these pages need OS depended preproccessing.
>
>The method I found is this:
>
>---8<---
>.if !defined(OSTYPE)
>OSTYPE=`uname`
>.endif
>

This is not valid make syntax, you want:

OSTYPE != uname

christos