Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 1996 22:13:06 -0800 (PST)
From:      cweng@alantec.com (Chi-Cheong Weng)
To:        faq@freebsd.org
Cc:        questions@freebsd.org
Subject:   makefile question
Message-ID:  <9602290613.AA23723@anise.alantec.com>

next in thread | raw e-mail | index | archive | help

Hi,
I have some questions regarding to bsd compilation.
Seems to me my make program cannot understand your Makefile.
Here is one example:
/.16/FreeBSD/FreeBSD-current/src/sbin/rpc.lockd/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


I wonder where I can get bsd.prog.mk and HOw should I set the
envr variable  ${LIBRPCSVC}. What make program should I use ?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602290613.AA23723>