2007-08-19 20:19:01 +00:00
|
|
|
BASE=../../..
|
2007-05-26 04:45:31 +00:00
|
|
|
OZ_DIR=..
|
|
|
|
VERBOSE=1
|
2008-08-29 15:58:59 +00:00
|
|
|
OZSO=$(OZ_DIR)/libopenzap.so
|
2008-01-08 23:33:07 +00:00
|
|
|
LOCAL_CFLAGS=-I$(OZ_DIR)/src/include -I$(OZ_DIR)/src/isdn/include
|
2008-08-29 15:58:59 +00:00
|
|
|
LOCAL_LDFLAGS=-L$(OZ_DIR) -lopenzap
|
2007-05-26 04:45:31 +00:00
|
|
|
include $(BASE)/build/modmake.rules
|
|
|
|
|
2008-08-29 15:58:59 +00:00
|
|
|
local_depend: $(OZSO)
|
2007-05-26 04:45:31 +00:00
|
|
|
|
2008-08-29 15:58:59 +00:00
|
|
|
$(OZSO): $(OZ_DIR)/.update
|
|
|
|
cd $(OZ_DIR) && $(MAKE) ZAP_CFLAGS="$(ALL_CXXFLAGS)"
|
|
|
|
|
|
|
|
local_install:
|
|
|
|
cd $(OZ_DIR) && $(MAKE) install ZAP_CFLAGS="$(ALL_CXXFLAGS)"
|
2008-08-29 18:50:42 +00:00
|
|
|
[ -f $(DESTDIR)$(PREFIX)/conf/autoload_configs/openzap.conf.xml ] || cp -f $(OZ_DIR)/conf/openzap.conf.xml $(DESTDIR)$(PREFIX)/conf/autoload_configs
|
2008-08-29 15:58:59 +00:00
|
|
|
|
|
|
|
local_clean:
|
|
|
|
cd $(OZ_DIR) && $(MAKE) clean
|
2007-05-26 04:45:31 +00:00
|
|
|
|
|
|
|
|