mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
4d33b62edc
than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
35 lines
642 B
Makefile
35 lines
642 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
# $FreeBSD$
|
|
|
|
PROG= ftpd
|
|
MAN= ftpd.8
|
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING
|
|
CFLAGS+=-DINET6
|
|
CFLAGS+=-I${.CURDIR}
|
|
YFLAGS=
|
|
WFORMAT=0
|
|
|
|
DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
|
LDADD= -lmd -lcrypt -lutil
|
|
|
|
# XXX Kluge! Conversation mechanism needs to be fixed.
|
|
DPADD+= ${LIBOPIE}
|
|
LDADD+= -lopie
|
|
|
|
LSDIR= ../../bin/ls
|
|
.PATH: ${.CURDIR}/${LSDIR}
|
|
SRCS+= ls.c cmp.c print.c util.c
|
|
CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
|
|
DPADD+= ${LIBM}
|
|
LDADD+= -lm
|
|
|
|
.if !defined(NOPAM)
|
|
CFLAGS+=-DUSE_PAM
|
|
DPADD+= ${LIBPAM}
|
|
LDADD+= ${MINUSLPAM}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|