| 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=db_oracle.so |
| 7 |
|
| 8 |
# default path for oracle 18.3 client |
| 9 |
DEFS +=-I/usr/include/oracle/18.3/client64 |
| 10 |
LIBS +=-locci -lclntsh -L/usr/lib/oracle/18.3/client64/lib |
| 11 |
|
| 12 |
include ../../Makefile.modules |
| 13 |
|
| 14 |
ifeq ($(INSTALL_FLAVOUR),kamailio) |
| 15 |
# extra install for kamailio |
| 16 |
|
| 17 |
install-oracle-scripts: $(bin_prefix)/$(bin_dir) |
| 18 |
ORACLEON=yes $(MAKE) -C ../../../utils/kamctl/ install-modules |
| 19 |
|
| 20 |
install-scripts: install-oracle-scripts |
| 21 |
|
| 22 |
endif # INSTALL_FLAVOUR |