ref: 8460970ec5978350db560979cb6aaccf57f5ffde
parent: 109d777225b7766152f38907c3fe5b1edc01fbb4
author: rrt <rrt>
date: Wed Dec 6 21:45:10 EST 2006
Install man pages. Build libgsm from .c files, not .o files. Duh.
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,5 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src
+
+man_MANS = sox.1 soxexam.1 play.1 libst.3
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,5 @@
SUBDIRS = libgsm
-# Objects.
-
bin_PROGRAMS = sox
lib_LIBRARIES = libst.a
--- a/src/libgsm/Makefile.am
+++ b/src/libgsm/Makefile.am
@@ -1,17 +1,15 @@
-######### Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
+man_MANS = gsm.3 gsm_options.3
+
+# Define SASR if >> is a signed arithmetic shift (-1 >> 1 == -1)
SASR = -DSASR
-######### Define this if your host multiplies floats faster than integers,
-######### e.g. on a SPARCstation.
-MULHACK = -DUSE_FLOAT_MUL
-
# Build macros.
-CFLAGS = @CFLAGS@ @DEFS@ $(SASR) $(MULHAC) -I$(top_srcdir)/gsm
+CFLAGS = @CFLAGS@ @DEFS@ $(SASR) -I$(top_srcdir)/libgsm
# Objects.
lib_LIBRARIES = libgsm.a
-libgsm_a_SOURCES = add.o code.o decode.o long_term.o lpc.o preprocess.o \
- rpe.o gsm_destroy.o gsm_decode.o gsm_encode.o gsm_create.o \
- gsm_option.o short_term.o table.o
+libgsm_a_SOURCES = add.c code.c decode.c long_term.c lpc.c preprocess.c \
+ rpe.c gsm_destroy.c gsm_decode.c gsm_encode.c gsm_create.c \
+ gsm_option.c short_term.c table.c