/[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 53 by nigel, Sat Feb 24 21:39:42 2007 UTC revision 75 by nigel, Sat Feb 24 21:40:37 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    
 #---------------------------------------------------------------------------#  
 # To build mingw32 DLL uncomment the next two lines. This addition for      #  
 # mingw32 was contributed by <Paul.Sokolovsky@technologist.com>. I (Philip  #  
 # Hazel) don't know anything about it! There are some additional targets at #  
 # the bottom of this Makefile.                                              #  
 #---------------------------------------------------------------------------#  
 #  
 # include dll.mk  
 # DLL_LDFLAGS=-s  
   
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 56  LIBDIR = @libdir@ Line 47  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  UTF8   = @UTF8@  
67    CC_FOR_BUILD = @CC_FOR_BUILD@
68    CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
69    CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
70    
71    UCP = @UCP@
72    UTF8 = @UTF8@
73  NEWLINE = @NEWLINE@  NEWLINE = @NEWLINE@
74    POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@
75    LINK_SIZE = @LINK_SIZE@
76    MATCH_LIMIT = @MATCH_LIMIT@
77    NO_RECURSE = @NO_RECURSE@
78    EBCDIC = @EBCDIC@
79    
80  INSTALL = @INSTALL@  INSTALL = @INSTALL@
81  INSTALL_DATA = @INSTALL_DATA@  INSTALL_DATA = @INSTALL_DATA@
# Line 69  INSTALL_DATA = @INSTALL_DATA@ Line 84  INSTALL_DATA = @INSTALL_DATA@
84  # to do one or the other or both by ./configure.  # to do one or the other or both by ./configure.
85    
86  LIBTOOL = @LIBTOOL@  LIBTOOL = @LIBTOOL@
87  LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. $(NEWLINE)  LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT) $(NO_RECURSE) $(EBCDIC)
88  LINK = $(LIBTOOL) --mode=link $(CC)  @ON_WINDOWS@LINK = $(CC) $(CFLAGS) -I. -I$(top_srcdir) -L.libs
89    @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
90    LINKLIB = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
91    LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
92    
93  # These are the version numbers for the shared libraries  # These are the version numbers for the shared libraries
94    
# Line 80  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VER Line 98  PCREPOSIXLIBVERSION = @PCRE_POSIXLIB_VER
98  ##############################################################################  ##############################################################################
99    
100    
101  OBJ = maketables.o get.o study.o pcre.o  OBJ = maketables.@OBJEXT@ get.@OBJEXT@ study.@OBJEXT@ pcre.@OBJEXT@ @POSIX_OBJ@
102  LOBJ = maketables.lo get.lo study.lo pcre.lo  LOBJ = maketables.lo get.lo study.lo pcre.lo @POSIX_LOBJ@
103    
104  all:            libpcre.la libpcreposix.la pcretest pcregrep  all:            libpcre.la @POSIX_LIB@ pcretest@EXEEXT@ pcregrep@EXEEXT@ @ON_WINDOWS@ winshared
105    
106  pcregrep:       libpcre.la pcregrep.o  pcregrep@EXEEXT@: libpcre.la pcregrep.@OBJEXT@ @ON_WINDOWS@ winshared
107                  $(LINK) $(CFLAGS) -o pcregrep pcregrep.o libpcre.la                  $(LINK) -o pcregrep@EXEEXT@ pcregrep.@OBJEXT@ libpcre.la
108    
109  pcretest:       libpcre.la libpcreposix.la pcretest.o  pcretest@EXEEXT@: libpcre.la @POSIX_LIB@ pcretest.@OBJEXT@ @ON_WINDOWS@ winshared
110                  $(LINK) $(PURIFY) $(CFLAGS) -o pcretest pcretest.o \                  $(LINK) $(PURIFY) $(EFENCE) -o pcretest@EXEEXT@  pcretest.@OBJEXT@ \
111                  libpcre.la libpcreposix.la                  libpcre.la @POSIX_LIB@
112    
113  libpcre.la:     $(OBJ)  libpcre.la:     $(OBJ)
114                  -rm -f libpcre.la                  -rm -f libpcre.la
115                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) -version-info \
116                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)                  '$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)
117    
118  libpcreposix.la: pcreposix.o  libpcreposix.la: libpcre.la pcreposix.@OBJEXT@
119                  -rm -f libpcreposix.la                  -rm -f libpcreposix.la
120                  $(LINK) -rpath $(LIBDIR) -version-info \                  $(LINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
121                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo                  '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo
122    
123  pcre.o:         $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \  # Note that chartables.c is in the current directory, not the source directory.
124                  $(top_srcdir)/internal.h pcre.h config.h Makefile  
125                  $(LTCOMPILE) $(UTF8) $(top_srcdir)/pcre.c  pcre.@OBJEXT@:  chartables.c $(top_srcdir)/pcre.c \
126                    $(top_srcdir)/internal.h $(top_srcdir)/printint.c \
127                    $(top_srcdir)/ucp.c $(top_srcdir)/ucp.h $(top_srcdir)/ucpinternal.h \
128                    $(top_srcdir)/ucptable.c $(top_srcdir)/ucptypetable.c \
129                    pcre.h config.h Makefile
130                    $(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c
131    
132  pcreposix.o:    $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \  pcreposix.@OBJEXT@: $(top_srcdir)/pcreposix.c $(top_srcdir)/pcreposix.h \
133                  $(top_srcdir)/internal.h pcre.h config.h Makefile                  $(top_srcdir)/internal.h pcre.h config.h Makefile
134                  $(LTCOMPILE) $(top_srcdir)/pcreposix.c                  $(LTCOMPILE) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcreposix.c
135    
136  maketables.o:   $(top_srcdir)/maketables.c $(top_srcdir)/internal.h \  maketables.@OBJEXT@:   $(top_srcdir)/maketables.c $(top_srcdir)/internal.h \
137                  pcre.h config.h Makefile                  pcre.h config.h Makefile
138                  $(LTCOMPILE) $(top_srcdir)/maketables.c                  $(LTCOMPILE) $(top_srcdir)/maketables.c
139    
140  get.o:          $(top_srcdir)/get.c $(top_srcdir)/internal.h \  get.@OBJEXT@:          $(top_srcdir)/get.c $(top_srcdir)/internal.h \
141                  pcre.h config.h Makefile                  pcre.h config.h Makefile
142                  $(LTCOMPILE) $(top_srcdir)/get.c                  $(LTCOMPILE) $(top_srcdir)/get.c
143    
144  study.o:        $(top_srcdir)/study.c $(top_srcdir)/internal.h \  study.@OBJEXT@:        $(top_srcdir)/study.c $(top_srcdir)/internal.h \
145                    pcre.h config.h Makefile
146                    $(LTCOMPILE) $(UTF8) $(UCP) $(top_srcdir)/study.c
147    
148    pcretest.@OBJEXT@:     $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \
149                    $(top_srcdir)/printint.c \
150                  pcre.h config.h Makefile                  pcre.h config.h Makefile
151                  $(LTCOMPILE) $(UTF8) $(top_srcdir)/study.c                  $(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcretest.c
152    
153  pcretest.o:     $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h pcre.h config.h Makefile  pcregrep.@OBJEXT@:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h
154                  $(LTCOMPILE) $(UTF8) $(top_srcdir)/pcretest.c                  $(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c
155    
156  pcregrep.o:     $(top_srcdir)/pcregrep.c pcre.h Makefile config.h  # Some Windows-specific targets for MinGW. Do not use for Cygwin.
                 $(LTCOMPILE) $(UTF8) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c  
157    
158  # An auxiliary program makes the default character table source  winshared : .libs/@WIN_PREFIX@pcre.dll .libs/@WIN_PREFIX@pcreposix.dll
159    
160    .libs/@WIN_PREFIX@pcre.dll : libpcre.la
161            $(CC) $(CFLAGS) -shared -o $@ \
162            -Wl,--whole-archive .libs/libpcre.a \
163            -Wl,--out-implib,.libs/libpcre.dll.a \
164            -Wl,--output-def,.libs/@WIN_PREFIX@pcre.dll-def \
165            -Wl,--export-all-symbols \
166            -Wl,--no-whole-archive
167            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
168            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
169            < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
170            mv .libs/libpcre.lai.tmp .libs/libpcre.lai
171            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcre.dll'#" \
172            -e "s#library_names=''#library_names='libpcre.dll.a'#" \
173            < libpcre.la > libpcre.la.tmp && \
174            mv libpcre.la.tmp libpcre.la
175    
176    
177    .libs/@WIN_PREFIX@pcreposix.dll: libpcreposix.la libpcre.la
178            $(CC) $(CFLAGS) -shared -o $@ \
179            -Wl,--whole-archive .libs/libpcreposix.a \
180            -Wl,--out-implib,.libs/@WIN_PREFIX@pcreposix.dll.a \
181            -Wl,--output-def,.libs/@WIN_PREFIX@libpcreposix.dll-def \
182            -Wl,--export-all-symbols \
183            -Wl,--no-whole-archive .libs/libpcre.a
184            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
185            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
186            < .libs/libpcreposix.lai > .libs/libpcreposix.lai.tmp && \
187            mv .libs/libpcreposix.lai.tmp .libs/libpcreposix.lai
188            sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@pcreposix.dll'#" \
189            -e "s#library_names=''#library_names='libpcreposix.dll.a'#"\
190            < libpcreposix.la > libpcreposix.la.tmp && \
191            mv libpcreposix.la.tmp libpcreposix.la
192    
193    
194    wininstall : winshared
195            $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
196            $(mkinstalldirs) $(DESTDIR)$(BINDIR)
197            $(INSTALL) .libs/@WIN_PREFIX@pcre.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
198            $(INSTALL) .libs/@WIN_PREFIX@pcreposix.dll $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
199            $(INSTALL) .libs/@WIN_PREFIX@libpcreposix.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcreposix.dll.a
200            $(INSTALL) .libs/@WIN_PREFIX@libpcre.dll.a $(DESTDIR)$(LIBDIR)/@WIN_PREFIX@libpcre.dll.a
201            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcre.dll
202            -strip -g $(DESTDIR)$(BINDIR)/@WIN_PREFIX@pcreposix.dll
203            -strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
204            -strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
205    
206    # An auxiliary program makes the default character table source. This is put
207    # in the current directory, NOT the $top_srcdir directory.
208    
209  chartables.c:   dftables  chartables.c:   dftables
210                  ./dftables >chartables.c                  ./dftables chartables.c
211    
212  dftables:       $(top_srcdir)/dftables.c $(top_srcdir)/maketables.c \  dftables.@BUILD_OBJEXT@:     $(top_srcdir)/dftables.c $(top_srcdir)/maketables.c \
213                  $(top_srcdir)/internal.h pcre.h config.h Makefile                  $(top_srcdir)/internal.h pcre.h config.h Makefile
214                  $(LINK) -o dftables $(CFLAGS) $(top_srcdir)/dftables.c                  $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -I. $(top_srcdir)/dftables.c
215    
216    dftables:       dftables.@BUILD_OBJEXT@
217                    $(LINK_FOR_BUILD) -o dftables dftables.@OBJEXT@
218    
219  install:        all  install:        all @ON_WINDOWS@ wininstall
220                  $(mkinstalldirs) $(DESTDIR)/$(LIBDIR)  @NOT_ON_WINDOWS@               $(mkinstalldirs) $(DESTDIR)$(LIBDIR)
221                  echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)/$(LIBDIR)/libpcre.la"  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la"
222                  $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)/$(LIBDIR)/libpcre.la  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcre.la $(DESTDIR)$(LIBDIR)/libpcre.la
223                  echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)/$(LIBDIR)/libpcreposix.la"  @NOT_ON_WINDOWS@               echo "$(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la"
224                  $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)/$(LIBDIR)/libpcreposix.la  @NOT_ON_WINDOWS@               $(LIBTOOL) --mode=install $(INSTALL) libpcreposix.la $(DESTDIR)$(LIBDIR)/libpcreposix.la
225                  $(LIBTOOL) --finish $(DESTDIR)/$(LIBDIR)  @NOT_ON_WINDOWS@               $(LIBTOOL) --finish $(DESTDIR)$(LIBDIR)
226                  $(mkinstalldirs) $(DESTDIR)/$(INCDIR)                  $(mkinstalldirs) $(DESTDIR)$(INCDIR)
227                  $(INSTALL_DATA) pcre.h $(DESTDIR)/$(INCDIR)/pcre.h                  $(INSTALL_DATA) pcre.h $(DESTDIR)$(INCDIR)/pcre.h
228                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)/$(INCDIR)/pcreposix.h                  $(INSTALL_DATA) $(top_srcdir)/pcreposix.h $(DESTDIR)$(INCDIR)/pcreposix.h
229                  $(mkinstalldirs) $(DESTDIR)/$(MANDIR)/man3                  $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man3
230                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)/$(MANDIR)/man3/pcre.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcre.3 $(DESTDIR)$(MANDIR)/man3/pcre.3
231                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)/$(MANDIR)/man3/pcreposix.3                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreapi.3 $(DESTDIR)$(MANDIR)/man3/pcreapi.3
232                  $(mkinstalldirs) $(DESTDIR)/$(MANDIR)/man1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrebuild.3 $(DESTDIR)$(MANDIR)/man3/pcrebuild.3
233                  $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)/$(MANDIR)/man1/pcregrep.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecallout.3 $(DESTDIR)$(MANDIR)/man3/pcrecallout.3
234                  $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)/$(MANDIR)/man1/pcretest.1                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrecompat.3 $(DESTDIR)$(MANDIR)/man3/pcrecompat.3
235                  $(mkinstalldirs) $(DESTDIR)/$(BINDIR)                  $(INSTALL_DATA) $(top_srcdir)/doc/pcrepattern.3 $(DESTDIR)$(MANDIR)/man3/pcrepattern.3
236                  $(LIBTOOL) --mode=install $(INSTALL) pcregrep $(DESTDIR)/$(BINDIR)/pcregrep                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreperform.3 $(DESTDIR)$(MANDIR)/man3/pcreperform.3
237                  $(LIBTOOL) --mode=install $(INSTALL) pcretest $(DESTDIR)/$(BINDIR)/pcretest                  $(INSTALL_DATA) $(top_srcdir)/doc/pcreposix.3 $(DESTDIR)$(MANDIR)/man3/pcreposix.3
238                  $(INSTALL) pcre-config $(DESTDIR)/$(BINDIR)/pcre-config                  $(INSTALL_DATA) $(top_srcdir)/doc/pcresample.3 $(DESTDIR)$(MANDIR)/man3/pcresample.3
239                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_compile.3 $(DESTDIR)$(MANDIR)/man3/pcre_compile.3
240                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_config.3 $(DESTDIR)$(MANDIR)/man3/pcre_config.3
241                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_named_substring.3
242                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_copy_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_copy_substring.3
243                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_exec.3 $(DESTDIR)$(MANDIR)/man3/pcre_exec.3
244                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring.3
245                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_free_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_free_substring_list.3
246                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_fullinfo.3 $(DESTDIR)$(MANDIR)/man3/pcre_fullinfo.3
247                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_named_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_named_substring.3
248                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_stringnumber.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_stringnumber.3
249                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring.3
250                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_get_substring_list.3 $(DESTDIR)$(MANDIR)/man3/pcre_get_substring_list.3
251                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_info.3 $(DESTDIR)$(MANDIR)/man3/pcre_info.3
252                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_maketables.3 $(DESTDIR)$(MANDIR)/man3/pcre_maketables.3
253                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_study.3 $(DESTDIR)$(MANDIR)/man3/pcre_study.3
254                    $(INSTALL_DATA) $(top_srcdir)/doc/pcre_version.3 $(DESTDIR)$(MANDIR)/man3/pcre_version.3
255                    $(mkinstalldirs) $(DESTDIR)$(MANDIR)/man1
256                    $(INSTALL_DATA) $(top_srcdir)/doc/pcregrep.1 $(DESTDIR)$(MANDIR)/man1/pcregrep.1
257                    $(INSTALL_DATA) $(top_srcdir)/doc/pcretest.1 $(DESTDIR)$(MANDIR)/man1/pcretest.1
258                    $(mkinstalldirs) $(DESTDIR)$(BINDIR)
259                    $(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@
260                    $(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@
261                    $(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config
262                    $(mkinstalldirs) $(DESTDIR)$(LIBDIR)/pkgconfig
263                    $(INSTALL) libpcre.pc $(DESTDIR)$(LIBDIR)/pkgconfig/libpcre.pc
264    
265  # We deliberately omit dftables and chartables.c from 'make clean'; once made  # We deliberately omit dftables and chartables.c from 'make clean'; once made
266  # 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,
267  # you don't want to throw them away.  # you don't want to throw them away.
268    
269  clean:;         -rm -rf *.o *.lo *.a *.la .libs pcretest pcregrep testtry  clean:;         -rm -rf *.@OBJEXT@ *.lo *.a *.la .libs pcretest@EXEEXT@ pcregrep@EXEEXT@ testtry
270    
271  # But "make distclean" should get back to a virgin distribution  # But "make distclean" should get back to a virgin distribution
272    
# Line 172  distclean: clean Line 276  distclean: clean
276    
277  check:          runtest  check:          runtest
278    
279  test:           runtest  @WIN_PREFIX@pcre.dll : winshared
280            cp .libs/@WIN_PREFIX@pcre.dll .
 runtest:        all  
                 ./RunTest  
   
 ######## MINGW32 ############### MINGW32 ############### MINGW32 #############  
281    
282  # This addition for mingw32 was contributed by  Paul Sokolovsky  test:           runtest
 # <Paul.Sokolovsky@technologist.com>. I (PH) don't know anything about it!  
   
 dll:            _dll libpcre.dll.a pcregrep_d pcretest_d  
   
 _dll:  
                 $(MAKE) CFLAGS=-DSTATIC pcre.dll  
   
 pcre.dll:       $(OBJ) pcreposix.o pcre.def  
 libpcre.dll.a:  pcre.def  
   
 pcregrep_d:     libpcre.dll.a pcregrep.o  
                 $(CC) $(CFLAGS) -L. -o pcregrep pcregrep.o -lpcre.dll  
283    
284  pcretest_d:     libpcre.dll.a pcretest.o  runtest:        all @ON_WINDOWS@ @WIN_PREFIX@pcre.dll
285                  $(PURIFY) $(CC) $(CFLAGS) -L. -o pcretest pcretest.o -lpcre.dll                  @./RunTest
286    
287  # End  # End

Legend:
Removed from v.53  
changed lines
  Added in v.75

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12