/[pcre]/code/trunk/Makefile.in
ViewVC logotype

Diff of /code/trunk/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 87 by nigel, Sat Feb 24 21:41:21 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    # POSIX_OBJ and POSIX_LOBJ are either set empty, or to the names of the
69    # POSIX object files.
70    
71    POSIX_OBJ = @POSIX_OBJ@
72    POSIX_LOBJ = @POSIX_LOBJ@
73    
74    # The compiler, C flags, preprocessor flags, etc
75    
76  CC = @CC@  CC = @CC@
77    CXX = @CXX@
78  CFLAGS = @CFLAGS@  CFLAGS = @CFLAGS@
79  HOST_CC = @HOST_CC@  CXXFLAGS = @CXXFLAGS@
80  HOST_CFLAGS = @HOST_CFLAGS@  LDFLAGS = @LDFLAGS@
81  UTF8   = @UTF8@  CXXLDFLAGS = @CXXLDFLAGS@
82    
83    CC_FOR_BUILD = @CC_FOR_BUILD@
84    CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
85    CXX_FOR_BUILD = @CXX_FOR_BUILD@
86    CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
87    LDFLAGS_FOR_BUILD = $(LDFLAGS)
88    
89    UCP = @UCP@
90    UTF8 = @UTF8@
91  NEWLINE = @NEWLINE@  NEWLINE = @NEWLINE@
92  POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@  POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@
93  LINK_SIZE = @LINK_SIZE@  LINK_SIZE = @LINK_SIZE@
94  MATCH_LIMIT= @MATCH_LIMIT@  MATCH_LIMIT = @MATCH_LIMIT@ @MATCH_LIMIT_RECURSION@
95    NO_RECURSE = @NO_RECURSE@
96    EBCDIC = @EBCDIC@
97    
98  INSTALL = @INSTALL@  INSTALL = @INSTALL@
99  INSTALL_DATA = @INSTALL_DATA@  INSTALL_DATA = @INSTALL_DATA@
# Line 71  INSTALL_DATA = @INSTALL_DATA@ Line 102  INSTALL_DATA = @INSTALL_DATA@
102  # to do one or the other or both by ./configure.  # to do one or the other or both by ./configure.
103    
104  LIBTOOL = @LIBTOOL@  LIBTOOL = @LIBTOOL@
105  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)
106  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)
107    @ON_WINDOWS@LINK = $(CC) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
108    @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -I. -I$(top_srcdir)
109    LINKLIB = $(LIBTOOL) --mode=link $(CC) -export-symbols-regex '^[^_]' $(LDFLAGS) -I. -I$(top_srcdir)
110    LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
111    @ON_WINDOWS@CXXLINK = $(CXX) $(LDFLAGS) -I. -I$(top_srcdir) -L.libs
112    @NOT_ON_WINDOWS@CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) $(CXXLDFLAGS) -I. -I$(top_srcdir)
113    CXXLINKLIB = $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -I. -I$(top_srcdir)
114    
115  # These are the version numbers for the shared libraries  # These are the version numbers for the shared libraries
116    
117  PCRELIBVERSION = @PCRE_LIB_VERSION@  PCRELIBVERSION = @PCRE_LIB_VERSION@
118  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VERSION@
119    PCRECPPLIBVERSION = @PCRE_CPPLIB_VERSION@
120    
121  ##############################################################################  ##############################################################################
122    
123    
124  OBJ = maketables.o get.o study.o pcre.o @POSIX_OBJ@  OBJ = pcre_chartables.@OBJEXT@ \
125  LOBJ = maketables.lo get.lo study.lo pcre.lo @POSIX_LOBJ@    pcre_compile.@OBJEXT@ \
126      pcre_config.@OBJEXT@ \
127  all:            libpcre.la @POSIX_LIB@ pcretest pcregrep    pcre_dfa_exec.@OBJEXT@ \
128      pcre_exec.@OBJEXT@ \
129  pcregrep:       libpcre.la pcregrep.o    pcre_fullinfo.@OBJEXT@ \
130                  $(LINK) -o pcregrep pcregrep.o libpcre.la    pcre_get.@OBJEXT@ \
131      pcre_globals.@OBJEXT@ \
132  pcretest:       libpcre.la @POSIX_LIB@ pcretest.o    pcre_info.@OBJEXT@ \
133                  $(LINK) $(PURIFY) $(EFENCE) -o pcretest pcretest.o \    pcre_maketables.@OBJEXT@ \
134      pcre_ord2utf8.@OBJEXT@ \
135      pcre_refcount.@OBJEXT@ \
136      pcre_study.@OBJEXT@ \
137      pcre_tables.@OBJEXT@ \
138      pcre_try_flipped.@OBJEXT@ \
139      pcre_ucp_searchfuncs.@OBJEXT@ \
140      pcre_valid_utf8.@OBJEXT@ \
141      pcre_version.@OBJEXT@ \
142      pcre_xclass.@OBJEXT@ \
143      $(POSIX_OBJ)
144    
145    LOBJ = pcre_chartables.lo \
146      pcre_compile.lo \
147      pcre_config.lo \
148      pcre_dfa_exec.lo \
149      pcre_exec.lo \
150      pcre_fullinfo.lo \
151      pcre_get.lo \
152      pcre_globals.lo \
153      pcre_info.lo \
154      pcre_maketables.lo \
155      pcre_ord2utf8.lo \
156      pcre_refcount.lo \
157      pcre_study.lo \
158      pcre_tables.lo \
159      pcre_try_flipped.lo \
160      pcre_ucp_searchfuncs.lo \
161      pcre_valid_utf8.lo \
162      pcre_version.lo \
163      pcre_xclass.lo \
164      $(POSIX_LOBJ)
165    
166    CPPOBJ = pcrecpp.@OBJEXT@ \
167      pcre_scanner.@OBJEXT@ \
168      pcre_stringpiece.@OBJEXT@
169    
170    CPPLOBJ = pcrecpp.lo \
171      pcre_scanner.lo \
172      pcre_stringpiece.lo
173    
174    CPP_TARGETS = libpcrecpp.la \
175      pcrecpp_unittest@EXEEXT@ \
176      pcre_scanner_unittest@EXEEXT@ \
177      pcre_stringpiece_unittest@EXEEXT@
178    
179    all:            libpcre.la @POSIX_LIB@ pcretest@EXEEXT@ pcregrep@EXEEXT@ \
180                    @MAYBE_CPP_TARGETS@ @ON_WINDOWS@ winshared
181    
182    pcregrep@EXEEXT@: libpcre.la pcregrep.@OBJEXT@ @ON_WINDOWS@ winshared
183                    $(LINK) -o pcregrep@EXEEXT@ pcregrep.@OBJEXT@ libpcre.la
184    
185    pcretest@EXEEXT@: libpcre.la @POSIX_LIB@ pcretest.@OBJEXT@ \
186                    @ON_WINDOWS@ winshared
187                    $(LINK) $(PURIFY) $(EFENCE) -o pcretest@EXEEXT@  \
188                    pcretest.@OBJEXT@ \
189                  libpcre.la @POSIX_LIB@                  libpcre.la @POSIX_LIB@
190    
191    pcrecpp_unittest@EXEEXT@: libpcrecpp.la pcrecpp_unittest.@OBJEXT@ \
192                    @ON_WINDOWS@ winshared
193                    $(CXXLINK) $(PURIFY) $(EFENCE) -o pcrecpp_unittest@EXEEXT@ \
194                    pcrecpp_unittest.@OBJEXT@ \
195                    libpcrecpp.la @POSIX_LIB@
196    
197    pcre_scanner_unittest@EXEEXT@: libpcrecpp.la pcre_scanner_unittest.@OBJEXT@ \
198                    @ON_WINDOWS@ winshared
199                    $(CXXLINK) $(PURIFY) $(EFENCE) \
200                    -o pcre_scanner_unittest@EXEEXT@ \
201                    pcre_scanner_unittest.@OBJEXT@ \
202                    libpcrecpp.la @POSIX_LIB@
203    
204    pcre_stringpiece_unittest@EXEEXT@: libpcrecpp.la \
205                    pcre_stringpiece_unittest.@OBJEXT@ @ON_WINDOWS@ winshared
206                    $(CXXLINK) $(PURIFY) $(EFENCE) \
207                    -o pcre_stringpiece_unittest@EXEEXT@ \
208                    pcre_stringpiece_unittest.@OBJEXT@ \
209                    libpcrecpp.la @POSIX_LIB@
210    
211  libpcre.la:     $(OBJ)  libpcre.la:     $(OBJ)
212                  -rm -f libpcre.la                  -rm -f libpcre.la
213                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) -version-info \
214                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)
215    
216  libpcreposix.la: pcreposix.o  libpcreposix.la: libpcre.la pcreposix.@OBJEXT@
217                  -rm -f libpcreposix.la                  -rm -f libpcreposix.la
218                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
219                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo
220    
221  pcre.o:         $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \  libpcrecpp.la: libpcre.la $(CPPOBJ)
222                  $(top_srcdir)/internal.h $(top_srcdir)/printint.c \                  -rm -f libpcrecpp.la
223                    $(CXXLINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
224                    '$(PCRECPPLIBVERSION)' -o libpcrecpp.la $(CPPLOBJ)
225    
226    # Note that files generated by ./configure and by dftables are in the current
227    # directory, not the source directory.
228    
229    pcre_chartables.@OBJEXT@: pcre_chartables.c
230                    @$(LTCOMPILE) pcre_chartables.c
231    
232    pcre_compile.@OBJEXT@: Makefile config.h pcre.h \
233                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_compile.c \
234                    $(top_srcdir)/pcre_printint.src
235                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
236                    $(top_srcdir)/pcre_compile.c
237    
238    pcre_config.@OBJEXT@:  Makefile config.h pcre.h \
239                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_config.c
240                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
241                    $(top_srcdir)/pcre_config.c
242    
243    pcre_dfa_exec.@OBJEXT@: Makefile config.h pcre.h \
244                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_dfa_exec.c
245                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
246                    $(top_srcdir)/pcre_dfa_exec.c
247    
248    pcre_exec.@OBJEXT@:    Makefile config.h pcre.h \
249                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_exec.c
250                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
251                    $(top_srcdir)/pcre_exec.c
252    
253    pcre_fullinfo.@OBJEXT@: Makefile config.h pcre.h \
254                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_fullinfo.c
255                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
256                    $(top_srcdir)/pcre_fullinfo.c
257    
258    pcre_get.@OBJEXT@:     Makefile config.h pcre.h \
259                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_get.c
260                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
261                    $(top_srcdir)/pcre_get.c
262    
263    pcre_globals.@OBJEXT@: Makefile config.h pcre.h \
264                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_globals.c
265                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
266                    $(top_srcdir)/pcre_globals.c
267    
268    pcre_info.@OBJEXT@:    Makefile config.h pcre.h \
269                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_info.c
270                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
271                    $(top_srcdir)/pcre_info.c
272    
273    pcre_maketables.@OBJEXT@: Makefile config.h pcre.h \
274                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_maketables.c
275                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
276                    $(top_srcdir)/pcre_maketables.c
277    
278    pcre_ord2utf8.@OBJEXT@: Makefile config.h pcre.h \
279                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_ord2utf8.c
280                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
281                    $(top_srcdir)/pcre_ord2utf8.c
282    
283    pcre_refcount.@OBJEXT@:   Makefile config.h pcre.h \
284                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_refcount.c
285                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
286                    $(top_srcdir)/pcre_refcount.c
287    
288    pcre_study.@OBJEXT@:   Makefile config.h pcre.h \
289                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_study.c
290                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
291                    $(top_srcdir)/pcre_study.c
292    
293    pcre_tables.@OBJEXT@:  Makefile config.h pcre.h \
294                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_tables.c
295                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
296                    $(top_srcdir)/pcre_tables.c
297    
298    pcre_try_flipped.@OBJEXT@: Makefile config.h pcre.h \
299                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_try_flipped.c
300                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
301                    $(top_srcdir)/pcre_try_flipped.c
302    
303    pcre_ucp_searchfuncs.@OBJEXT@: Makefile config.h pcre.h \
304                    $(top_srcdir)/pcre_internal.h \
305                    $(top_srcdir)/pcre_ucp_searchfuncs.c \
306                    $(top_srcdir)/ucptable.c
307                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
308                    $(top_srcdir)/pcre_ucp_searchfuncs.c
309    
310    pcre_valid_utf8.@OBJEXT@: Makefile config.h pcre.h \
311                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_valid_utf8.c
312                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
313                    $(top_srcdir)/pcre_valid_utf8.c
314    
315    pcre_version.@OBJEXT@: Makefile config.h pcre.h \
316                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_version.c
317                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
318                    $(top_srcdir)/pcre_version.c
319    
320    pcre_xclass.@OBJEXT@:  Makefile config.h pcre.h \
321                    $(top_srcdir)/pcre_internal.h $(top_srcdir)/pcre_xclass.c
322                    @$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
323                    $(top_srcdir)/pcre_xclass.c
324    
325    pcreposix.@OBJEXT@:    $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \
326                      $(top_srcdir)/pcre_internal.h pcre.h config.h Makefile
327                    @$(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) \
328                    $(top_srcdir)/pcreposix.c
329    
330    pcrecpp.@OBJEXT@:      $(top_srcdir)/pcrecpp.cc $(top_srcdir)/pcrecpp.h \
331                    pcrecpparg.h pcre_stringpiece.h pcre.h config.h Makefile
332                    @$(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
333                    $(top_srcdir)/pcrecpp.cc
334    
335    pcre_scanner.@OBJEXT@: $(top_srcdir)/pcre_scanner.cc \
336                    $(top_srcdir)/pcre_scanner.h \
337                    $(top_srcdir)/pcrecpp.h pcrecpparg.h pcre_stringpiece.h \
338                  pcre.h config.h Makefile                  pcre.h config.h Makefile
339                  $(LTCOMPILE) $(UTF8) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c                  @$(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
340                    $(top_srcdir)/pcre_scanner.cc
341    
342  pcreposix.o:    $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \  pcre_stringpiece.@OBJEXT@:  $(top_srcdir)/pcre_stringpiece.cc \
343                  $(top_srcdir)/internal.h pcre.h config.h Makefile                  pcre_stringpiece.h \
344                  $(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcreposix.c                  config.h Makefile
345                    @$(LTCXXCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) \
346                    $(top_srcdir)/pcre_stringpiece.cc
347    
348    pcretest.@OBJEXT@:     $(top_srcdir)/pcretest.c $(top_srcdir)/pcre_internal.h \
349                    $(top_srcdir)/pcre_printint.src pcre.h config.h Makefile
350                    $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(UTF8) $(UCP) \
351                    $(LINK_SIZE) $(top_srcdir)/pcretest.c
352    
353    pcrecpp_unittest.@OBJEXT@:  $(top_srcdir)/pcrecpp_unittest.cc \
354                    $(top_srcdir)/pcrecpp.h \
355                    pcrecpparg.h pcre_stringpiece.h pcre.h config.h Makefile
356                    $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(UTF8) $(UCP) \
357                    $(LINK_SIZE) $(top_srcdir)/pcrecpp_unittest.cc
358    
359    pcre_stringpiece_unittest.@OBJEXT@: $(top_srcdir)/pcre_stringpiece_unittest.cc \
360                    pcre_stringpiece.h pcrecpparg.h config.h Makefile
361                    $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(UTF8) $(UCP) \
362                    $(LINK_SIZE) $(top_srcdir)/pcre_stringpiece_unittest.cc
363    
364    pcre_scanner_unittest.@OBJEXT@:  $(top_srcdir)/pcre_scanner_unittest.cc \
365                    $(top_srcdir)/pcre_scanner.h \
366                    $(top_srcdir)/pcrecpp.h pcre_stringpiece.h \
367                    pcre.h pcrecpparg.h config.h Makefile
368                    $(CXX) -c $(CXXFLAGS) -I. -I$(top_srcdir) $(UTF8) $(UCP) \
369                    $(LINK_SIZE) $(top_srcdir)/pcre_scanner_unittest.cc
370    
371    pcregrep.@OBJEXT@:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h
372                    $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(UTF8) $(UCP) \
373                    $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c
374    
375    # Some Windows-specific targets for MinGW. Do not use for Cygwin.
376    
377    winshared : .libs/@WIN_PREFIX@pcre.dll .libs/@WIN_PREFIX@pcreposix.dll \
378                    .libs/@WIN_PREFIX@pcrecpp.dll
379    
380    .libs/@WIN_PREFIX@pcre.dll : libpcre.la
381            $(CC) $(CFLAGS) -shared -o $@ \
382            -Wl,--whole-archive .libs/libpcre.a \
383            -Wl,--out-implib,.libs/libpcre.dll.a \
384            -Wl,--output-def,.libs/@WIN_PREFIX@pcre.dll-def \
385            -Wl,--export-all-symbols \
386            -Wl,--no-whole-archive
387            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
388            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
389            < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
390            mv -f .libs/libpcre.lai.tmp .libs/libpcre.lai
391            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
392            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
393            < libpcre.la > libpcre.la.tmp && \
394            mv -f libpcre.la.tmp libpcre.la
395    
396    
397    .libs/@WIN_PREFIX@pcreposix.dll: libpcreposix.la libpcre.la
398            $(CC) $(CFLAGS) -shared -o $@ \
399            -Wl,--whole-archive .libs/libpcreposix.a \
400            -Wl,--out-implib,.libs/@WIN_PREFIX@pcreposix.dll.a \
401            -Wl,--output-def,.libs/@WIN_PREFIX@libpcreposix.dll-def \
402            -Wl,--export-all-symbols \
403            -Wl,--no-whole-archive .libs/libpcre.a
404            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
405            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
406            < .libs/libpcreposix.lai > .libs/libpcreposix.lai.tmp && \
407            mv -f .libs/libpcreposix.lai.tmp .libs/libpcreposix.lai
408            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
409            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
410            < libpcreposix.la > libpcreposix.la.tmp && \
411            mv -f libpcreposix.la.tmp libpcreposix.la
412    
413    .libs/@WIN_PREFIX@pcrecpp.dll: libpcrecpp.la libpcre.la
414            $(CXX) $(CXXFLAGS) -shared -o $@ \
415            -Wl,--whole-archive .libs/libpcrecpp.a \
416            -Wl,--out-implib,.libs/@WIN_PREFIX@pcrecpp.dll.a \
417            -Wl,--output-def,.libs/@WIN_PREFIX@libpcrecpp.dll-def \
418            -Wl,--export-all-symbols \
419            -Wl,--no-whole-archive .libs/libpcre.a
420            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcrecpp.dll'#" \
421            -e "s#library_names=''#library_names='libpcrecpp.dll.a'#"\
422            < .libs/libpcrecpp.lai > .libs/libpcrecpp.lai.tmp && \
423            mv -f .libs/libpcrecpp.lai.tmp .libs/libpcrecpp.lai
424            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcrecpp.dll'#" \
425            -e "s#library_names=''#library_names='libpcrecpp.dll.a'#"\
426            < libpcrecpp.la > libpcrecpp.la.tmp && \
427            mv -f libpcrecpp.la.tmp libpcrecpp.la
428    
429    
430    wininstall : winshared
431            $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
432            $(mkinstalldirs) $(DESTDIR)$(BINDIR)
433            $(INSTALL) .libs/@WIN_PREFIX@pcre.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
434            $(INSTALL) .libs/@WIN_PREFIX@pcreposix.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
435            $(INSTALL) .libs/@WIN_PREFIX@libpcreposix.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcreposix.dll.a
436            $(INSTALL) .libs/@WIN_PREFIX@libpcre.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcre.dll.a
437    @HAVE_CPP@       $(INSTALL) .libs/@WIN_PREFIX@pcrecpp.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcrecpp.dll
438    @HAVE_CPP@       $(INSTALL) .libs/@WIN_PREFIX@libpcrecpp.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcrecpp.dll.a
439            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
440            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
441    @HAVE_CPP@       -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcrecpp.dll
442            -strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
443            -strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
444    
445  maketables.o:   $(top_srcdir)/maketables.c $(top_srcdir)/internal.h \  # An auxiliary program makes the default character table source. This is put
446                  pcre.h config.h Makefile  # in the current directory, NOT the $top_srcdir directory.
                 $(LTCOMPILE) $(top_srcdir)/maketables.c  
447    
448  get.o:          $(top_srcdir)/get.c $(top_srcdir)/internal.h \  pcre_chartables.c:   dftables@BUILD_EXEEXT@
449                  pcre.h config.h Makefile                  ./dftables@BUILD_EXEEXT@ pcre_chartables.c
                 $(LTCOMPILE) $(top_srcdir)/get.c  
450    
451  study.o:        $(top_srcdir)/study.c $(top_srcdir)/internal.h \  dftables.@BUILD_OBJEXT@:     $(top_srcdir)/dftables.c \
452                    $(top_srcdir)/pcre_maketables.c $(top_srcdir)/pcre_internal.h \
453                  pcre.h config.h Makefile                  pcre.h config.h Makefile
454                  $(LTCOMPILE) $(UTF8) $(top_srcdir)/study.c                  $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -I. $(top_srcdir)/dftables.c
455    
456  pcretest.o:     $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \  dftables@BUILD_EXEEXT@:      dftables.@BUILD_OBJEXT@
457                  $(top_srcdir)/printint.c \                  $(LINK_FOR_BUILD) -o dftables@BUILD_EXEEXT@ dftables.@OBJEXT@
                 pcre.h config.h Makefile  
                 $(CC) -c $(CFLAGS) -I. $(UTF8) $(LINK_SIZE) $(top_srcdir)/pcretest.c  
   
 pcregrep.o:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h  
                 $(CC) -c $(CFLAGS) -I. $(UTF8) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c  
   
 # An auxiliary program makes the default character table source  
458    
459  $(top_srcdir)/chartables.c:   dftables  install:        all @ON_WINDOWS@ wininstall
460                  ./dftables >$(top_srcdir)/chartables.c  @NOT_ON_WINDOWS@               $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
461    @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"
462  dftables.o:     $(top_srcdir)/dftables.c $(top_srcdir)/maketables.c \  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la
463                  $(top_srcdir)/internal.h pcre.h config.h Makefile  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"
464                  $(HOST_CC) -c $(HOST_CFLAGS) -I. $(top_srcdir)/dftables.c  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la
465    @NOT_ON_WINDOWS@@HAVE_CPP@              echo "$(LIBTOOL) --mode=install $(INSTALL) libpcrecpp.la $(DESTDIR)$(LIBDIR)/libpcrecpp.la"
466  dftables:       dftables.o  @NOT_ON_WINDOWS@@HAVE_CPP@              $(LIBTOOL) --mode=install $(INSTALL) libpcrecpp.la $(DESTDIR)$(LIBDIR)/libpcrecpp.la
467                  $(LINK) -o dftables dftables.o  @NOT_ON_WINDOWS@               $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)
   
 install:        all  
                 $(mkinstalldirs) $(DESTDIR)$(LIBDIR)  
                 echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"  
                 $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la  
                 echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"  
                 $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la  
                 $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)  
468                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)
469                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h
470                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h
471    @HAVE_CPP@               $(INSTALL_DATA) $(top_srcdir)/pcrecpp.h $(DESTDIR)$(INCDIR)/pcrecpp.h
472    @HAVE_CPP@               $(INSTALL_DATA) pcrecpparg.h $(DESTDIR)$(INCDIR)/pcrecpparg.h
473    @HAVE_CPP@               $(INSTALL_DATA) pcre_stringpiece.h $(DESTDIR)$(INCDIR)/pcre_stringpiece.h
474    @HAVE_CPP@               $(INSTALL_DATA) $(top_srcdir)/pcre_scanner.h $(DESTDIR)$(INCDIR)/pcre_scanner.h
475                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3
476                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3
477                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3
478                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3
479                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3
480                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3
481    @HAVE_CPP@               $(INSTALL_DATA) $(top_srcdir)/doc/pcrecpp.3 $(DESTDIR)$(MANDIR)/man3/pcrecpp.3
482                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrematching.3 $(DESTDIR)$(MANDIR)/man3/pcrematching.3
483                    $(INSTALL_DATA) $(top_srcdir)/doc/pcrepartial.3 $(DESTDIR)$(MANDIR)/man3/pcrepartial.3
484                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3
485                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3
486                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3
487                    $(INSTALL_DATA) $(top_srcdir)/doc/pcreprecompile.3 $(DESTDIR)$(MANDIR)/man3/pcreprecompile.3
488                  $(INSTALL_DATA) $(top_srcdir)/doc/pcresample.3 $(DESTDIR)$(MANDIR)/man3/pcresample.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcresample.3 $(DESTDIR)$(MANDIR)/man3/pcresample.3
489                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_compile.3 $(DESTDIR)$(MANDIR)/man3/pcre_compile.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre_compile.3 $(DESTDIR)$(MANDIR)/man3/pcre_compile.3
490                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_compile2.3 $(DESTDIR)$(MANDIR)/man3/pcre_compile2.3
491                  $(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
492                  $(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
493                  $(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
494                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_dfa_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_dfa_exec.3
495                  $(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
496                  $(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
497                  $(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 502  install:        all
502                  $(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
503                  $(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
504                  $(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
505                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_refcount.3 $(DESTDIR)$(MANDIR)/man3/pcre_refcount.3
506                  $(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
507                  $(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
508                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
509                  $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1
510                  $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1
511                  $(mkinstalldirs) $(DESTDIR)$(BINDIR)                  $(mkinstalldirs) $(DESTDIR)$(BINDIR)
512                  $(LIBTOOL) --mode=install $(INSTALL) pcregrep $(DESTDIR)$(BINDIR)/pcregrep                  $(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
513                  $(LIBTOOL) --mode=install $(INSTALL) pcretest $(DESTDIR)$(BINDIR)/pcretest                  $(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
514                  $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config                  $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config
515                    $(mkinstalldirs) $(DESTDIR)$(LIBDIR)/pkgconfig
516                    $(INSTALL_DATA) libpcre.pc $(DESTDIR)$(LIBDIR)/pkgconfig/libpcre.pc
517    
518  # 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.  
519    
520  clean:;         -rm -rf *.o *.lo *.a *.la .libs pcretest pcregrep testtry  uninstall:;     -rm -rf \
521                    $(DESTDIR)$(LIBDIR)/libpcre.* \
522                    $(DESTDIR)$(LIBDIR)/libpcreposix.* \
523                    $(DESTDIR)$(LIBDIR)/libpcrecpp.* \
524                    $(DESTDIR)$(INCDIR)/pcre.h \
525                    $(DESTDIR)$(INCDIR)/pcreposix.h \
526                    $(DESTDIR)$(INCDIR)/pcrecpp.h \
527                    $(DESTDIR)$(INCDIR)/pcrecpparg.h \
528                    $(DESTDIR)$(INCDIR)/pcre_scanner.h \
529                    $(DESTDIR)$(INCDIR)/pcre_stringpiece.h \
530                    $(DESTDIR)$(MANDIR)/man3/pcre.3 \
531                    $(DESTDIR)$(MANDIR)/man3/pcreapi.3 \
532                    $(DESTDIR)$(MANDIR)/man3/pcrebuild.3 \
533                    $(DESTDIR)$(MANDIR)/man3/pcrecallout.3 \
534                    $(DESTDIR)$(MANDIR)/man3/pcrecompat.3 \
535                    $(DESTDIR)$(MANDIR)/man3/pcrecpp.3 \
536                    $(DESTDIR)$(MANDIR)/man3/pcrematching.3 \
537                    $(DESTDIR)$(MANDIR)/man3/pcrepartial.3 \
538                    $(DESTDIR)$(MANDIR)/man3/pcrepattern.3 \
539                    $(DESTDIR)$(MANDIR)/man3/pcreperform.3 \
540                    $(DESTDIR)$(MANDIR)/man3/pcreposix.3 \
541                    $(DESTDIR)$(MANDIR)/man3/pcreprecompile.3 \
542                    $(DESTDIR)$(MANDIR)/man3/pcresample.3 \
543                    $(DESTDIR)$(MANDIR)/man3/pcre_compile.3 \
544                    $(DESTDIR)$(MANDIR)/man3/pcre_compile2.3 \
545                    $(DESTDIR)$(MANDIR)/man3/pcre_config.3 \
546                    $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3 \
547                    $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3 \
548                    $(DESTDIR)$(MANDIR)/man3/pcre_dfa_exec.3 \
549                    $(DESTDIR)$(MANDIR)/man3/pcre_exec.3 \
550                    $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3 \
551                    $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3 \
552                    $(DESTDIR)$(MANDIR)/man3/pcre_fullinfo.3 \
553                    $(DESTDIR)$(MANDIR)/man3/pcre_get_named_substring.3 \
554                    $(DESTDIR)$(MANDIR)/man3/pcre_get_stringnumber.3 \
555                    $(DESTDIR)$(MANDIR)/man3/pcre_get_substring.3 \
556                    $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3 \
557                    $(DESTDIR)$(MANDIR)/man3/pcre_info.3 \
558                    $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3 \
559                    $(DESTDIR)$(MANDIR)/man3/pcre_refcount.3 \
560                    $(DESTDIR)$(MANDIR)/man3/pcre_study.3 \
561                    $(DESTDIR)$(MANDIR)/man3/pcre_version.3 \
562                    $(DESTDIR)$(MANDIR)/man1/pcregrep.1 \
563                    $(DESTDIR)$(MANDIR)/man1/pcretest.1 \
564                    $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ \
565                    $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ \
566                    $(DESTDIR)$(BINDIR)/pcre-config \
567                    $(DESTDIR)$(LIBDIR)/pkgconfig/libpcre.pc
568    
569    # We deliberately omit dftables and pcre_chartables.c from 'make clean'; once
570    # made pcre_chartables.c shouldn't change, and if people have edited the tables
571    # by hand, you don't want to throw them away.
572    
573    clean:;         -rm -rf *.@OBJEXT@ *.lo *.a *.la .libs pcretest@EXEEXT@ pcre_stringpiece_unittest@EXEEXT@ pcrecpp_unittest@EXEEXT@ pcre_scanner_unittest@EXEEXT@ pcregrep@EXEEXT@ testtry
574    
575  # But "make distclean" should get back to a virgin distribution  # But "make distclean" should get back to a virgin distribution
576    
577  distclean:      clean  distclean:      clean
578                  -rm -f chartables.c libtool pcre-config pcre.h \                  -rm -f pcre_chartables.c libtool pcre-config libpcre.pc \
579                    pcre.h pcre_stringpiece.h pcrecpparg.h \
580                    dftables@EXEEXT@ RunGrepTest RunTest \
581                  Makefile config.h config.status config.log config.cache                  Makefile config.h config.status config.log config.cache
582    
583  check:          runtest  check:          runtest
584    
585    @WIN_PREFIX@pcre.dll : winshared
586            cp .libs/@WIN_PREFIX@pcre.dll .
587    
588  test:           runtest  test:           runtest
589    
590  runtest:        all  runtest:        all @ON_WINDOWS@ @WIN_PREFIX@pcre.dll
591                  ./RunTest                  @./RunTest
592                    @./RunGrepTest
593    @HAVE_CPP@               @echo ""
594    @HAVE_CPP@               @echo "Testing C++ wrapper"
595    @HAVE_CPP@               @echo ""; echo "Test 1++: stringpiece"
596    @HAVE_CPP@               @./pcre_stringpiece_unittest@EXEEXT@
597    @HAVE_CPP@               @echo ""; echo "Test 2++: RE class"
598    @HAVE_CPP@               @./pcrecpp_unittest@EXEEXT@
599    @HAVE_CPP@               @echo ""; echo "Test 3++: Scanner class"
600    @HAVE_CPP@               @./pcre_scanner_unittest@EXEEXT@
601    
602  # End  # End

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

  ViewVC Help
Powered by ViewVC 1.1.5