Return to BSD News archive
Newsgroups: comp.os.386bsd.misc Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!news.sprintlink.net!mv!mv.mv.com!shaman From: shaman@mv.mv.com (Coranth Gryphon) Subject: Make is different between FreeBSD 1.1 and 2.0 Message-ID: <D254rK.5rB@mv.mv.com> Nntp-Posting-Host: mv.mv.com Sender: Coranth Gryphon <gryphon@healer.com> Organization: MV Communications, Inc. Date: Mon, 9 Jan 1995 13:42:56 GMT Lines: 31 Hi. I am having problems building a architecture independant make file that will work on both FreeBSD versions 1.1.0 and 2.0R This uses normal make, not gmake (since we do not wanto to have to worry about porting gmake to lots of places...:-( The line in question is: v1.1 v2.0 .if $(ARCH) == FreeBSD if $(ARCH).==FreeBSD. What works on one does not work on the other. $(ARCH) is set to `uname -s` which does store the correct information "FreeBSD" on both systems. The version that works on v1.1 does not match true on 2.0 The version that works on v2.0 causes 1.1 to blow up with errors from make about malformed conditionals. Any ideas would be greatly appreciated. -coranth ---------------------------------------------------------------------- Coranth Gryphon Karma: You can't take it with you, but you can send it on ahead. E-Mail: gryphon@healer.com, shaman@mv.mv.com VoiceMail/Pager: (603) 599-0357 US-Mail: 97 Sutherland Road, No. Attleboro, MA 02760 Disclaimer: All these words are yours, except Europa...