summaryrefslogtreecommitdiff
path: root/src/pcre/Makefile
blob: c7897e36e7165a864b2ae61954b0c02c3caf19bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# makefile for rex_pcre library

include ../defaults.mak

# === USER SETTINGS ===
# ===========================================================================

# These are default values.
INC =
LIB = -lpcre

# If the default settings don't work for your system,
# try to uncomment and edit the settings below.
#INC =
#LIB = -lpcre

# Target name
REGNAME = pcre

# ===========================================================================
# === END OF USER SETTINGS ===

OBJ    = lpcre.o lpcre_f.o ../common.o

include ../common.mak

# static PCRE regexp library binding
ar_pcre: $(TRG_AR)

# dynamic PCRE regexp library binding
so_pcre: $(TRG_SO)

# Dependencies
lpcre.o: lpcre.c ../common.h ../algo.h
lpcre_f.o: lpcre_f.c ../common.h
../common.o: ../common.c ../common.h

# (End of Makefile)