diff options
author | wlemb <wlemb> | 2003-03-17 16:49:33 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-03-17 16:49:33 +0000 |
commit | 47830dccff893113eeb68d40a0cd451830253397 (patch) | |
tree | 2099ba549cc9047ee51f37dc799320e91e583285 /Makefile.in | |
parent | cab35a3943fa0842e46d87310827d44fb096dd70 (diff) | |
download | groff-47830dccff893113eeb68d40a0cd451830253397.tar.gz |
* Makefile.in (LIBEXT): New variable to indicate the file extension
of library files. Computed heuristically from $(OBJEXT).
(MDEFINES): Add $(LIBEXT).
* Makefile.lib, Makefile.comm: Use it.
* src/utils/pfbtops/pfbtops.c (get_text): New function. Split overlong
lines into smaller chunks.
(get_binary): New function.
(main): Use them.
* src/utils/pfbtops/pfbtops.man: Updated.
* src/roff/groff/groff.man: Minor syntax fix.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index a737e097..a906b98d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -295,6 +295,8 @@ YACCFLAGS=-v EXEEXT=@EXEEXT@ OBJEXT=@OBJEXT@ +# a simple heuristic assumption +LIBEXT=`case $(OBJEXT) in obj) echo lib;; *) echo a;; esac` LIBS=@LIBS@ LIBM=@LIBM@ RANLIB=@RANLIB@ @@ -345,6 +347,7 @@ MDEFINES= \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ "LDFLAGS=$(LDFLAGS)" \ + "LIBEXT=$(LIBEXT)" \ "LIBM=$(LIBM)" \ "LIBOBJS=$(LIBOBJS)" \ "LIBS=$(LIBS)" \ |