2004-04-09 13:05:16 +00:00
|
|
|
SUBDIRS=@subdirs@
|
2004-05-26 20:12:12 +00:00
|
|
|
DISTFILES=configure configure.ac Makefile.plugins.in Makefile.in
|
2004-04-09 13:05:16 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
ifneq (${SUBDIRS},)
|
|
|
|
@for subdir in ${SUBDIRS}; do \
|
|
|
|
(cd $$subdir && ${MAKE} HAVE_CONFIG_H=1 $@) \
|
|
|
|
done
|
|
|
|
endif
|
|
|
|
|
|
|
|
install:
|
|
|
|
ifneq (${SUBDIRS},)
|
2004-05-26 20:12:12 +00:00
|
|
|
test -d @plugins_dir@ || mkdir @plugins_dir@
|
2004-04-09 13:05:16 +00:00
|
|
|
@for subdir in ${SUBDIRS}; do \
|
|
|
|
(cd $$subdir && ${MAKE} $@) \
|
|
|
|
done
|
|
|
|
endif
|
2004-05-25 13:55:30 +00:00
|
|
|
|
2004-05-26 20:12:12 +00:00
|
|
|
configure: configure.ac
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
distdir: configure
|
|
|
|
test -d ${top_distdir}/plugins || mkdir ${top_distdir}/plugins
|
|
|
|
cp ${DISTFILES} ${top_distdir}/plugins
|
|
|
|
|
|
|
|
ifneq (${SUBDIRS},)
|
|
|
|
@for subdir in ${SUBDIRS}; do \
|
|
|
|
(cd $$subdir && ${MAKE} $@) \
|
|
|
|
done
|
|
|
|
endif
|
|
|
|
|
|
|
|
clean:
|
2004-05-25 13:55:30 +00:00
|
|
|
ifneq (${SUBDIRS},)
|
|
|
|
@for subdir in ${SUBDIRS}; do \
|
|
|
|
(cd $$subdir && ${MAKE} $@) \
|
|
|
|
done
|
|
|
|
endif
|
2004-05-26 20:12:12 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
ifneq (${SUBDIRS},)
|
|
|
|
@for subdir in ${SUBDIRS}; do \
|
|
|
|
(cd $$subdir && ${MAKE} $@) \
|
|
|
|
done
|
|
|
|
endif
|
|
|
|
rm -f Makefile Makefile.plugins
|
|
|
|
|
|
|
|
# TODO: distclean and clean
|