*BSD News Article 62462


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!gatech!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 on make
Date: 29 Feb 1996 06:28:18 GMT
Organization: Stanford University
Lines: 20
Message-ID: <4h3h22$nna@nntp.Stanford.EDU>
NNTP-Posting-Host: elaine40.stanford.edu
X-Newsreader: TIN [version 1.2 PL2]


#       $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

How am I supposed to compile this file ?
Where do I get bsd.prog.mk ?
How shoudl I set ${LIBRPCSVC}
please reply to cweng@cs.stanford.edu