]> git.cameronkatri.com Git - mandoc.git/blobdiff - Makefile
Most important move in getting predefined strings entirely contained
[mandoc.git] / Makefile
index cc3fb743b6f27ee12b7413a4457692caca4574b8..2f49ffd2fa2844beff2339dd9323ef89d1cc7d7b 100644 (file)
--- a/Makefile
+++ b/Makefile
 
 VERSION                 = 1.11.2
 VDATE           = 12 May 2011
-CFLAGS         += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
+# 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
+# system DOESN'T support this, -Tlocale will produce garbage.
+# If you don't define it, -Tlocale is a synonym for -Tacsii.
+CFLAGS         += -g -DUSE_WCHAR -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
 CFLAGS         += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
 PREFIX          = /usr/local
 BINDIR          = $(PREFIX)/bin
@@ -83,6 +88,7 @@ SRCS           = Makefile \
                   msec.in \
                   out.c \
                   out.h \
+                  predefs.in \
                   read.c \
                   roff.7 \
                   roff.c \
@@ -169,6 +175,7 @@ att.o att.ln: att.in
 chars.o chars.ln: chars.in
 lib.o lib.ln: lib.in
 msec.o msec.ln: msec.in
+roff.o roff.ln: predefs.in
 st.o st.ln: st.in
 vol.o vol.ln: vol.in