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

Diff for /mandoc/Makefile between version 1.371 and 1.375

version 1.371, 2011/09/17 15:00:51 version 1.375, 2011/10/08 12:47:40
Line 9 
Line 9 
   
 # Specify this if you want to hard-code the operating system to appear  # Specify this if you want to hard-code the operating system to appear
 # in the lower-left hand corner of -mdoc manuals.  # in the lower-left hand corner of -mdoc manuals.
   #
 # CFLAGS        += -DOSNAME="\"OpenBSD 4.5\""  # CFLAGS        += -DOSNAME="\"OpenBSD 4.5\""
   
 VERSION          = 1.11.7  VERSION          = 1.12.0
 VDATE            = 2 September 2011  VDATE            = 8 October 2011
   
 # IFF your system supports multi-byte functions (setlocale(), wcwidth(),  # IFF your system supports multi-byte functions (setlocale(), wcwidth(),
 # putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a  # putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a
 # UCS-4 value) should you define USE_WCHAR.  If you define it and your  # UCS-4 value) should you define USE_WCHAR.  If you define it and your
 # system DOESN'T support this, -Tlocale will produce garbage.  # system DOESN'T support this, -Tlocale will produce garbage.
 # If you don't define it, -Tlocale is a synonym for -Tacsii.  # If you don't define it, -Tlocale is a synonym for -Tacsii.
   #
 CFLAGS          += -DUSE_WCHAR  CFLAGS          += -DUSE_WCHAR
   
 CFLAGS          += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""  CFLAGS          += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
 CFLAGS          += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  CFLAGS          += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
 PREFIX           = /usr/local  PREFIX           = /usr/local
Line 34  INSTALL_LIB  = $(INSTALL) -m 0644
Line 38  INSTALL_LIB  = $(INSTALL) -m 0644
 INSTALL_SOURCE   = $(INSTALL) -m 0644  INSTALL_SOURCE   = $(INSTALL) -m 0644
 INSTALL_MAN      = $(INSTALL_DATA)  INSTALL_MAN      = $(INSTALL_DATA)
   
 # Linux needs -ldb to compile mandocdb.  # Non-BSD systems (Linux, etc.) need -ldb to compile mandocdb and
   # apropos.
   # However, if you don't have -ldb at all (or it's not native), then
   # comment out apropos and mandocdb.
   #
 #DBLIB           = -ldb  #DBLIB           = -ldb
   DBBIN            = apropos mandocdb
   
 all: mandoc preconv demandoc  all: mandoc preconv demandoc $(DBBIN)
   
 SRCS             = Makefile \  SRCS             = Makefile \
                      apropos.1 \
                      apropos.c \
                    arch.c \                     arch.c \
                    arch.in \                     arch.in \
                    att.c \                     att.c \
Line 266  PRECONV_LNS  = preconv.ln
Line 277  PRECONV_LNS  = preconv.ln
   
 $(PRECONV_OBJS) $(PRECONV_LNS): config.h  $(PRECONV_OBJS) $(PRECONV_LNS): config.h
   
   APROPOS_OBJS     = apropos.o
   APROPOS_LNS      = apropos.ln
   
   $(APROPOS_OBJS) $(APROPOS_LNS): config.h mandoc.h
   
 DEMANDOC_OBJS    = demandoc.o  DEMANDOC_OBJS    = demandoc.o
 DEMANDOC_LNS     = demandoc.ln  DEMANDOC_LNS     = demandoc.ln
   
 $(DEMANDOC_OBJS) $(DEMANDOC_LNS): config.h  $(DEMANDOC_OBJS) $(DEMANDOC_LNS): config.h
   
 INDEX_MANS       = demandoc.1.html \  INDEX_MANS       = apropos.1.html \
                      apropos.1.xhtml \
                      apropos.1.ps \
                      apropos.1.pdf \
                      apropos.1.txt \
                      demandoc.1.html \
                    demandoc.1.xhtml \                     demandoc.1.xhtml \
                    demandoc.1.ps \                     demandoc.1.ps \
                    demandoc.1.pdf \                     demandoc.1.pdf \
Line 347  clean:
Line 368  clean:
         rm -f llib-lmandocdb.ln $(MANDOCDB_LNS)          rm -f llib-lmandocdb.ln $(MANDOCDB_LNS)
         rm -f preconv $(PRECONV_OBJS)          rm -f preconv $(PRECONV_OBJS)
         rm -f llib-lpreconv.ln $(PRECONV_LNS)          rm -f llib-lpreconv.ln $(PRECONV_LNS)
           rm -f apropos $(APROPOS_OBJS)
           rm -f llib-lapropos.ln $(APROPOS_LNS)
         rm -f demandoc $(DEMANDOC_OBJS)          rm -f demandoc $(DEMANDOC_OBJS)
         rm -f llib-ldemandoc.ln $(DEMANDOC_LNS)          rm -f llib-ldemandoc.ln $(DEMANDOC_LNS)
         rm -f mandoc $(MANDOC_OBJS)          rm -f mandoc $(MANDOC_OBJS)
Line 412  preconv: $(PRECONV_OBJS)
Line 435  preconv: $(PRECONV_OBJS)
 llib-lpreconv.ln: $(PRECONV_LNS)  llib-lpreconv.ln: $(PRECONV_LNS)
         $(LINT) $(LINTFLAGS) -Cpreconv $(PRECONV_LNS)          $(LINT) $(LINTFLAGS) -Cpreconv $(PRECONV_LNS)
   
   apropos: $(APROPOS_OBJS) libmandoc.a
           $(CC) $(LDFLAGS) -o $@ $(APROPOS_OBJS) libmandoc.a $(DBLIB)
   
   llib-lapropos.ln: $(APROPOS_LNS)
           $(LINT) $(LINTFLAGS) -Capropos $(APROPOS_LNS)
   
 demandoc: $(DEMANDOC_OBJS) libmandoc.a  demandoc: $(DEMANDOC_OBJS) libmandoc.a
         $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a          $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a
   
Line 431  mdocml-win32.zip: $(SRCS)
Line 460  mdocml-win32.zip: $(SRCS)
         mkdir -p .win32/mdocml-$(VERSION)/          mkdir -p .win32/mdocml-$(VERSION)/
         $(INSTALL_SOURCE) $(SRCS) .win32          $(INSTALL_SOURCE) $(SRCS) .win32
         cp .win32/Makefile .win32/Makefile.old          cp .win32/Makefile .win32/Makefile.old
         grep -v DUSE_WCHAR .win32/Makefile.old >.win32/Makefile          egrep -v -e DUSE_WCHAR -e ^DBBIN .win32/Makefile.old >.win32/Makefile
         ( cd .win32; \          ( cd .win32; \
                 CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \                  CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \
                 make install PREFIX=mdocml-$(VERSION) ; \                  make install PREFIX=mdocml-$(VERSION) ; \
Line 442  mdocml-win64.zip: $(SRCS)
Line 471  mdocml-win64.zip: $(SRCS)
         mkdir -p .win64/mdocml-$(VERSION)/          mkdir -p .win64/mdocml-$(VERSION)/
         $(INSTALL_SOURCE) $(SRCS) .win64          $(INSTALL_SOURCE) $(SRCS) .win64
         cp .win64/Makefile .win64/Makefile.old          cp .win64/Makefile .win64/Makefile.old
         grep -v DUSE_WCHAR .win64/Makefile.old >.win64/Makefile          egrep -v -e DUSE_WCHAR -e ^DBBIN .win64/Makefile.old >.win64/Makefile
         ( cd .win64; \          ( cd .win64; \
                 CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \                  CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \
                 make install PREFIX=mdocml-$(VERSION) ; \                  make install PREFIX=mdocml-$(VERSION) ; \

Legend:
Removed from v.1.371  
changed lines
  Added in v.1.375

CVSweb