/[pcre]/code/tags/pcre-7.0/Makefile.in
ViewVC logotype

Diff of /code/tags/pcre-7.0/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 46 by nigel, Sat Feb 24 21:39:25 2007 UTC revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC
# Line 38  RANLIB = @RANLIB@ Line 38  RANLIB = @RANLIB@
38    
39  # LIBTOOL defaults to "", which cuts out the building of shared libraries.  # LIBTOOL defaults to "", which cuts out the building of shared libraries.
40  # If "configure" is called with --enable-shared-libraries, then LIBTOOL is  # If "configure" is called with --enable-shared-libraries, then LIBTOOL is
41  # set to "libtool", which causes shared libraries to be built, and LIBSUFFIX  # set to "./libtool", which causes shared libraries to be built, and LIBSUFFIX
42  # is set to "la" instead of "a", which causes the shared libraries to be  # is set to "la" instead of "a", which causes the shared libraries to be
43  # installed.  # installed.
44    
# Line 79  LOBJ = maketables.lo get.lo study.lo pcr Line 79  LOBJ = maketables.lo get.lo study.lo pcr
79  all:            libtool libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX) pcretest pgrep  all:            libtool libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX) pcretest pgrep
80    
81  libtool:        config.guess config.sub ltconfig ltmain.sh  libtool:        config.guess config.sub ltconfig ltmain.sh
82                  @if test "$(LIBTOOL)" = "libtool"; then \                  @if test "$(LIBTOOL)" = "./libtool"; then \
83                    echo '--- Building libtool ---'; \                    echo '--- Building libtool ---'; \
84                    ./ltconfig ./ltmain.sh; \                    ./ltconfig ./ltmain.sh; \
85                    echo '--- Built libtool ---'; fi                    echo '--- Built libtool ---'; fi
# Line 110  libpcre.la: $(OBJ) Line 110  libpcre.la: $(OBJ)
110                  @echo '--- Building shared library: libpcre'                  @echo '--- Building shared library: libpcre'
111                  @echo ' '                  @echo ' '
112                  -rm -f libpcre.la                  -rm -f libpcre.la
113                  libtool $(CC) -version-info '$(PCRELIBVERSION)' -o libpcre.la -rpath $(LIBDIR) $(LOBJ)                  ./libtool $(CC) -version-info '$(PCRELIBVERSION)' -o libpcre.la -rpath $(LIBDIR) $(LOBJ)
114    
115  libpcreposix.a: pcreposix.o  libpcreposix.a: pcreposix.o
116                  @echo ' '                  @echo ' '
# Line 125  libpcreposix.la: pcreposix.o Line 125  libpcreposix.la: pcreposix.o
125                  @echo '--- Building shared library: libpcreposix'                  @echo '--- Building shared library: libpcreposix'
126                  @echo ' '                  @echo ' '
127                  -rm -f libpcreposix.la                  -rm -f libpcreposix.la
128                  libtool $(CC) -version-info '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la -rpath $(LIBDIR) pcreposix.lo                  ./libtool $(CC) -version-info '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la -rpath $(LIBDIR) pcreposix.lo
129    
130  pcre.o:         chartables.c pcre.c pcre.h internal.h config.h Makefile  pcre.o:         chartables.c pcre.c pcre.h internal.h config.h Makefile
131                  $(LIBTOOL) $(CC) -c $(CFLAGS) pcre.c                  $(LIBTOOL) $(CC) -c $(CFLAGS) pcre.c
# Line 164  install: all Line 164  install: all
164                  $(INSTALL_DATA) doc/pcre.3 $(MANDIR)/man3/pcre.3                  $(INSTALL_DATA) doc/pcre.3 $(MANDIR)/man3/pcre.3
165                  $(INSTALL_DATA) doc/pcreposix.3 $(MANDIR)/man3/pcreposix.3                  $(INSTALL_DATA) doc/pcreposix.3 $(MANDIR)/man3/pcreposix.3
166                  $(INSTALL_DATA) doc/pgrep.1 $(MANDIR)/man1/pgrep.1                  $(INSTALL_DATA) doc/pgrep.1 $(MANDIR)/man1/pgrep.1
167                  @if test "$(LIBTOOL)" = "libtool"; then \                  @if test "$(LIBTOOL)" = "./libtool"; then \
168                    echo ' '; \                    echo ' '; \
169                    echo '--- Rebuilding pgrep to use installed shared library ---'; \                    echo '--- Rebuilding pgrep to use installed shared library ---'; \
170                    echo $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \                    echo $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \

Legend:
Removed from v.46  
changed lines
  Added in v.47

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12