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

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

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

code/trunk/Makefile.in revision 43 by nigel, Sat Feb 24 21:39:21 2007 UTC code/tags/pcre-4.4/Makefile.in revision 72 by nigel, Sat Feb 24 21:40:26 2007 UTC
# Line 1  Line 1 
1    
2  # Makefile.in for PCRE (Perl-Compatible Regular Expression) library.  # Makefile.in for PCRE (Perl-Compatible Regular Expression) library.
3    
4  #---------------------------------------------------------------------------#  
5  # To build mingw32 DLL uncomment the next two lines. This addition for      #  #############################################################################
6  # mingw32 was contributed by <Paul.Sokolovsky@technologist.com>. I (Philip  #  
7  # Hazel) don't know anything about it! There are some additional targets at #  # PCRE is developed on a Unix system. I do not use Windows or Macs, and know
8  # the bottom of this Makefile.                                              #  # nothing about building software on them. Although the code of PCRE should
9  #---------------------------------------------------------------------------#  # be very portable, the building system in this Makefile is designed for Unix
10  #  # systems. However, there are features that have been supplied to me by various
11  # include dll.mk  # people that should make it work on MinGW and Cygwin systems.
12  # DLL_LDFLAGS=-s  
13    # This setting enables Unix-style directory scanning in pcregrep, triggered
14    # by the -f option. Maybe one day someone will add code for other systems.
15    
16    PCREGREP_OSTYPE=-DIS_UNIX
17    
18    #############################################################################
19    
20    
21  #---------------------------------------------------------------------------#  #---------------------------------------------------------------------------#
22  # The next few lines are modified by "configure" to insert data that it is  #  # The following lines are modified by "configure" to insert data that it is #
23  # given in its arguments, or which it finds out for itself.                 #  # given in its arguments, or which it finds out for itself.                 #
24  #---------------------------------------------------------------------------#  #---------------------------------------------------------------------------#
25    
26  # BINDIR is the directory in which the pgrep command is installed.  SHELL = @SHELL@
 # INCDIR is the directory in which the public header file pcre.h is installed.  
 # LIBDIR is the directory in which the libraries are installed.  
 # MANDIR is the directory in which the man pages are installed.  
 # The pcretest program, as it is a test program, does not get installed  
 # anywhere.  
   
27  prefix = @prefix@  prefix = @prefix@
28  exec_prefix = @exec_prefix@  exec_prefix = @exec_prefix@
29    top_srcdir = @top_srcdir@
30    
31    mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
32    
33    # NB: top_builddir is not referred to directly below, but it is used in the
34    # setting of $(LIBTOOL), so don't remove it!
35    
36    top_builddir = .
37    
38    # BINDIR is the directory in which the pcregrep, pcretest, and pcre-config
39    #          commands are installed.
40    # INCDIR is the directory in which the public header files pcre.h and
41    #          pcreposix.h are installed.
42    # LIBDIR is the directory in which the libraries are installed.
43    # MANDIR is the directory in which the man pages are installed.
44    
45  BINDIR = @bindir@  BINDIR = @bindir@
46  LIBDIR = @libdir@  LIBDIR = @libdir@
47  INCDIR = @includedir@  INCDIR = @includedir@
48  MANDIR = @mandir@  MANDIR = @mandir@
49    
50    # EXEEXT is set by configure to the extention of an executable file
51    # OBJEXT is set by configure to the extention of an object file
52    # The BUILD_* equivalents are the same but for the host we're building on
53    
54    EXEEXT = @EXEEXT@
55    OBJEXT = @OBJEXT@
56    # Note that these are just here to have a convenient place to look at the
57    # outcome.
58    BUILD_EXEEXT = @BUILD_EXEEXT@
59    BUILD_OBJEXT = @BUILD_OBJEXT@
60    
61    # The compiler, C flags, preprocessor flags, etc
62    
63  CC = @CC@  CC = @CC@
64  CFLAGS = @CFLAGS@  CFLAGS = @CFLAGS@
65  RANLIB = @RANLIB@  CPPFLAGS = @CPPFLAGS@
66    CC_FOR_BUILD = @CC_FOR_BUILD@
67    CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
68    CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
69    UTF8 = @UTF8@
70    NEWLINE = @NEWLINE@
71    POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@
72    LINK_SIZE = @LINK_SIZE@
73    MATCH_LIMIT= @MATCH_LIMIT@
74    
75  # LIBTOOL defaults to "", which cuts out the building of shared libraries.  INSTALL = @INSTALL@
76  # If "configure" is called with --enable-shared-libraries, then LIBTOOL is  INSTALL_DATA = @INSTALL_DATA@
77  # set to "libtool", which causes shared libraries to be built, and LIBSUFFIX  
78  # is set to "la" instead of "a", which causes the shared libraries to be  # LIBTOOL enables the building of shared and static libraries. It is set up
79  # installed.  # to do one or the other or both by ./configure.
80    
81  LIBTOOL = @LIBTOOL@  LIBTOOL = @LIBTOOL@
82  LIBSUFFIX = @LIBSUFFIX@  LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT)
83    @ON_WINDOWS@LINK = $(CC) $(CFLAGS) -I. -I$(top_srcdir) -L.libs
84    @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
85    LINKLIB = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
86    LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
87    
88  # These are the version numbers for the shared libraries  # These are the version numbers for the shared libraries
89    
90  PCRELIBVERSION = @PCRE_LIB_VERSION@  PCRELIBVERSION = @PCRE_LIB_VERSION@
91  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@
92    
   
 #---------------------------------------------------------------------------#  
 # A copy of install-sh is in this distribution and is used by default.      #  
 #---------------------------------------------------------------------------#  
   
 INSTALL = ./install-sh -c  
 INSTALL_DATA = ${INSTALL} -m 644  
   
   
 #---------------------------------------------------------------------------#  
 # For almost all systems, the command to create a library is "ar cq", but   #  
 # there is at least one where it is different, to make this configurable.   #  
 # However, I haven't got round to learning how to make "configure" find     #  
 # this out for itself. It is necessary to use a command such as             #  
 # "make AR='ar -rc'" if you need to vary this.                              #  
 #---------------------------------------------------------------------------#  
   
 AR = ar cq  
   
   
93  ##############################################################################  ##############################################################################
94    
95    
96  OBJ = maketables.o get.o study.o pcre.o  OBJ = maketables.@OBJEXT@ get.@OBJEXT@ study.@OBJEXT@ pcre.@OBJEXT@ @POSIX_OBJ@
97  LOBJ = maketables.lo get.lo study.lo pcre.lo  LOBJ = maketables.lo get.lo study.lo pcre.lo @POSIX_LOBJ@
98    
99    all:            libpcre.la @POSIX_LIB@ pcretest@EXEEXT@ pcregrep@EXEEXT@ @ON_WINDOWS@ winshared
100    
101  all:            libtool libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX) pcretest pgrep  pcregrep@EXEEXT@: libpcre.la pcregrep.@OBJEXT@ @ON_WINDOWS@ winshared
102                    $(LINK) -o pcregrep@EXEEXT@ pcregrep.@OBJEXT@ libpcre.la
103    
104  libtool:        config.guess config.sub ltconfig ltmain.sh  pcretest@EXEEXT@: libpcre.la @POSIX_LIB@ pcretest.@OBJEXT@ @ON_WINDOWS@ winshared
105                  @if test "$(LIBTOOL)" = "libtool"; then \                  $(LINK) $(PURIFY) $(EFENCE) -o pcretest@EXEEXT@  pcretest.@OBJEXT@ \
106                    echo '--- Building libtool ---'; \                  libpcre.la @POSIX_LIB@
                   ./ltconfig ./ltmain.sh; \  
                   echo '--- Built libtool ---'; fi  
   
 pgrep:          libpcre.$(LIBSUFFIX) pgrep.o  
                   @echo ' '  
                   @echo '--- Building pgrep utility'  
                   @echo ' '  
                 $(LIBTOOL) $(CC) $(CFLAGS) -o pgrep pgrep.o libpcre.$(LIBSUFFIX)  
   
 pcretest:       libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX) pcretest.o  
                   @echo ' '  
                   @echo '--- Building pcretest testing program'  
                   @echo ' '  
                 $(LIBTOOL) $(PURIFY) $(CC) $(CFLAGS) -o pcretest pcretest.o \  
                   libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX)  
   
 libpcre.a:      $(OBJ)  
                 @echo ' '  
                 @echo '--- Building static library: libpcre'  
                 @echo ' '  
                 -rm -f libpcre.a  
                 $(AR) libpcre.a $(OBJ)  
                 $(RANLIB) libpcre.a  
107    
108  libpcre.la:     $(OBJ)  libpcre.la:     $(OBJ)
                 @echo ' '  
                 @echo '--- Building shared library: libpcre'  
                 @echo ' '  
109                  -rm -f libpcre.la                  -rm -f libpcre.la
110                  libtool $(CC) -version-info '$(PCRELIBVERSION)' -o libpcre.la -rpath $(LIBDIR) $(LOBJ)                  $(LINKLIB) -rpath $(LIBDIR) -version-info \
111                    '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)
112    
113  libpcreposix.a: pcreposix.o  libpcreposix.la: pcreposix.@OBJEXT@
                 @echo ' '  
                 @echo '--- Building static library: libpcreposix'  
                 @echo ' '  
                 -rm -f libpcreposix.a  
                 $(AR) libpcreposix.a pcreposix.o  
                 $(RANLIB) libpcreposix.a  
   
 libpcreposix.la: pcreposix.o  
                 @echo ' '  
                 @echo '--- Building shared library: libpcreposix'  
                 @echo ' '  
114                  -rm -f libpcreposix.la                  -rm -f libpcreposix.la
115                  libtool $(CC) -version-info '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la -rpath $(LIBDIR) pcreposix.lo                  $(LINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
116                    '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo
 pcre.o:         chartables.c pcre.c pcre.h internal.h config.h Makefile  
                 $(LIBTOOL) $(CC) -c $(CFLAGS) pcre.c  
   
 pcreposix.o:    pcreposix.c pcreposix.h internal.h pcre.h config.h Makefile  
                 $(LIBTOOL) $(CC) -c $(CFLAGS) pcreposix.c  
   
 maketables.o:   maketables.c pcre.h internal.h config.h Makefile  
                 $(LIBTOOL) $(CC) -c $(CFLAGS) maketables.c  
117    
118  get.o:          get.c pcre.h internal.h config.h Makefile  pcre.@OBJEXT@:  $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \
119                  $(LIBTOOL) $(CC) -c $(CFLAGS) get.c                  $(top_srcdir)/internal.h $(top_srcdir)/printint.c \
120                    pcre.h config.h Makefile
121  study.o:        study.c pcre.h internal.h config.h Makefile                  $(LTCOMPILE) $(UTF8) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c
122                  $(LIBTOOL) $(CC) -c $(CFLAGS) study.c  
123    pcreposix.@OBJEXT@: $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \
124  pcretest.o:     pcretest.c pcre.h config.h Makefile                  $(top_srcdir)/internal.h pcre.h config.h Makefile
125                  $(CC) -c $(CFLAGS) pcretest.c                  $(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcreposix.c
126    
127  pgrep.o:        pgrep.c pcre.h Makefile config.h  maketables.@OBJEXT@:   $(top_srcdir)/maketables.c $(top_srcdir)/internal.h \
128                  $(CC) -c $(CFLAGS) pgrep.c                  pcre.h config.h Makefile
129                    $(LTCOMPILE) $(top_srcdir)/maketables.c
130    
131    get.@OBJEXT@:          $(top_srcdir)/get.c $(top_srcdir)/internal.h \
132                    pcre.h config.h Makefile
133                    $(LTCOMPILE) $(top_srcdir)/get.c
134    
135    study.@OBJEXT@:        $(top_srcdir)/study.c $(top_srcdir)/internal.h \
136                    pcre.h config.h Makefile
137                    $(LTCOMPILE) $(UTF8) $(top_srcdir)/study.c
138    
139    pcretest.@OBJEXT@:     $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \
140                    $(top_srcdir)/printint.c \
141                    pcre.h config.h Makefile
142                    $(CC) -c $(CFLAGS) -I. $(UTF8) $(LINK_SIZE) $(top_srcdir)/pcretest.c
143    
144    pcregrep.@OBJEXT@:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h
145                    $(CC) -c $(CFLAGS) -I. $(UTF8) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c
146    
147    # Some Windows-specific targets for MinGW. Do not use for Cygwin.
148    
149    winshared : .libs/@WIN_PREFIX@pcre.dll .libs/@WIN_PREFIX@pcreposix.dll
150    
151    .libs/@WIN_PREFIX@pcre.dll : libpcre.la
152            $(CC) $(CFLAGS) -shared -o $@ \
153            -Wl,--whole-archive .libs/libpcre.a \
154            -Wl,--out-implib,.libs/libpcre.dll.a \
155            -Wl,--output-def,.libs/@WIN_PREFIX@pcre.dll-def \
156            -Wl,--export-all-symbols \
157            -Wl,--no-whole-archive
158            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
159            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
160            < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
161            mv .libs/libpcre.lai.tmp .libs/libpcre.lai
162            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
163            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
164            < libpcre.la > libpcre.la.tmp && \
165            mv libpcre.la.tmp libpcre.la
166    
167    
168    .libs/@WIN_PREFIX@pcreposix.dll: libpcreposix.la libpcre.la
169            $(CC) $(CFLAGS) -shared -o $@ \
170            -Wl,--whole-archive .libs/libpcreposix.a \
171            -Wl,--out-implib,.libs/@WIN_PREFIX@pcreposix.dll.a \
172            -Wl,--output-def,.libs/@WIN_PREFIX@libpcreposix.dll-def \
173            -Wl,--export-all-symbols \
174            -Wl,--no-whole-archive .libs/libpcre.a
175            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
176            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
177            < .libs/libpcreposix.lai > .libs/libpcreposix.lai.tmp && \
178            mv .libs/libpcreposix.lai.tmp .libs/libpcreposix.lai
179            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
180            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
181            < libpcreposix.la > libpcreposix.la.tmp && \
182            mv libpcreposix.la.tmp libpcreposix.la
183    
184    
185    wininstall : winshared
186            $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
187            $(mkinstalldirs) $(DESTDIR)$(BINDIR)
188            $(INSTALL) .libs/@WIN_PREFIX@pcre.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
189            $(INSTALL) .libs/@WIN_PREFIX@pcreposix.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
190            $(INSTALL) .libs/@WIN_PREFIX@libpcreposix.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcreposix.dll.a
191            $(INSTALL) .libs/@WIN_PREFIX@libpcre.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcre.dll.a
192            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
193            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
194            -strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
195            -strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
196    
197  # An auxiliary program makes the default character table source  # An auxiliary program makes the default character table source
198    
199  chartables.c:   dftables  $(top_srcdir)/chartables.c:   dftables
200                  ./dftables >chartables.c                  ./dftables >$(top_srcdir)/chartables.c
201    
202  dftables:       dftables.c maketables.c pcre.h internal.h config.h Makefile  dftables.@BUILD_OBJEXT@:     $(top_srcdir)/dftables.c $(top_srcdir)/maketables.c \
203                  $(CC) -o dftables $(CFLAGS) dftables.c                  $(top_srcdir)/internal.h pcre.h config.h Makefile
204                    $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -I. $(top_srcdir)/dftables.c
205  install:        all  
206                  $(LIBTOOL) $(INSTALL_DATA) libpcre.$(LIBSUFFIX) $(LIBDIR)/libpcre.$(LIBSUFFIX)  dftables:       dftables.@BUILD_OBJEXT@
207                  $(LIBTOOL) $(INSTALL_DATA) libpcreposix.$(LIBSUFFIX) $(LIBDIR)/libpcreposix.$(LIBSUFFIX)                  $(LINK_FOR_BUILD) -o dftables dftables.@OBJEXT@
208                  $(INSTALL_DATA) pcre.h $(INCDIR)/pcre.h  
209                  $(INSTALL_DATA) doc/pcre.3 $(MANDIR)/man3/pcre.3  install:        all @ON_WINDOWS@ wininstall
210                  $(INSTALL_DATA) doc/pcreposix.3 $(MANDIR)/man3/pcre.3  @NOT_ON_WINDOWS@               $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
211                  $(INSTALL_DATA) doc/pgrep.1 $(MANDIR)/man1/pgrep.1  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"
212                  @if test "$(LIBTOOL)" = "libtool"; then \  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la
213                    echo ' '; \  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"
214                    echo '--- Rebuilding pgrep to use installed shared library ---'; \  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la
215                    echo $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \  @NOT_ON_WINDOWS@               $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)
216                    $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)
217                    echo '--- Rebuilding pcretest to use installed shared library ---'; \                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h
218                    echo $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(LIBDIR) -lpcre -lpcreposix; \                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h
219                    $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(LIBDIR) -lpcre -lpcreposix; \                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3
220                  fi                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3
221                  $(INSTALL)      pgrep $(BINDIR)/pgrep                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3
222                  $(INSTALL)      pcre-config $(BINDIR)/pcre-config                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3
223                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3
224                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3
225                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3
226                    $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3
227                    $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3
228                    $(INSTALL_DATA) $(top_srcdir)/doc/pcresample.3 $(DESTDIR)$(MANDIR)/man3/pcresample.3
229                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_compile.3 $(DESTDIR)$(MANDIR)/man3/pcre_compile.3
230                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_config.3 $(DESTDIR)$(MANDIR)/man3/pcre_config.3
231                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3
232                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3
233                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_exec.3
234                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3
235                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3
236                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_fullinfo.3 $(DESTDIR)$(MANDIR)/man3/pcre_fullinfo.3
237                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_named_substring.3
238                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_stringnumber.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_stringnumber.3
239                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring.3
240                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3
241                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_info.3 $(DESTDIR)$(MANDIR)/man3/pcre_info.3
242                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_maketables.3 $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3
243                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_study.3 $(DESTDIR)$(MANDIR)/man3/pcre_study.3
244                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_version.3 $(DESTDIR)$(MANDIR)/man3/pcre_version.3
245                    $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
246                    $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1
247                    $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1
248                    $(mkinstalldirs) $(DESTDIR)$(BINDIR)
249                    $(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
250                    $(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
251                    $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config
252    
253  # We deliberately omit dftables and chartables.c from 'make clean'; once made  # We deliberately omit dftables and chartables.c from 'make clean'; once made
254  # chartables.c shouldn't change, and if people have edited the tables by hand,  # chartables.c shouldn't change, and if people have edited the tables by hand,
255  # you don't want to throw them away.  # you don't want to throw them away.
256    
257  clean:;         -rm -rf *.o *.lo *.a *.la .libs pcretest pgrep testtry  clean:;         -rm -rf *.@OBJEXT@ *.lo *.a *.la .libs pcretest@EXEEXT@ pcregrep@EXEEXT@ testtry
258    
259  # But "make distclean" should get back to a virgin distribution  # But "make distclean" should get back to a virgin distribution
260    
# Line 189  distclean:      clean Line 264  distclean:      clean
264    
265  check:          runtest  check:          runtest
266    
267  runtest:        all  @WIN_PREFIX@pcre.dll : winshared
268                  ./RunTest          cp .libs/@WIN_PREFIX@pcre.dll .
   
 ######## MINGW32 ############### MINGW32 ############### MINGW32 #############  
269    
270  # This addition for mingw32 was contributed by  Paul Sokolovsky  test:           runtest
 # <Paul.Sokolovsky@technologist.com>. I (PH) don't know anything about it!  
271    
272  dll:            _dll libpcre.dll.a pgrep_d pcretest_d  runtest:        all @ON_WINDOWS@ @WIN_PREFIX@pcre.dll
273                    ./RunTest
 _dll:  
                 $(MAKE) CFLAGS=-DSTATIC pcre.dll  
   
 pcre.dll:       $(OBJ) pcreposix.o pcre.def  
 libpcre.dll.a:  pcre.def  
   
 pgrep_d:        libpcre.dll.a pgrep.o  
                 $(CC) $(CFLAGS) -L. -o pgrep pgrep.o -lpcre.dll  
   
 pcretest_d:     libpcre.dll.a pcretest.o  
                 $(PURIFY) $(CC) $(CFLAGS) -L. -o pcretest pcretest.o -lpcre.dll  
274    
275  # End  # End

Legend:
Removed from v.43  
changed lines
  Added in v.72

  ViewVC Help
Powered by ViewVC 1.1.5