Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 1996 23:39:50 +0800 (GMT+0800)
From:      "Humprey C. Sy" <humprey@linux1.dlsu.edu.ph>
To:        Chi-Cheong Weng <cweng@alantec.com>
Cc:        faq@freebsd.org, questions@freebsd.org
Subject:   Re: makefile question
Message-ID:  <Pine.LNX.3.91.960301233721.5384D-100000@ccslinux.dlsu.edu.ph>
In-Reply-To: <9602290613.AA23723@anise.alantec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Feb 1996, Chi-Cheong Weng wrote:

> 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 ?

bsd.prog.mk can be found in /usr/share/mk.  It's a "makefile template" 
that's designed to create makefiles much easier. Basically, what this 
does is create a program named rpc.lockd with sources lockd.c and prog.c 
and include the library rpcsvc.

- Humprey -





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.960301233721.5384D-100000>