| 1 |
# |
| 2 |
# WARNING: do not run this directly, it should be run by the main Makefile |
| 3 |
|
| 4 |
include ../../Makefile.defs |
| 5 |
auto_gen= |
| 6 |
NAME=dialplan.so |
| 7 |
|
| 8 |
ifeq ($(CROSS_COMPILE),) |
| 9 |
PCRE_BUILDER = $(shell command -v pcre2-config) |
| 10 |
endif |
| 11 |
|
| 12 |
ifeq ($(PCRE_BUILDER),) |
| 13 |
PCREDEFS=-I$(LOCALBASE)/include |
| 14 |
PCRELIBS=-L$(LOCALBASE)/lib -lpcre2-8 |
| 15 |
else |
| 16 |
PCREDEFS = $(shell $(PCRE_BUILDER) --cflags) |
| 17 |
PCRELIBS = $(shell $(PCRE_BUILDER) --libs8) |
| 18 |
endif |
| 19 |
DEFS+=$(PCREDEFS) |
| 20 |
LIBS=$(PCRELIBS) |
| 21 |
|
| 22 |
include ../../Makefile.modules |