mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-26 21:20:38 +00:00
rel 0.1
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/tags/REL_0_1@54 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
commit
b4a6066f86
23
Makefile
23
Makefile
@ -13,10 +13,13 @@
|
||||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
PROGRAM=libkqueue
|
||||
INSTALL=/usr/bin/install
|
||||
DISTFILES=*.c *.h kqueue.2 README Makefile configure os sys
|
||||
SOURCES=src/$(UNAME)/*.c
|
||||
SOURCES=filter.c kevent.c knote.c kqueue.c
|
||||
MANS=kqueue.2
|
||||
HEADERS=private.h
|
||||
EXTRA_DIST=*.in README
|
||||
SUBDIRS=os sys test
|
||||
DISTFILES=Makefile configure
|
||||
FILTERS=vnode.c timer.c signal.c socket.c user.c
|
||||
|
||||
include config.mk
|
||||
@ -48,10 +51,14 @@ check:
|
||||
cd test && ./configure && make check
|
||||
|
||||
dist:
|
||||
mkdir $(PROGRAM)
|
||||
cp -R $(DISTFILES) $(PROGRAM)
|
||||
tar zcvf $(PROGRAM)-`date +%y%m%d_%H%M`.tar.gz $(PROGRAM)
|
||||
rm -rf $(PROGRAM)
|
||||
mkdir $(PROGRAM)-$(VERSION)
|
||||
cp Makefile configure \
|
||||
$(SOURCES) $(MANS) $(HEADERS) $(EXTRA_DIST) \
|
||||
$(PROGRAM)-$(VERSION)
|
||||
cp -R $(SUBDIRS) $(PROGRAM)-$(VERSION)
|
||||
rm -rf `find $(PROGRAM)-$(VERSION) -type d -name .svn`
|
||||
tar zcf $(PROGRAM)-$(VERSION).tar.gz $(PROGRAM)-$(VERSION)
|
||||
rm -rf $(PROGRAM)-$(VERSION)
|
||||
|
||||
publish-www:
|
||||
rm -rf ~/public_html/libkqueue/ ; cp -R www ~/public_html/libkqueue/
|
||||
@ -60,4 +67,4 @@ clean:
|
||||
rm -f a.out *.a *.o *.so
|
||||
|
||||
distclean: clean
|
||||
rm -f *.tar.gz config.mk $(FILTERS)
|
||||
rm -f *.tar.gz config.mk config.h libkqueue.pc $(FILTERS)
|
||||
|
@ -38,7 +38,7 @@ check-installed:
|
||||
./a.out
|
||||
|
||||
distclean: clean
|
||||
rm -f config.mk config.h
|
||||
rm -f config.mk config.h a.out
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
Loading…
Reference in New Issue
Block a user