*BSD News Article 62461


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!sgigate.sgi.com!cygnus.com!kithrup.com!news.Stanford.EDU!leland.Stanford.EDU!weng
From: weng@leland.Stanford.EDU (Chi-Cheong Weng)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: help: how to make
Date: 29 Feb 1996 06:24:01 GMT
Organization: Stanford University
Lines: 24
Message-ID: <4h3gq1$niu@nntp.Stanford.EDU>
NNTP-Posting-Host: elaine40.stanford.edu
X-Newsreader: TIN [version 1.2 PL2]


Here is an example of Makefile :
#       $Id: Makefile,v 1.1.1.1 1996/02/17 15:11:28 peter Exp $

PROG =  rpc.lockd
SRCS =  lockd.c procs.c
MAN8 =  rpc.lockd.8

DPADD=  ${LIBRPCSVC}
LDADD=  -lrpcsvc

.include <bsd.prog.mk>

test: test.c
        cc -o test test.c -lrpcsvc

Which make should I use ?
Where can I get bsd.prog.mk ?
How should I set ${LIBRPCSVC}

Please dont reply to this account as it will expire tomorrow.
Instead, reply to cweng@cs.stanford.edu
many thanks.