aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-04-10 16:04:43 +0000
committerBruce Evans <bde@FreeBSD.org>1997-04-10 16:04:43 +0000
commit7a57462e371d60aaeeffbc256e201be569006576 (patch)
treebf4c19335c5c0c480c502d28938a06b45ccd6f21 /gnu/usr.bin
parent67036295bce0c2faf123b6fd4e42b58d98f32f03 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/man/lib/Makefile27
1 files changed, 9 insertions, 18 deletions
diff --git a/gnu/usr.bin/man/lib/Makefile b/gnu/usr.bin/man/lib/Makefile
index aa45037ab06c..525bb1ee1f5b 100644
--- a/gnu/usr.bin/man/lib/Makefile
+++ b/gnu/usr.bin/man/lib/Makefile
@@ -1,23 +1,14 @@
-LIB = man
+LIB= man
+INTERNALLIB= true
+INTERNALSTATICLIB= true
-.if exists(${.OBJDIR})
-CONFH= ${.OBJDIR}/config.h
-.else
-CONFH= ${.CURDIR}/config.h
-.endif
+CFLAGS+= -DSTDC_HEADERS
+CLEANFILES+= config.h
+SRCS= gripes.c util.c
-NOPROFILE= YES
+all: config.h
-CFLAGS+= -I${.CURDIR} -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_COMPRESS -DALT_SYSTEMS
-CLEANFILES+= ${CONFH}
-SRCS = util.c gripes.c ${CONFH}
-
-libman.a:: ${CONFH}
-
-install:
- @echo -n
-
-${CONFH}: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
+config.h: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
-e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \
@@ -28,6 +19,6 @@ ${CONFH}: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
-e 's,%manpath_config_file%,${manpath_config_file},' \
-e 's,%compress%,${compress},' \
-e 's,%compext%,${compext},' \
- ${.CURDIR}/config.h_dist > ${CONFH}
+ ${.CURDIR}/config.h_dist > ${.TARGET}
.include <bsd.lib.mk>