11bf3600e8
- Dropped support for standalone builds, this was only partially supported anyway, and required so much magic in makefiles that made life dangerous (e.g., by using the custom yacc rules). - Got rid of .OBJDIR in makefiles -- makes building of individual files possible again. - Made the .x.c transformations -j safe. - Reprogrammed LDADD to fix static build of some utilities that was broken. - Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively affects the contents of .depend files. - Removed redundant .h's from SRCS, only kept those that are generated. - libkrb5/ INCS were bogusly installed again with libgssapi/. - Made build-tools real tools with their own makefiles in separate directories. This allows us to properly track their dependencies, etc. - Faster build, 21% less of makefile code! Approved by: nectar Reviewed by: markm Silence on: arch
73 lines
1.2 KiB
Makefile
73 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
LIB= roken
|
|
|
|
SRCS= \
|
|
base64.c \
|
|
bswap.c \
|
|
concat.c \
|
|
ecalloc.c \
|
|
emalloc.c \
|
|
environment.c \
|
|
eread.c \
|
|
erealloc.c \
|
|
esetenv.c \
|
|
estrdup.c \
|
|
ewrite.c \
|
|
getaddrinfo_hostspec.c \
|
|
get_default_username.c \
|
|
get_window_size.c \
|
|
getarg.c \
|
|
getnameinfo_verified.c \
|
|
hostent_find_fqdn.c \
|
|
issuid.c \
|
|
k_getpwnam.c \
|
|
k_getpwuid.c \
|
|
mini_inetd.c \
|
|
ndbm_wrap.c \
|
|
net_read.c \
|
|
net_write.c \
|
|
parse_bytes.c \
|
|
parse_time.c \
|
|
parse_units.c \
|
|
resolve.c \
|
|
roken_gethostby.c \
|
|
rtbl.c \
|
|
signal.c \
|
|
simple_exec.c \
|
|
snprintf.c \
|
|
socket.c \
|
|
strcollect.c \
|
|
timeval.c \
|
|
tm2time.c \
|
|
unvis.c \
|
|
verify.c \
|
|
vis.c \
|
|
warnerr.c \
|
|
write_pid.c \
|
|
copyhostent.c \
|
|
strlwr.c \
|
|
strndup.c \
|
|
strnlen.c \
|
|
strsep_copy.c \
|
|
strupr.c \
|
|
roken.h
|
|
|
|
CFLAGS+=-I${KRB5DIR}/lib/roken \
|
|
-I.
|
|
|
|
INCS= roken.h \
|
|
roken-common.h
|
|
|
|
roken.h: ../../tools/make-roken/make-roken
|
|
../../tools/make-roken/make-roken > ${.TARGET}
|
|
|
|
../../tools/make-roken/make-roken:
|
|
cd ${.CURDIR}/../../tools/make-roken && ${MAKE}
|
|
|
|
CLEANFILES= roken.h
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${KRB5DIR}/lib/roken
|