"Fossies" - the Fresh Open Source Software Archive 
Member "tin-2.6.2/pcre/Makefile.in" (23 Aug 2021, 3172 Bytes) of package /linux/misc/tin-2.6.2.tar.xz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 # Make file for PCRE (Perl-Compatible Regular Expression) library.
2
3 # The repeated -I. option is intentional, to work around the use of quoted
4 # includes in the pcre source. Bracketed includes would be more portable
5 # for nested include-files.
6
7 SHELL = /bin/sh
8 prefix = @prefix@
9 exec_prefix = @exec_prefix@
10 srcdir = @srcdir@
11 VPATH = $(srcdir)
12 @SET_MAKE@
13
14 CC = @CC@
15 CFLAGS = @CFLAGS@ @PCRE_DEFINES@
16
17 x = @EXEEXT@
18 o = .@OBJEXT@
19
20 BUILD_CC = @BUILD_CC@
21 BUILD_CFLAGS = @BUILD_CFLAGS@
22 BUILD_CPPFLAGS = @BUILD_CPPFLAGS@
23 BUILD_LDFLAGS = @BUILD_LDFLAGS@
24 BUILD_LIBS = @BUILD_LIBS@
25 X = $(BUILD_EXEEXT)
26
27 # The -D options correspond to pcre 4.1's default values.
28 CPPOPTS = \
29 @LINK_SIZE@ \
30 -DMATCH_LIMIT=10000000 \
31 -DMATCH_LIMIT_RECURSION=10000000 \
32 -DNEWLINE=10 \
33 -DPOSIX_MALLOC_THRESHOLD=10 \
34 @DEFS@ -I. -I../include -I$(srcdir)
35
36 RANLIB = @RANLIB@
37 RM = rm
38
39 PRELIB = @LIB_PREFIX@
40 ARCHIVE = @AR@ @ARFLAGS@
41
42 ##########################################################################
43
44 OBJ = \
45 pcre_chartables$o \
46 pcre_compile$o \
47 pcre_config$o \
48 pcre_dfa_exec$o \
49 pcre_exec$o \
50 pcre_fullinfo$o \
51 pcre_get$o \
52 pcre_globals$o \
53 pcre_info$o \
54 pcre_maketables$o \
55 pcre_newline$o \
56 pcre_ord2utf8$o \
57 pcre_refcount$o \
58 pcre_study$o \
59 pcre_tables$o \
60 pcre_try_flipped$o \
61 pcre_ucp_searchfuncs$o \
62 pcre_valid_utf8$o \
63 pcre_version$o \
64 pcre_xclass$o
65
66 PCR_DEP = \
67 pcre_internal.h \
68 pcre.h
69
70 all : $(PRELIB)pcre.a $(PRELIB)pcreposix.a pcretest$x pcregrep$x
71
72 .SUFFIXES : .i
73
74 .c$o :
75 @SHOW_CC@
76 @ECHO_CC@$(CC) $(CPPOPTS) $(CFLAGS) -c $(srcdir)/$*.c
77
78 pcre_chartables$o : pcre_chartables.c
79 @SHOW_CC@
80 @ECHO_CC@$(CC) $(CPPOPTS) $(CFLAGS) -c pcre_chartables.c
81
82 .c.i :
83 @SHOW_CC@
84 @ECHO_CC@$(CPP) -C $(CPPOPTS) $*.c >$@
85
86 pcregrep$x : $(PRELIB)pcre.a pcregrep$o
87 $(CC) $(CFLAGS) -o $@ pcregrep$o $(PRELIB)pcre.a
88
89 pcretest$x : $(PRELIB)pcre.a $(PRELIB)pcreposix.a pcretest$o
90 $(CC) $(CFLAGS) -o $@ pcretest$o $(PRELIB)pcre.a $(PRELIB)pcreposix.a
91
92 $(PRELIB)pcre.a : $(OBJ)
93 $(RM) -f $(PRELIB)pcre.a
94 $(ARCHIVE) $(PRELIB)pcre.a $(OBJ)
95 $(RANLIB) $(PRELIB)pcre.a
96
97 $(PRELIB)pcreposix.a : pcreposix$o
98 $(RM) -f $(PRELIB)pcreposix.a
99 $(ARCHIVE) $(PRELIB)pcreposix.a pcreposix$o
100 $(RANLIB) $(PRELIB)pcreposix.a
101
102 pcre$o : chartables.c pcre.c $(PCR_DEP)
103
104 pcreposix$o : pcreposix.c pcreposix.h $(PCR_DEP)
105
106 maketables$o : pcre_maketables.c $(PCR_DEP)
107 @SHOW_CC@
108 @ECHO_CC@$(CC) $(CPPOPTS) $(CFLAGS) -c $(srcdir)/pcre_maketables.c
109
110 pcretest$o : pcretest.c pcre.h
111
112 pcregrep$o : pcregrep.c pcre.h
113
114 # An auxiliary program makes the default character table source
115
116 pcre_chartables.c : dftables$X
117 ./dftables$X $@
118
119 dftables$X : dftables.c pcre_maketables.c $(PCR_DEP)
120 @SHOW_CC@
121 @ECHO_CC@$(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(CPPOPTS) $(srcdir)/dftables.c
122
123 # We deliberately omit dftables and chartables.c from 'make clean'; once made
124 # chartables.c shouldn't change, and if people have edited the tables by hand,
125 # you don't want to throw them away.
126
127 clean :; $(RM) -f *$o *.a pcretest$x pcregrep$x
128
129 distclean : clean
130 $(RM) -f dftables$X pcre_chartables.c RunTest testsavedregex testtry
131 $(RM) -rf dftables.dSYM pcretest.dSYM pcregrep.dSYM
132
133 runtest : all
134 ./RunTest
135
136 # End