=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.363 retrieving revision 1.367 diff -u -p -r1.363 -r1.367 --- mandoc/Makefile 2011/07/24 19:03:40 1.363 +++ mandoc/Makefile 2011/08/16 12:31:01 1.367 @@ -11,8 +11,8 @@ # in the lower-left hand corner of -mdoc manuals. # CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" -VERSION = 1.11.5 -VDATE = 24 July 2011 +VERSION = 1.11.6 +VDATE = 16 August 2011 # IFF your system supports multi-byte functions (setlocale(), wcwidth(), # 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 @@ -117,9 +117,11 @@ SRCS = Makefile \ term.h \ term_ascii.c \ term_ps.c \ + test-getsubopt.c \ test-mmap.c \ test-strlcat.c \ test-strlcpy.c \ + test-strptime.c \ tree.c \ vol.c \ vol.in @@ -330,8 +332,13 @@ clean: rm -f mandoc $(MANDOC_OBJS) rm -f llib-lmandoc.ln $(MANDOC_LNS) rm -f config.h config.log $(COMPAT_OBJS) $(COMPAT_LNS) - rm -f mdocml.tar.gz mdocml-win32.zip + rm -f mdocml.tar.gz mdocml-win32.zip mdocml-win64.zip rm -f index.html $(INDEX_OBJS) + rm -rf test-strlcpy.DSYM + rm -rf test-strlcat.DSYM + rm -rf test-strptime.DSYM + rm -rf test-mmap.DSYM + rm -rf test-getsubopt.DSYM install: all mkdir -p $(DESTDIR)$(BINDIR) @@ -399,10 +406,21 @@ mdocml-win32.zip: $(SRCS) $(INSTALL_SOURCE) $(SRCS) .win32 cp .win32/Makefile .win32/Makefile.old grep -v DUSE_WCHAR .win32/Makefile.old >.win32/Makefile - ( cd .win32; CC=i586-mingw32msvc-cc AR=i586-mingw32msvc-ar CFLAGS='-DOSNAME=\"Windows\"' make; \ + ( cd .win32; CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \ make install PREFIX=mdocml-$(VERSION) ; \ zip -r ../$@ mdocml-$(VERSION) ) rm -rf .win32 + +mdocml-win64.zip: $(SRCS) + mkdir -p .win64/mdocml-$(VERSION)/ + $(INSTALL_SOURCE) $(SRCS) .win64 + cp .win64/Makefile .win64/Makefile.old + grep -v DUSE_WCHAR .win64/Makefile.old >.win64/Makefile + ( cd .win64; CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \ + make install PREFIX=mdocml-$(VERSION) ; \ + zip -r ../$@ mdocml-$(VERSION) ) + rm -rf .win64 + index.html: $(INDEX_OBJS)