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

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

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

revision 63 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 77 by nigel, Sat Feb 24 21:40:45 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    
 #---------------------------------------------------------------------------#  
 # MinGW DLLs are built automatically with this configure.in and Makefile.in #  
 # as long you are using autoconf 2.50 or higher. The Win32 static libraries #  
 # have not been tested, but appear to be generated. This functionality is   #  
 # by courtesy of Fred Cox. I (Philip Hazel) don't know anything about it,   #  
 # as I live entirely in a non-Windows world.                                #  
 #---------------------------------------------------------------------------#  
   
4    
5  #############################################################################  #############################################################################
6    
7  # PCRE is developed on a Unix system. I do not use Windows or Macs, and know  # PCRE is developed on a Unix system. I do not use Windows or Macs, and know
8  # nothing about building software on them. Although the code of PCRE should  # 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  # be very portable, the building system in this Makefile is designed for Unix
10  # systems, with the exception of the mingw32 stuff just mentioned.  # systems. However, there are features that have been supplied to me by various
11    # people that should make it work on MinGW and Cygwin systems.
12    
13  # This setting enables Unix-style directory scanning in pcregrep, triggered  # 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.  # by the -f option. Maybe one day someone will add code for other systems.
# Line 25  PCREGREP_OSTYPE=-DIS_UNIX Line 18  PCREGREP_OSTYPE=-DIS_UNIX
18  #############################################################################  #############################################################################
19    
20    
21    # Libtool places .o files in the .libs directory; this can mean that "make"
22    # thinks is it not up-to-date when in fact it is. This setting helps when
23    # GNU "make" is being used. It presumably does no harm in other cases.
24    
25    VPATH=.libs
26    
27    
28  #---------------------------------------------------------------------------#  #---------------------------------------------------------------------------#
29  # The following lines are modified by "configure" to insert data that it is #  # The following lines are modified by "configure" to insert data that it is #
30  # given in its arguments, or which it finds out for itself.                 #  # given in its arguments, or which it finds out for itself.                 #
# Line 54  LIBDIR = @libdir@ Line 54  LIBDIR = @libdir@
54  INCDIR = @includedir@  INCDIR = @includedir@
55  MANDIR = @mandir@  MANDIR = @mandir@
56    
57    # EXEEXT is set by configure to the extention of an executable file
58    # OBJEXT is set by configure to the extention of an object file
59    # The BUILD_* equivalents are the same but for the host we're building on
60    
61    EXEEXT = @EXEEXT@
62    OBJEXT = @OBJEXT@
63    # Note that these are just here to have a convenient place to look at the
64    # outcome.
65    BUILD_EXEEXT = @BUILD_EXEEXT@
66    BUILD_OBJEXT = @BUILD_OBJEXT@
67    
68    # The compiler, C flags, preprocessor flags, etc
69    
70  CC = @CC@  CC = @CC@
71    CXX = @CXX@
72  CFLAGS = @CFLAGS@  CFLAGS = @CFLAGS@
73  HOST_CC = @HOST_CC@  CXXFLAGS = @CXXFLAGS@
74  HOST_CFLAGS = @HOST_CFLAGS@  LDFLAGS = @LDFLAGS@
75  UTF8   = @UTF8@  
76    CC_FOR_BUILD = @CC_FOR_BUILD@
77    CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
78    CXX_FOR_BUILD = @CXX_FOR_BUILD@
79    CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
80    LDFLAGS_FOR_BUILD = $(LDFLAGS)
81    
82    UCP = @UCP@
83    UTF8 = @UTF8@
84  NEWLINE = @NEWLINE@  NEWLINE = @NEWLINE@
85  POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@  POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@
86  LINK_SIZE = @LINK_SIZE@  LINK_SIZE = @LINK_SIZE@
87  MATCH_LIMIT= @MATCH_LIMIT@  MATCH_LIMIT = @MATCH_LIMIT@
88    NO_RECURSE = @NO_RECURSE@
89    EBCDIC = @EBCDIC@
90    
91  INSTALL = @INSTALL@  INSTALL = @INSTALL@
92  INSTALL_DATA = @INSTALL_DATA@  INSTALL_DATA = @INSTALL_DATA@
# Line 71  INSTALL_DATA = @INSTALL_DATA@ Line 95  INSTALL_DATA = @INSTALL_DATA@
95  # to do one or the other or both by ./configure.  # to do one or the other or both by ./configure.
96    
97  LIBTOOL = @LIBTOOL@  LIBTOOL = @LIBTOOL@
98  LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT)  LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
99  LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)  LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
100    @ON_WINDOWS@LINK = $(CC) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
101    @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -I. -I$(top_srcdir)
102    LINKLIB = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -I. -I$(top_srcdir)
103    LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
104    @ON_WINDOWS@CXXLINK = $(CXX) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
105    @NOT_ON_WINDOWS@CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -I. -I$(top_srcdir)
106    CXXLINKLIB = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -I. -I$(top_srcdir)
107    
108  # These are the version numbers for the shared libraries  # These are the version numbers for the shared libraries
109    
110  PCRELIBVERSION = @PCRE_LIB_VERSION@  PCRELIBVERSION = @PCRE_LIB_VERSION@
111  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@
112    PCRECPPLIBVERSION = @PCRE_CPPLIB_VERSION@
113    
114  ##############################################################################  ##############################################################################
115    
116    
117  OBJ = maketables.o get.o study.o pcre.o @POSIX_OBJ@  OBJ = pcre_chartables.@OBJEXT@ \
118  LOBJ = maketables.lo get.lo study.lo pcre.lo @POSIX_LOBJ@    pcre_compile.@OBJEXT@ \
119      pcre_config.@OBJEXT@ \
120      pcre_dfa_exec.@OBJEXT@ \
121      pcre_exec.@OBJEXT@ \
122      pcre_fullinfo.@OBJEXT@ \
123      pcre_get.@OBJEXT@ \
124      pcre_globals.@OBJEXT@ \
125      pcre_info.@OBJEXT@ \
126      pcre_maketables.@OBJEXT@ \
127      pcre_ord2utf8.@OBJEXT@ \
128      pcre_printint.@OBJEXT@ \
129      pcre_refcount.@OBJEXT@ \
130      pcre_study.@OBJEXT@ \
131      pcre_tables.@OBJEXT@ \
132      pcre_try_flipped.@OBJEXT@ \
133      pcre_ucp_findchar.@OBJEXT@ \
134      pcre_valid_utf8.@OBJEXT@ \
135      pcre_version.@OBJEXT@ \
136      pcre_xclass.@OBJEXT@ \
137      @POSIX_OBJ@
138    
139    LOBJ = pcre_chartables.lo \
140      pcre_compile.lo \
141      pcre_config.lo \
142      pcre_dfa_exec.lo \
143      pcre_exec.lo \
144      pcre_fullinfo.lo \
145      pcre_get.lo \
146      pcre_globals.lo \
147      pcre_info.lo \
148      pcre_maketables.lo \
149      pcre_ord2utf8.lo \
150      pcre_printint.lo \
151      pcre_refcount.lo \
152      pcre_study.lo \
153      pcre_tables.lo \
154      pcre_try_flipped.lo \
155      pcre_ucp_findchar.lo \
156      pcre_valid_utf8.lo \
157      pcre_version.lo \
158      pcre_xclass.lo \
159      @POSIX_LOBJ@
160    
161    CPPOBJ = pcrecpp.@OBJEXT@ \
162      pcre_scanner.@OBJEXT@ \
163      pcre_stringpiece.@OBJEXT@
164    
165    CPPLOBJ = pcrecpp.lo \
166      pcre_scanner.lo \
167      pcre_stringpiece.lo
168    
169    CPP_TARGETS = libpcrecpp.la \
170      pcrecpp_unittest@EXEEXT@ \
171      pcre_scanner_unittest@EXEEXT@ \
172      pcre_stringpiece_unittest@EXEEXT@
173    
174  all:            libpcre.la @POSIX_LIB@ pcretest pcregrep  all:            libpcre.la @POSIX_LIB@ @MAYBE_CPP_TARGETS@ pcretest@EXEEXT@ pcregrep@EXEEXT@ @ON_WINDOWS@ winshared
175    
176  pcregrep:       libpcre.la pcregrep.o  pcregrep@EXEEXT@: libpcre.la pcregrep.@OBJEXT@ @ON_WINDOWS@ winshared
177                  $(LINK) -o pcregrep pcregrep.o libpcre.la                  $(LINK) -o pcregrep@EXEEXT@ pcregrep.@OBJEXT@ libpcre.la
178    
179  pcretest:       libpcre.la @POSIX_LIB@ pcretest.o  pcretest@EXEEXT@: libpcre.la @POSIX_LIB@ pcretest.@OBJEXT@ @ON_WINDOWS@ winshared
180                  $(LINK) $(PURIFY) $(EFENCE) -o pcretest pcretest.o \                  $(LINK) $(PURIFY) $(EFENCE) -o pcretest@EXEEXT@  pcretest.@OBJEXT@ \
181                  libpcre.la @POSIX_LIB@                  libpcre.la @POSIX_LIB@
182    
183    pcrecpp_unittest@EXEEXT@: libpcrecpp.la pcrecpp_unittest.@OBJEXT@ @ON_WINDOWS@ winshared
184                    $(CXXLINK) $(PURIFY) $(EFENCE) -o pcrecpp_unittest@EXEEXT@  pcrecpp_unittest.@OBJEXT@ \
185                    libpcrecpp.la @POSIX_LIB@
186    
187    pcre_scanner_unittest@EXEEXT@: libpcrecpp.la pcre_scanner_unittest.@OBJEXT@ @ON_WINDOWS@ winshared
188                    $(CXXLINK) $(PURIFY) $(EFENCE) -o pcre_scanner_unittest@EXEEXT@  pcre_scanner_unittest.@OBJEXT@ \
189                    libpcrecpp.la @POSIX_LIB@
190    
191    pcre_stringpiece_unittest@EXEEXT@: libpcrecpp.la pcre_stringpiece_unittest.@OBJEXT@ @ON_WINDOWS@ winshared
192                    $(CXXLINK) $(PURIFY) $(EFENCE) -o pcre_stringpiece_unittest@EXEEXT@     pcre_stringpiece_unittest.@OBJEXT@ \
193                    libpcrecpp.la @POSIX_LIB@
194    
195  libpcre.la:     $(OBJ)  libpcre.la:     $(OBJ)
196                  -rm -f libpcre.la                  -rm -f libpcre.la
197                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) -version-info \
198                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)
199    
200  libpcreposix.la: pcreposix.o  libpcreposix.la: libpcre.la pcreposix.@OBJEXT@
201                  -rm -f libpcreposix.la                  -rm -f libpcreposix.la
202                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
203                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo
204    
205  pcre.o:         $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \  libpcrecpp.la: libpcre.la $(CPPOBJ)
206                  $(top_srcdir)/internal.h $(top_srcdir)/printint.c \                  -rm -f libpcrecpp.la
207                  pcre.h config.h Makefile                  $(CXXLINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
208                  $(LTCOMPILE) $(UTF8) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c                  '$(PCRECPPLIBVERSION)' -o libpcrecpp.la $(CPPLOBJ)
209    
210    # Note that files generated by ./configure and by dftables are in the current
211    # directory, not the source directory.
212    
213    pcre_chartables.@OBJEXT@: pcre_chartables.c
214                    $(LTCOMPILE) $(top_srcdir)/pcre_chartables.c
215    
216    pcre_compile.@OBJEXT@: Makefile config.h pcre.h \
217                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_compile.c
218                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
219                    $(top_srcdir)/pcre_compile.c
220    
221    pcre_config.@OBJEXT@:  Makefile config.h pcre.h \
222                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_config.c
223                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
224                    $(top_srcdir)/pcre_config.c
225    
226    pcre_dfa_exec.@OBJEXT@: Makefile config.h pcre.h \
227                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_dfa_exec.c
228                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
229                    $(top_srcdir)/pcre_dfa_exec.c
230    
231    pcre_exec.@OBJEXT@:    Makefile config.h pcre.h \
232                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_exec.c
233                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
234                    $(top_srcdir)/pcre_exec.c
235    
236    pcre_fullinfo.@OBJEXT@: Makefile config.h pcre.h \
237                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_fullinfo.c
238                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
239                    $(top_srcdir)/pcre_fullinfo.c
240    
241    pcre_get.@OBJEXT@:     Makefile config.h pcre.h \
242                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_get.c
243                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
244                    $(top_srcdir)/pcre_get.c
245    
246    pcre_globals.@OBJEXT@: Makefile config.h pcre.h \
247                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_globals.c
248                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
249                    $(top_srcdir)/pcre_globals.c
250    
251    pcre_info.@OBJEXT@:    Makefile config.h pcre.h \
252                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_info.c
253                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
254                    $(top_srcdir)/pcre_info.c
255    
256    pcre_maketables.@OBJEXT@: Makefile config.h pcre.h \
257                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_maketables.c
258                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
259                    $(top_srcdir)/pcre_maketables.c
260    
261    pcre_ord2utf8.@OBJEXT@: Makefile config.h pcre.h \
262                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_ord2utf8.c
263                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
264                    $(top_srcdir)/pcre_ord2utf8.c
265    
266    pcre_printint.@OBJEXT@: Makefile config.h pcre.h \
267                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_printint.c
268                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
269                    $(top_srcdir)/pcre_printint.c
270    
271    pcre_refcount.@OBJEXT@:   Makefile config.h pcre.h \
272                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_refcount.c
273                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
274                    $(top_srcdir)/pcre_refcount.c
275    
276    pcre_study.@OBJEXT@:   Makefile config.h pcre.h \
277                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_study.c
278                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
279                    $(top_srcdir)/pcre_study.c
280    
281    pcre_tables.@OBJEXT@:  Makefile config.h pcre.h \
282                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_tables.c
283                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
284                    $(top_srcdir)/pcre_tables.c
285    
286    pcre_try_flipped.@OBJEXT@: Makefile config.h pcre.h \
287                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_try_flipped.c
288                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
289                    $(top_srcdir)/pcre_try_flipped.c
290    
291    pcre_ucp_findchar.@OBJEXT@: Makefile config.h pcre.h \
292                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_ucp_findchar.c
293                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
294                    $(top_srcdir)/pcre_ucp_findchar.c
295    
296    pcre_valid_utf8.@OBJEXT@: Makefile config.h pcre.h \
297                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_valid_utf8.c
298                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
299                    $(top_srcdir)/pcre_valid_utf8.c
300    
301    pcre_version.@OBJEXT@: Makefile config.h pcre.h \
302                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_version.c
303                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
304                    $(top_srcdir)/pcre_version.c
305    
306    pcre_xclass.@OBJEXT@:  Makefile config.h pcre.h \
307                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_xclass.c
308                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
309                    $(top_srcdir)/pcre_xclass.c
310    
311  pcreposix.o:    $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \  pcreposix.@OBJEXT@:    $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \
312                  $(top_srcdir)/internal.h pcre.h config.h Makefile                    $(top_srcdir)/pcre_internal.h pcre.h config.h Makefile
313                  $(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcreposix.c                  $(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcreposix.c
314    
315  maketables.o:   $(top_srcdir)/maketables.c $(top_srcdir)/internal.h \  pcrecpp.@OBJEXT@:      $(top_srcdir)/pcrecpp.cc pcrecpp.h \
316                  pcre.h config.h Makefile                  pcre_stringpiece.h pcre.h config.h Makefile
317                  $(LTCOMPILE) $(top_srcdir)/maketables.c                  $(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
318                    $(top_srcdir)/pcrecpp.cc
319    
320    pcre_scanner.@OBJEXT@: $(top_srcdir)/pcre_scanner.cc $(top_srcdir)/pcre_scanner.h \
321                    pcrecpp.h pcre_stringpiece.h pcre.h config.h Makefile
322                    $(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
323                    $(top_srcdir)/pcre_scanner.cc
324    
325    pcre_stringpiece.@OBJEXT@:  $(top_srcdir)/pcre_stringpiece.cc pcre_stringpiece.h \
326                    config.h Makefile
327                    $(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
328                    $(top_srcdir)/pcre_stringpiece.cc
329    
330  get.o:          $(top_srcdir)/get.c $(top_srcdir)/internal.h \  pcretest.@OBJEXT@:     $(top_srcdir)/pcretest.c $(top_srcdir)/pcre_internal.h \
331                  pcre.h config.h Makefile                  pcre.h config.h Makefile
332                  $(LTCOMPILE) $(top_srcdir)/get.c                  $(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcretest.c
333    
334  study.o:        $(top_srcdir)/study.c $(top_srcdir)/internal.h \  pcrecpp_unittest.@OBJEXT@:  $(top_srcdir)/pcrecpp_unittest.cc pcrecpp.h \
335                  pcre.h config.h Makefile                  pcre_stringpiece.h pcre.h config.h Makefile
336                  $(LTCOMPILE) $(UTF8) $(top_srcdir)/study.c                  $(CXX) -c $(CXXFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcrecpp_unittest.cc
337    
338    pcre_stringpiece_unittest.@OBJEXT@:  $(top_srcdir)/pcre_stringpiece_unittest.cc \
339                    pcre_stringpiece.h config.h Makefile
340                    $(CXX) -c $(CXXFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcre_stringpiece_unittest.cc
341    
342  pcretest.o:     $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \  pcre_scanner_unittest.@OBJEXT@:  $(top_srcdir)/pcre_scanner_unittest.cc \
343                  $(top_srcdir)/printint.c \                  $(top_srcdir)/pcre_scanner.h pcrecpp.h pcre_stringpiece.h \
344                  pcre.h config.h Makefile                  pcre.h config.h Makefile
345                  $(CC) -c $(CFLAGS) -I. $(UTF8) $(LINK_SIZE) $(top_srcdir)/pcretest.c                  $(CXX) -c $(CXXFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcre_scanner_unittest.cc
346    
347    pcregrep.@OBJEXT@:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h
348                    $(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c
349    
350    # Some Windows-specific targets for MinGW. Do not use for Cygwin.
351    
352    winshared : .libs/@WIN_PREFIX@pcre.dll .libs/@WIN_PREFIX@pcreposix.dll \
353                    .libs/@WIN_PREFIX@pcrecpp.dll
354    
355    .libs/@WIN_PREFIX@pcre.dll : libpcre.la
356            $(CC) $(CFLAGS) -shared -o $@ \
357            -Wl,--whole-archive .libs/libpcre.a \
358            -Wl,--out-implib,.libs/libpcre.dll.a \
359            -Wl,--output-def,.libs/@WIN_PREFIX@pcre.dll-def \
360            -Wl,--export-all-symbols \
361            -Wl,--no-whole-archive
362            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
363            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
364            < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
365            mv -f .libs/libpcre.lai.tmp .libs/libpcre.lai
366            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
367            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
368            < libpcre.la > libpcre.la.tmp && \
369            mv -f libpcre.la.tmp libpcre.la
370    
371    
372    .libs/@WIN_PREFIX@pcreposix.dll: libpcreposix.la libpcre.la
373            $(CC) $(CFLAGS) -shared -o $@ \
374            -Wl,--whole-archive .libs/libpcreposix.a \
375            -Wl,--out-implib,.libs/@WIN_PREFIX@pcreposix.dll.a \
376            -Wl,--output-def,.libs/@WIN_PREFIX@libpcreposix.dll-def \
377            -Wl,--export-all-symbols \
378            -Wl,--no-whole-archive .libs/libpcre.a
379            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
380            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
381            < .libs/libpcreposix.lai > .libs/libpcreposix.lai.tmp && \
382            mv -f .libs/libpcreposix.lai.tmp .libs/libpcreposix.lai
383            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
384            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
385            < libpcreposix.la > libpcreposix.la.tmp && \
386            mv -f libpcreposix.la.tmp libpcreposix.la
387    
388    .libs/@WIN_PREFIX@pcrecpp.dll: libpcrecpp.la libpcre.la
389            $(CXX) $(CXXFLAGS) -shared -o $@ \
390            -Wl,--whole-archive .libs/libpcrecpp.a \
391            -Wl,--out-implib,.libs/@WIN_PREFIX@pcrecpp.dll.a \
392            -Wl,--output-def,.libs/@WIN_PREFIX@libpcrecpp.dll-def \
393            -Wl,--export-all-symbols \
394            -Wl,--no-whole-archive .libs/libpcre.a
395            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcrecpp.dll'#" \
396            -e "s#library_names=''#library_names='libpcrecpp.dll.a'#"\
397            < .libs/libpcrecpp.lai > .libs/libpcrecpp.lai.tmp && \
398            mv -f .libs/libpcrecpp.lai.tmp .libs/libpcrecpp.lai
399            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcrecpp.dll'#" \
400            -e "s#library_names=''#library_names='libpcrecpp.dll.a'#"\
401            < libpcrecpp.la > libpcrecpp.la.tmp && \
402            mv -f libpcrecpp.la.tmp libpcrecpp.la
403    
404    
405    wininstall : winshared
406            $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
407            $(mkinstalldirs) $(DESTDIR)$(BINDIR)
408            $(INSTALL) .libs/@WIN_PREFIX@pcre.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
409            $(INSTALL) .libs/@WIN_PREFIX@pcreposix.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
410            $(INSTALL) .libs/@WIN_PREFIX@libpcreposix.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcreposix.dll.a
411            $(INSTALL) .libs/@WIN_PREFIX@libpcre.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcre.dll.a
412            $(INSTALL) .libs/@WIN_PREFIX@pcrecpp.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcrecpp.dll
413            $(INSTALL) .libs/@WIN_PREFIX@libpcrecpp.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcrecpp.dll.a
414            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
415            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
416            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcrecpp.dll
417            -strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
418            -strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
419    
420  pcregrep.o:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h  # An auxiliary program makes the default character table source. This is put
421                  $(CC) -c $(CFLAGS) -I. $(UTF8) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c  # in the current directory, NOT the $top_srcdir directory.
422    
423  # An auxiliary program makes the default character table source  pcre_chartables.c:   dftables@BUILD_EXEEXT@
424                    ./dftables@BUILD_EXEEXT@ pcre_chartables.c
425    
426  $(top_srcdir)/chartables.c:   dftables  dftables.@BUILD_OBJEXT@:     $(top_srcdir)/dftables.c \
427                  ./dftables >$(top_srcdir)/chartables.c                  $(top_srcdir)/pcre_maketables.c $(top_srcdir)/pcre_internal.h \
428                    pcre.h config.h Makefile
429  dftables.o:     $(top_srcdir)/dftables.c $(top_srcdir)/maketables.c \                  $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -I. $(top_srcdir)/dftables.c
430                  $(top_srcdir)/internal.h pcre.h config.h Makefile  
431                  $(HOST_CC) -c $(HOST_CFLAGS) -I. $(top_srcdir)/dftables.c  dftables@BUILD_EXEEXT@:      dftables.@BUILD_OBJEXT@
432                    $(LINK_FOR_BUILD) -o dftables@BUILD_EXEEXT@ dftables.@OBJEXT@
433  dftables:       dftables.o  
434                  $(LINK) -o dftables dftables.o  install:        all @ON_WINDOWS@ wininstall
435    @NOT_ON_WINDOWS@               $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
436  install:        all  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"
437                  $(mkinstalldirs) $(DESTDIR)$(LIBDIR)  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la
438                  echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"
439                  $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la
440                  echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcrecpp.la $(DESTDIR)$(LIBDIR)/libpcrecpp.la"
441                  $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcrecpp.la $(DESTDIR)$(LIBDIR)/libpcrecpp.la
442                  $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)  @NOT_ON_WINDOWS@               $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)
443                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)
444                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h
445                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h
446                    $(INSTALL_DATA) pcrecpp.h $(DESTDIR)$(INCDIR)/pcrecpp.h
447                    $(INSTALL_DATA) pcre_stringpiece.h $(DESTDIR)$(INCDIR)/pcre_stringpiece.h
448                    $(INSTALL_DATA) $(top_srcdir)/pcre_scanner.h $(DESTDIR)$(INCDIR)/pcre_scanner.h
449                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3
450                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3
451                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3
452                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3
453                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3
454                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3
455                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrecpp.3 $(DESTDIR)$(MANDIR)/man3/pcrecpp.3
456                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrematching.3 $(DESTDIR)$(MANDIR)/man3/pcrematching.3
457                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3
458                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3
459                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3
# Line 169  install: all Line 462  install: all
462                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_config.3 $(DESTDIR)$(MANDIR)/man3/pcre_config.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_config.3 $(DESTDIR)$(MANDIR)/man3/pcre_config.3
463                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3
464                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3
465                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_dfa_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_dfa_exec.3
466                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_exec.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_exec.3
467                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3
468                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3
# Line 179  install: all Line 473  install: all
473                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3
474                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_info.3 $(DESTDIR)$(MANDIR)/man3/pcre_info.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_info.3 $(DESTDIR)$(MANDIR)/man3/pcre_info.3
475                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_maketables.3 $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_maketables.3 $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3
476                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_refcount.3 $(DESTDIR)$(MANDIR)/man3/pcre_refcount.3
477                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_study.3 $(DESTDIR)$(MANDIR)/man3/pcre_study.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_study.3 $(DESTDIR)$(MANDIR)/man3/pcre_study.3
478                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_version.3 $(DESTDIR)$(MANDIR)/man3/pcre_version.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_version.3 $(DESTDIR)$(MANDIR)/man3/pcre_version.3
479                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
480                  $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1
481                  $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1
482                  $(mkinstalldirs) $(DESTDIR)$(BINDIR)                  $(mkinstalldirs) $(DESTDIR)$(BINDIR)
483                  $(LIBTOOL) --mode=install $(INSTALL) pcregrep $(DESTDIR)$(BINDIR)/pcregrep                  $(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
484                  $(LIBTOOL) --mode=install $(INSTALL) pcretest $(DESTDIR)$(BINDIR)/pcretest                  $(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
485                  $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config                  $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config
486                    $(mkinstalldirs) $(DESTDIR)$(LIBDIR)/pkgconfig
487                    $(INSTALL_DATA) libpcre.pc $(DESTDIR)$(LIBDIR)/pkgconfig/libpcre.pc
488    
489  # We deliberately omit dftables and chartables.c from 'make clean'; once made  # The uninstall target removes all the files that were installed.
 # chartables.c shouldn't change, and if people have edited the tables by hand,  
 # you don't want to throw them away.  
490    
491  clean:;         -rm -rf *.o *.lo *.a *.la .libs pcretest pcregrep testtry  uninstall:;     -rm -rf \
492                    $(DESTDIR)$(LIBDIR)/libpcre.* \
493                    $(DESTDIR)$(LIBDIR)/libpcreposix.* \
494                    $(DESTDIR)$(LIBDIR)/libpcrecpp.* \
495                    $(DESTDIR)$(INCDIR)/pcre.h \
496                    $(DESTDIR)$(INCDIR)/pcreposix.h \
497                    $(DESTDIR)$(INCDIR)/pcrecpp.h \
498                    $(DESTDIR)$(INCDIR)/pcre_scanner.h \
499                    $(DESTDIR)$(INCDIR)/pcre_stringpiece.h \
500                    $(DESTDIR)$(MANDIR)/man3/pcre.3 \
501                    $(DESTDIR)$(MANDIR)/man3/pcreapi.3 \
502                    $(DESTDIR)$(MANDIR)/man3/pcrebuild.3 \
503                    $(DESTDIR)$(MANDIR)/man3/pcrecallout.3 \
504                    $(DESTDIR)$(MANDIR)/man3/pcrecompat.3 \
505                    $(DESTDIR)$(MANDIR)/man3/pcrecpp.3 \
506                    $(DESTDIR)$(MANDIR)/man3/pcrematching.3 \
507                    $(DESTDIR)$(MANDIR)/man3/pcrepattern.3 \
508                    $(DESTDIR)$(MANDIR)/man3/pcreperform.3 \
509                    $(DESTDIR)$(MANDIR)/man3/pcreposix.3 \
510                    $(DESTDIR)$(MANDIR)/man3/pcresample.3 \
511                    $(DESTDIR)$(MANDIR)/man3/pcre_compile.3 \
512                    $(DESTDIR)$(MANDIR)/man3/pcre_config.3 \
513                    $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3 \
514                    $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3 \
515                    $(DESTDIR)$(MANDIR)/man3/pcre_dfa_exec.3 \
516                    $(DESTDIR)$(MANDIR)/man3/pcre_exec.3 \
517                    $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3 \
518                    $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3 \
519                    $(DESTDIR)$(MANDIR)/man3/pcre_fullinfo.3 \
520                    $(DESTDIR)$(MANDIR)/man3/pcre_get_named_substring.3 \
521                    $(DESTDIR)$(MANDIR)/man3/pcre_get_stringnumber.3 \
522                    $(DESTDIR)$(MANDIR)/man3/pcre_get_substring.3 \
523                    $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3 \
524                    $(DESTDIR)$(MANDIR)/man3/pcre_info.3 \
525                    $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3 \
526                    $(DESTDIR)$(MANDIR)/man3/pcre_refcount.3 \
527                    $(DESTDIR)$(MANDIR)/man3/pcre_study.3 \
528                    $(DESTDIR)$(MANDIR)/man3/pcre_version.3 \
529                    $(DESTDIR)$(MANDIR)/man1/pcregrep.1 \
530                    $(DESTDIR)$(MANDIR)/man1/pcretest.1 \
531                    $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ \
532                    $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ \
533                    $(DESTDIR)$(BINDIR)/pcre-config \
534                    $(DESTDIR)$(LIBDIR)/pkgconfig/libpcre.pc
535    
536    # We deliberately omit dftables and pcre_chartables.c from 'make clean'; once
537    # made pcre_chartables.c shouldn't change, and if people have edited the tables
538    # by hand, you don't want to throw them away.
539    
540    clean:;         -rm -rf *.@OBJEXT@ *.lo *.a *.la .libs pcretest@EXEEXT@ pcre_stringpiece_unittest@EXEEXT@ pcrecpp_unittest@EXEEXT@ pcre_scanner_unittest@EXEEXT@ pcregrep@EXEEXT@ testtry
541    
542  # But "make distclean" should get back to a virgin distribution  # But "make distclean" should get back to a virgin distribution
543    
544  distclean:      clean  distclean:      clean
545                  -rm -f chartables.c libtool pcre-config pcre.h \                  -rm -f pcre_chartables.c libtool pcre-config libpcre.pc \
546                    pcre.h pcre_stringpiece.h pcrecpp.h \
547                    dftables@EXEEXT@ RunGrepTest RunTest \
548                  Makefile config.h config.status config.log config.cache                  Makefile config.h config.status config.log config.cache
549    
550  check:          runtest  check:          runtest
551    
552    @WIN_PREFIX@pcre.dll : winshared
553            cp .libs/@WIN_PREFIX@pcre.dll .
554    
555  test:           runtest  test:           runtest
556    
557  runtest:        all  runtest:        all @ON_WINDOWS@ @WIN_PREFIX@pcre.dll
558                  ./RunTest                  @./RunTest
559                    @./RunGrepTest
560                    @echo ""
561                    @echo "Testing C++ wrapper"
562                    @echo ""; echo "Test 1++: stringpiece"
563                    @./pcre_stringpiece_unittest@EXEEXT@
564                    @echo ""; echo "Test 2++: RE class"
565                    @./pcrecpp_unittest@EXEEXT@
566                    @echo ""; echo "Test 3++: Scanner class"
567                    @./pcre_scanner_unittest@EXEEXT@
568    
569  # End  # End

Legend:
Removed from v.63  
changed lines
  Added in v.77

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12