Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.
/trunk/configure | 26 14 12 0 ++++++++++---------
/trunk/Makefile.in | 83 45 38 0 +++++++++++++++++++++++++++++++++---------------------------
2 files changed, 59 insertions(+), 50 deletions(-)
1 This patch makes building the shared library possible.
3 Copyright 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 Licensed to you as dmalloc-5.5.2 is.
6 diff -dur dmalloc-5.5.2.orig/Makefile.in dmalloc-5.5.2/Makefile.in
7 --- dmalloc-5.5.2.orig/Makefile.in 2007-05-14 19:26:14.000000000 +0200
8 +++ dmalloc-5.5.2/Makefile.in 2007-05-18 15:54:04.000000000 +0200
10 # via: http://256.com/gray/email.html
11 $(LIB_SL) : $(LIBRARY)
13 - @shlinkargs@ $(LIBRARY) $(OBJS) $(NORMAL_OBJS)
14 + @shlinkargs@ $(LIBRARY)
17 $(LIBRARY) : $(OBJS) $(NORMAL_OBJS)
20 $(LIB_TH_SL) : $(LIB_TH)
22 - @shlinkargs@ $(LIB_TH) $(OBJS) $(THREAD_OBJS)
23 + @shlinkargs@ $(LIB_TH)
26 $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
29 $(LIB_CXX_SL) : $(LIB_CXX)
31 - @shlinkargs@ $(LIB_CXX) $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS)
32 + @shlinkargs@ $(LIB_CXX)
35 $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
38 $(LIB_TH_CXX_SL) : $(LIB_TH_CXX)
40 - @shlinkargs@ $(LIB_TH_CXX) $(OBJS) $(THREAD_OBJS) $(CXX_OBJS)
41 + @shlinkargs@ $(LIB_TH_CXX)
44 threadssl : $(LIB_TH_SL)