68 |
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
69 |
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ |
70 |
|
|
71 |
|
UCP = @UCP@ |
72 |
UTF8 = @UTF8@ |
UTF8 = @UTF8@ |
73 |
NEWLINE = @NEWLINE@ |
NEWLINE = @NEWLINE@ |
74 |
POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@ |
POSIX_MALLOC_THRESHOLD = @POSIX_MALLOC_THRESHOLD@ |
120 |
$(LINKLIB) -rpath $(LIBDIR) libpcre.la -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.@OBJEXT@: $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \ |
# Note that chartables.c is in the current directory, not the source directory. |
124 |
|
|
125 |
|
pcre.@OBJEXT@: chartables.c $(top_srcdir)/pcre.c \ |
126 |
$(top_srcdir)/internal.h $(top_srcdir)/printint.c \ |
$(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 |
pcre.h config.h Makefile |
130 |
$(LTCOMPILE) $(UTF8) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c |
$(LTCOMPILE) $(UTF8) $(UCP) $(POSIX_MALLOC_THRESHOLD) $(top_srcdir)/pcre.c |
131 |
|
|
132 |
pcreposix.@OBJEXT@: $(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 |
143 |
|
|
144 |
study.@OBJEXT@: $(top_srcdir)/study.c $(top_srcdir)/internal.h \ |
study.@OBJEXT@: $(top_srcdir)/study.c $(top_srcdir)/internal.h \ |
145 |
pcre.h config.h Makefile |
pcre.h config.h Makefile |
146 |
$(LTCOMPILE) $(UTF8) $(top_srcdir)/study.c |
$(LTCOMPILE) $(UTF8) $(UCP) $(top_srcdir)/study.c |
147 |
|
|
148 |
pcretest.@OBJEXT@: $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \ |
pcretest.@OBJEXT@: $(top_srcdir)/pcretest.c $(top_srcdir)/internal.h \ |
149 |
$(top_srcdir)/printint.c \ |
$(top_srcdir)/printint.c \ |
150 |
pcre.h config.h Makefile |
pcre.h config.h Makefile |
151 |
$(CC) -c $(CFLAGS) -I. $(UTF8) $(LINK_SIZE) $(top_srcdir)/pcretest.c |
$(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(LINK_SIZE) $(top_srcdir)/pcretest.c |
152 |
|
|
153 |
pcregrep.@OBJEXT@: $(top_srcdir)/pcregrep.c pcre.h Makefile config.h |
pcregrep.@OBJEXT@: $(top_srcdir)/pcregrep.c pcre.h Makefile config.h |
154 |
$(CC) -c $(CFLAGS) -I. $(UTF8) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c |
$(CC) -c $(CFLAGS) -I. $(UTF8) $(UCP) $(PCREGREP_OSTYPE) $(top_srcdir)/pcregrep.c |
155 |
|
|
156 |
# Some Windows-specific targets for MinGW. Do not use for Cygwin. |
# Some Windows-specific targets for MinGW. Do not use for Cygwin. |
157 |
|
|
203 |
-strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ |
-strip $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ |
204 |
-strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ |
-strip $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ |
205 |
|
|
206 |
# An auxiliary program makes the default character table source |
# An auxiliary program makes the default character table source. This is put |
207 |
|
# in the current directory, NOT the $top_srcdir directory. |
208 |
|
|
209 |
$(top_srcdir)/chartables.c: dftables |
chartables.c: dftables |
210 |
./dftables $(top_srcdir)/chartables.c |
./dftables chartables.c |
211 |
|
|
212 |
dftables.@BUILD_OBJEXT@: $(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 |
259 |
$(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ |
$(LIBTOOL) --mode=install $(INSTALL) pcregrep@EXEEXT@ $(DESTDIR)$(BINDIR)/pcregrep@EXEEXT@ |
260 |
$(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ |
$(LIBTOOL) --mode=install $(INSTALL) pcretest@EXEEXT@ $(DESTDIR)$(BINDIR)/pcretest@EXEEXT@ |
261 |
$(INSTALL) pcre-config $(DESTDIR)$(BINDIR)/pcre-config |
$(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, |