[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Makefile between version 1.4 and 1.11

version 1.4, 2008/11/23 16:53:18 version 1.11, 2008/11/27 13:29:44
Line 1 
Line 1 
 CFLAGS += -W -Wall -g  CFLAGS += -W -Wall -Wno-unused-parameter -g
   
 LINTFLAGS += -c -e -f -u  LINTFLAGS += -c -e -f -u
   
 LNS     = mdocml.ln html4_strict.ln dummy.ln libmdocml.ln  LNS     = mdocml.ln html4_strict.ln dummy.ln libmdocml.ln roff.ln
   
 LLNS    = llib-lmdocml.ln  LLNS    = llib-lmdocml.ln
   
 LIBS    = libmdocml.a  LIBS    = libmdocml.a
   
 OBJS    = mdocml.o html4_strict.o dummy.o libmdocml.o  OBJS    = mdocml.o html4_strict.o dummy.o libmdocml.o roff.o
   
 SRCS    = mdocml.c html4_strict.c dummy.c libmdocml.c  SRCS    = mdocml.c html4_strict.c dummy.c libmdocml.c roff.c
   
 HEADS   = libmdocml.h private.h  HEADS   = libmdocml.h private.h
   
Line 19  CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIB
Line 20  CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIB
   
 INSTALL = Makefile $(HEADS) $(SRCS) $(MANS)  INSTALL = Makefile $(HEADS) $(SRCS) $(MANS)
   
   FAIL    = test.0 test.1 test.2 test.3 test.4 test.5 test.6 \
             test.15 test.20
   
   SUCCEED = test.7 test.8 test.9 test.10 test.11 test.12 test.13 \
             test.14 test.16 test.17 test.18 test.19 test.21
   
   
 all: mdocml  all: mdocml
   
 lint: llib-lmdocml.ln  lint: llib-lmdocml.ln
   
 dist: mdocml.tgz  dist: mdocml.tgz
   
   regress: mdocml
           @for f in $(FAIL); do ./mdocml $$f 1>/dev/null 2>/dev/null || continue ; done
           @for f in $(SUCCEED); do ./mdocml $$f 1>/dev/null || exit 1 ; done
   
 mdocml: mdocml.o libmdocml.a  mdocml: mdocml.o libmdocml.a
         $(CC) $(CFLAGS) -o $@ mdocml.o libmdocml.a          $(CC) $(CFLAGS) -o $@ mdocml.o libmdocml.a
   
Line 38  mdocml.tgz: $(INSTALL)
Line 49  mdocml.tgz: $(INSTALL)
         ( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ )          ( cd .dist/ && tar zcf ../mdocml.tgz mdocml/ )
         rm -rf .dist/          rm -rf .dist/
   
 llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln dummy.ln  llib-lmdocml.ln: mdocml.ln libmdocml.ln html4_strict.ln dummy.ln roff.ln
         $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln dummy.ln          $(LINT) $(LINTFLAGS) -Cmdocml mdocml.ln libmdocml.ln html4_strict.ln dummy.ln roff.ln
   
 mdocml.ln: mdocml.c  mdocml.ln: mdocml.c
   
Line 47  mdocml.o: mdocml.c 
Line 58  mdocml.o: mdocml.c 
   
 mdocml.c: libmdocml.h  mdocml.c: libmdocml.h
   
 libmdocml.a: libmdocml.o html4_strict.o dummy.o  libmdocml.a: libmdocml.o html4_strict.o dummy.o roff.o
         $(AR) rs $@ libmdocml.o html4_strict.o dummy.o          $(AR) rs $@ libmdocml.o html4_strict.o dummy.o roff.o
   
 html4_strict.ln: html4_strict.c  html4_strict.ln: html4_strict.c
   
Line 56  html4_strict.o: html4_strict.c 
Line 67  html4_strict.o: html4_strict.c 
   
 html4_strict.c: private.h libmdocml.h  html4_strict.c: private.h libmdocml.h
   
   roff.ln: roff.c
   
   roff.o: roff.c
   
   roff.c: private.h libmdocml.h
   
 libmdocml.ln: libmdocml.c  libmdocml.ln: libmdocml.c
   
 libmdocml.o: libmdocml.c  libmdocml.o: libmdocml.c
   
 libmdocml.c: private.h libmdocml.h  libmdocml.c: private.h libmdocml.h
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.11

CVSweb