-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
42 lines (31 loc) · 1.37 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
AM_CPPFLAGS=-I$(srcdir)/libmap
SUBDIRS=libmap regress
MAN1= cg.mdoc
bin_PROGRAMS=cg
MANFMT=@MANFMT@
man1_MANS=${MAN1:.mdoc=.${MANFMT}}
noinst_PROGRAMS=testdec
EXTRA_DIST=cg.mdoc cg.man
cg_SOURCES=checkgroup.c crc.c decode.c header.c mime.c newsrc.c \
output.c parserc.l ranges.c sockets.c stream.c stream_article.c \
stream_cat.c stream_decode.c stream_file.c stream_quot_print.c \
stream_msg_multi.c stream_msg_partial.c stream_section.c \
stream_uuextract.c stream_yenc.c symbol.c tables.c token.c util.c
cg_LDADD=libmap/libmap.a @LIBOBJS@ @LEXLIB@
testdec_LDADD=@LIBOBJS@
testdec_SOURCES=testdec.c crc.c decode.c util.c mime.c tables.c header.c \
stream_fcat.c stream_decode.c stream.c stream_msg_multi.c token.c \
stream_file.c stream_section.c output.c stream_uuextract.c \
stream_msg_partial.c stream_article.c stream_quot_print.c \
stream_yenc.c symbol.c
#stest_SOURCES=stest.c util.c stream.c token.c stream_file.c stream_section.c
noinst_HEADERS=checkgroup.h crc.h decode.h getopt.h globals.h header.h mime.h \
newsrc.h output.h ranges.h sockets.h stream.h stream_types.h symbol.h \
util.h
CLEANFILES= parserc.c
SUFFIXES=.man .mdoc .html
.mdoc.man:
mandoc -T man $< | sed '/TH/s,"NetBSD [^"]*","NiH",' > $@.$$$$ && diff -I NiH $@.$$$$ $@ || mv $@.$$$$ $@; \
rm -f $@.$$$$
.mdoc.html:
mandoc -Thtml -Oman="%N.html",style=../nih-man.css $< > $@.$$$$ && mv $@.$$$$ $@