head 1.2; access; symbols EV_8_2_2:1.1.1.1 vendor:1.1.1; locks; strict; comment @# @; 1.2 date 99.11.11.16.00.54; author rse; state Exp; branches; next 1.1; 1.1 date 99.10.20.19.31.14; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.10.20.19.31.14; author rse; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @## ## Makefile for EVENT library ## Copyright (c) 1999 Ralf S. Engelschall, All Rights Reserved. ## @@SET_MAKE@@ REV = 1 SHELL = /bin/sh CC = @@CC@@ CFLAGS = @@CFLAGS@@ -I. LDFLAGS = @@LDFLAGS@@ -L. SHTOOL = @@SHTOOL@@ LIBTOOL = @@LIBTOOL@@ RM = rm -f prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ LIBEV = libev.la MERGE_HDRS = \ ev.h MERGE_SRCS = \ ev_heap.h \ ev_list.h \ ev_assert.h \ ev_p.h \ ev.c \ ev_connects.c \ ev_files.c \ ev_streams.c \ ev_timers.c \ ev_waits.c \ ev_heap.c \ ev_assert.c OBJS = \ ev.lo \ ev_connects.lo \ ev_files.lo \ ev_streams.lo \ ev_timers.lo \ ev_waits.lo \ ev_heap.lo \ ev_assert.lo all: $(LIBEV) ev_test .SUFFIXES: .o .lo .c.lo: $(LIBTOOL) --quiet --mode=compile $(CC) $(CFLAGS) -c $< .c.o: $(LIBTOOL) --quiet --mode=compile $(CC) $(CFLAGS) -c $< $(LIBEV): $(OBJS) $(LIBTOOL) --quiet --mode=link $(CC) -o $(LIBEV) $(OBJS) -rpath $(libdir) ev_test: ev_test.lo $(LIBTOOL) --quiet --mode=link $(CC) $(CFLAGS) -o ev_test ev_test.lo libev.la test: ev_test (echo "A"; sleep 1; echo "B"; sleep 1; echo "C"; sleep 1; echo "D"; sleep 1) | ./ev_test merge: mkdir ev_merge 2>/dev/null || true perl ev_merge.pl $(MERGE_HDRS) >ev_merge/ev_lib.h perl ev_merge.pl $(MERGE_SRCS) >ev_merge/ev_lib.c cp ev_conf.h ev_merge/ev_cfg.h clean: $(RM) $(LIBEV) *.o *.lo $(RM) ev_test ev_test.lo distclean: clean $(RM) -r .libs $(RM) -r ev_merge 2>/dev/null $(RM) ev_conf.h ev-config $(RM) config.cache config.log config.status $(RM) Makefile $(RM) libtool install: all $(SHTOOL) mkdir -f -p -m 755 $(bindir) $(SHTOOL) mkdir -f -p -m 755 $(includedir) $(SHTOOL) mkdir -f -p -m 755 $(libdir) $(SHTOOL) mkdir -f -p -m 755 $(mandir)/man3 $(SHTOOL) install -c -m 755 ev-config $(bindir)/ev-config $(SHTOOL) install -c -m 644 ev.h $(includedir)/ev.h $(SHTOOL) install -c -m 644 ev.3 $(mandir)/man3/ev.3 @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libev.la $(libdir)/libev.la update: @@$(RM) ltmain.sh ltconfig shtool @@$(MAKE) $(MFLAGS) ltmain.sh ltconfig shtool configure ltmain.sh: @@F=`libtoolize -n -c -f | grep 'cp.*ltmain.sh' |\ sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "ltmain.sh <-- $$F"; cat $$F |\ sed -e 's:/bin/sh; then:/bin/sh || test "$$nonopt" = ./shtool;then:' \ -e 's:exec \$$SHELL \$$0 --finish:exit 0 #:' >ltmain.sh ltconfig: @@F=`libtoolize -n -c -f | grep 'cp.*ltconfig' | sed -e 's;[^/]*;;' -e 's; .*;;'`; \ echo "ltconfig <-- $$F"; cp $$F . shtool: shtoolize -q -o shtool echo mkdir install guessos tarball fixperm configure: configure.in $(RM) configure autoconf dist: distclean @@$(SHTOOL) fixperm -v .; \ V=`grep EV_VERSION ev.h | head -1 | sed -e 's/[^"]*"//' -e 's/".*//'`; \ $(SHTOOL) tarball -o ossp-ev-$${V}-$(REV).tar.gz -d ossp-ev-$${V}-$(REV) -u axe -g rse \ -e 'CVS,\.cvsignore,\.[ao],^\.' -c 'gzip --best' . @ 1.1 log @Initial revision @ text @d125 1 a125 1 $(SHTOOL) tarball -o axe-ev-$${V}-$(REV).tar.gz -d axe-ev-$${V}-$(REV) -u axe -g rse \ @ 1.1.1.1 log @ @ text @@