2007-03-12 04:21:54 +00:00
|
|
|
# define these targets in your makefile if you wish
|
|
|
|
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
2006-03-31 19:38:09 +00:00
|
|
|
|
2007-03-12 05:17:17 +00:00
|
|
|
# and define these variables to impact your build
|
2007-03-13 18:23:49 +00:00
|
|
|
MODNAME=mod_dingaling
|
2007-03-15 04:32:09 +00:00
|
|
|
BASE=../../../..
|
|
|
|
|
|
|
|
IKSEMELLA=$(BASE)/libs/iksemel/src/libiksemel.la
|
|
|
|
DINGLA=$(BASE)/libs/libdingaling/libdingaling.la
|
|
|
|
|
2007-03-12 04:21:54 +00:00
|
|
|
LOCAL_CFLAGS=-I$(BASE)/libs/libdingaling/src
|
2007-03-15 04:32:09 +00:00
|
|
|
LOCAL_LDFLAGS=
|
2007-03-12 04:21:54 +00:00
|
|
|
LOCAL_OBJS=
|
2007-03-15 04:32:09 +00:00
|
|
|
LOCAL_LIBADD=$(DINGLA)
|
|
|
|
|
|
|
|
include $(BASE)/build/modmake.rules
|
2007-03-12 04:21:54 +00:00
|
|
|
|
2007-03-15 04:32:09 +00:00
|
|
|
INST_DINGLA=$(PREFIX)/lib/libdingaling.la
|
|
|
|
|
|
|
|
$(IKSEMELLA):
|
2007-03-11 14:03:58 +00:00
|
|
|
cd $(BASE)/libs/iksemel && $(MAKE)
|
2007-03-15 04:32:09 +00:00
|
|
|
|
|
|
|
$(DINGLA): $(IKSEMELLA)
|
2007-03-11 14:03:58 +00:00
|
|
|
cd $(BASE)/libs/libdingaling && $(MAKE)
|
2006-03-31 19:38:09 +00:00
|
|
|
|
2007-03-15 04:32:09 +00:00
|
|
|
depend_install: $(INST_DINGLA)
|
|
|
|
|
|
|
|
$(INST_DINGLA): $(DINGLA)
|
2007-03-11 14:03:58 +00:00
|
|
|
cd $(BASE)/libs/libdingaling && $(MAKE) install
|
2007-03-12 04:21:54 +00:00
|
|
|
|