~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use `libtool' to generate a shared library.
[mLib]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
6ff03e8
..
2c1b4ac
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1,6
+1,6
@@
## -*-Makefile-*-
##
## -*-Makefile-*-
##
-## $Id: Makefile.am,v 1.1
5 1999/10/22 22:40:49
mdw Exp $
+## $Id: Makefile.am,v 1.1
7 1999/11/11 18:47:33
mdw Exp $
##
## Building the distribution
##
##
## Building the distribution
##
@@
-29,6
+29,12
@@
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.17 1999/11/11 18:47:33 mdw
+## Use `libtool' to generate a shared library.
+##
+## Revision 1.16 1999/11/11 17:48:28 mdw
+## New configuration system for library clients.
+##
## Revision 1.15 1999/10/22 22:40:49 mdw
## New source files. New testing system for sym and dynarray.
##
## Revision 1.15 1999/10/22 22:40:49 mdw
## New source files. New testing system for sym and dynarray.
##
@@
-87,7
+93,9
@@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = man
SUBDIRS = man
-lib_LIBRARIES = libmLib.a
+bin_SCRIPTS = mLib-config
+
+lib_LTLIBRARIES = libmLib.la
libexec_PROGRAMS = bres
pkginclude_HEADERS = \
libexec_PROGRAMS = bres
pkginclude_HEADERS = \
@@
-99,9
+107,11
@@
pkginclude_HEADERS = \
## --- Things to put in the library ---
## --- Things to put in the library ---
-## libmLib_la_LDFLAGS = -version-info 1:0
+libmLib_la_LDFLAGS = -version-info 7:0:6
+## Middle number is the patchlevel. Final number is the minor version. The
+## difference between the first and last numbers is major version.
-libmLib_a_SOURCES = \
+libmLib_
l
a_SOURCES = \
alloc.c exc.c quis.c pquis.c report.c sub.c trace.c traceopt.c \
track.c \
darray.c dstr.c dputf.c dspool.c hash.c sym.c crc32.c \
alloc.c exc.c quis.c pquis.c report.c sub.c trace.c traceopt.c \
track.c \
darray.c dstr.c dputf.c dspool.c hash.c sym.c crc32.c \
@@
-115,7
+125,7
@@
noinst_PROGRAMS = da-test sym-test
check: da-test.test sym-test.test
check: da-test.test sym-test.test
-da_test_LDADD = libmLib.a
+da_test_LDADD = libmLib.
l
a
da-test.in:
perl $(srcdir)/da-gtest 10000 >da-test.in
da-test.ref: da-test.in
da-test.in:
perl $(srcdir)/da-gtest 10000 >da-test.in
da-test.ref: da-test.in
@@
-125,7
+135,7
@@
da-test.test: da-test da-test.in da-test.ref
cmp da-test.test da-test.ref
@echo "darray tested OK."
cmp da-test.test da-test.ref
@echo "darray tested OK."
-sym_test_LDADD = libmLib.a
+sym_test_LDADD = libmLib.
l
a
sym-test.in:
perl $(srcdir)/sym-gtest 10000 >sym-test.in
sym-test.ref: sym-test.in
sym-test.in:
perl $(srcdir)/sym-gtest 10000 >sym-test.in
sym-test.ref: sym-test.in
@@
-154,8
+164,8
@@
bres: bres-stnd.o
bres-stnd.o: $(srcdir)/bres.c
$(COMPILE) -c -DBRES_STANDALONE -o bres-stnd.o $(srcdir)/bres.c
bres-stnd.o: $(srcdir)/bres.c
$(COMPILE) -c -DBRES_STANDALONE -o bres-stnd.o $(srcdir)/bres.c
-bres.o: $(srcdir)/bres.c
- $(COMPILE) -c -DBRES_SERVER="\"$(libexecdir)/`echo bres|sed '$(transform)'`\"" $(srcdir)/bres.c
+bres.
l
o: $(srcdir)/bres.c
+ $(
LT
COMPILE) -c -DBRES_SERVER="\"$(libexecdir)/`echo bres|sed '$(transform)'`\"" $(srcdir)/bres.c
## --- Other useful rules ---
## --- Other useful rules ---