diff options
Diffstat (limited to 'libical/Makefile.in')
-rw-r--r-- | libical/Makefile.in | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libical/Makefile.in b/libical/Makefile.in new file mode 100644 index 0000000000..54a7fa0f25 --- /dev/null +++ b/libical/Makefile.in @@ -0,0 +1,60 @@ +VERSION = 0.15 +DISTNAME = libical +SUBDIRS = src + +prefix = @prefix@ +PREFIX = ${prefix} +EXEC_PREFIX = @exec_prefix@ +BIN_DIR = $(EXEC_PREFIX)/bin +LIB_DIR = $(EXEC_PREFIX)/lib +INCLUDE_DIR = $(PREFIX)/include + +INSTALL = @INSTALL@ +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM= ${INSTALL} -m 755 + + +all: + for dir in $(SUBDIRS) ; do \ + (cd $$dir ; $(MAKE) $@) || exit 1; \ + done + +depend: + for dir in $(SUBDIRS) ; do \ + (cd $$dir ; $(MAKE) $@) || exit 1; \ + done + +clean: + -/bin/rm -rf $(DISTNAME)* config.log config.cache config.status + -/bin/rm *~ + for dir in $(SUBDIRS) ; do \ + (cd $$dir ; $(MAKE) $@) || exit 1; \ + done + +dist: clean + distname="$(DISTNAME)-$(VERSION)"; \ + distfiles=`find . -name "$$distname" -prune -o -name "design" -prune -o -name "rfc*" -prune -o -name "comp-cc" -prune -o -name "RCS" -prune -o -print | sed 's/^\.\///' ` ;\ + mkdir $$distname ; \ + for file in $$distfiles; do \ + test -d $$file && mkdir $$distname/$$file; \ + test -f $$file && { ln ./$$file $$distname/$$file \ + || { echo copying $$file instead; cp -p $$file $$distname/$$file;};}; \ + done; \ + tar -czvf $$distname.tar.gz $$distname ; + + +install: + @for i in $(LIB_DIR) $(INCLUDE_DIR) $(BIN_DIR);\ + do \ + if [ ! -d $$i ] ; then \ + mkdir $$i; \ + echo "Making directory $$i"; \ + chmod 755 $$i;\ + else true; \ + fi; \ + done; + + for dir in $(SUBDIRS) ; do \ + (cd $$dir ; $(MAKE) $@) || exit 1; \ + done + |