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.lib | |
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.lib')
-rw-r--r-- | Makefile.lib | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.lib b/Makefile.lib index 8861360e..62a82221 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -1,4 +1,4 @@ -LIBCLEAN=lib$(LIB).a +LIBCLEAN=lib$(LIB).$(LIBEXT) MAKEFILEPARTS=\ $(top_srcdir)/Makefile.comm \ $(top_builddir)/Makefile.cfg \ @@ -6,9 +6,9 @@ MAKEFILEPARTS=\ $(top_srcdir)/Makefile.lib \ Makefile.dep -all: lib$(LIB).a +all: lib$(LIB).$(LIBEXT) -lib$(LIB).a: $(OBJS) +lib$(LIB).$(LIBEXT): $(OBJS) $(AR) r $@ $? $(RANLIB) $@ |