summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-03 14:39:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-03 14:39:59 +0000
commitac4bc07079be4963163734d67749697140f23b4b (patch)
treeb286cf3805fac09fc13f81d1055c1d879eeaf65d /Makefile
parent947a810f327c5d9b23991b114fea38e5c44aa5ad (diff)
downloadmandoc-ac4bc07079be4963163734d67749697140f23b4b.tar.gz
Abstract ml/mlg/html/xml.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 21 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index c2656cf3..a5ec3972 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,15 @@ CFLAGS += -W -Wall -Wno-unused-parameter -g
LINTFLAGS += -c -e -f -u
-LNS = mdocml.ln html4_strict.ln xml.ln libmdocml.ln roff.ln ml.ln
+LNS = mdocml.ln html.ln xml.ln libmdocml.ln roff.ln ml.ln mlg.ln compat.ln
LLNS = llib-lmdocml.ln
LIBS = libmdocml.a
-OBJS = mdocml.o html4_strict.o xml.o libmdocml.o roff.o ml.o
+OBJS = mdocml.o html.o xml.o libmdocml.o roff.o ml.o mlg.o compat.o
-SRCS = mdocml.c html4_strict.c xml.c libmdocml.c roff.c ml.c
+SRCS = mdocml.c html.c xml.c libmdocml.c roff.c ml.c mlg.c compat.c
HEADS = libmdocml.h private.h
@@ -52,23 +52,23 @@ mdocml.tgz: $(INSTALL)
( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ )
rm -rf .dist/
-llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln xml.ln roff.ln ml.ln
- $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln xml.ln roff.ln ml.ln
+llib-lmdocml.ln: mdocml.ln libmdocml.ln html.ln xml.ln roff.ln ml.ln mlg.ln compat.ln
+ $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html.ln xml.ln roff.ln ml.ln mlg.ln compat.ln
mdocml.ln: mdocml.c libmdocml.h
mdocml.o: mdocml.c libmdocml.h
-libmdocml.a: libmdocml.o html4_strict.o xml.o roff.o ml.o
- $(AR) rs $@ libmdocml.o html4_strict.o xml.o roff.o ml.o
+libmdocml.a: libmdocml.o html.o xml.o roff.o ml.o mlg.o compat.o
+ $(AR) rs $@ libmdocml.o html.o xml.o roff.o ml.o mlg.o compat.o
-xml.ln: xml.c private.h libmdocml.h
+xml.ln: xml.c private.h libmdocml.h ml.h
-xml.o: xml.c private.h libmdocml.h
+xml.o: xml.c private.h libmdocml.h ml.h
-html4_strict.ln: html4_strict.c private.h libmdocml.h
+html.ln: html.c private.h libmdocml.h
-html4_strict.o: html4_strict.c private.h libmdocml.h
+html.o: html.c private.h libmdocml.h
roff.ln: roff.c private.h libmdocml.h
@@ -78,6 +78,14 @@ libmdocml.ln: libmdocml.c private.h libmdocml.h
libmdocml.o: libmdocml.c private.h libmdocml.h
-ml.ln: ml.c private.h libmdocml.h
+ml.ln: ml.c private.h libmdocml.h ml.h
-ml.o: ml.c private.h libmdocml.h
+ml.o: ml.c private.h libmdocml.h ml.h
+
+mlg.ln: mlg.c private.h libmdocml.h ml.h
+
+mlg.o: mlg.c private.h libmdocml.h ml.h
+
+compat.ln: compat.c
+
+compat.o: compat.c