2006-07-14 07:31:37 +00:00
|
|
|
include Makefile.common
|
2006-04-18 07:29:41 +00:00
|
|
|
|
|
|
|
.PHONY: all build-static build-shared check clean distclean
|
2006-05-20 09:37:54 +00:00
|
|
|
all: build-static build-shared check
|
2006-03-02 21:19:41 +00:00
|
|
|
build-static:
|
|
|
|
$(MAKE) -C src build-static
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-03-02 21:19:41 +00:00
|
|
|
build-shared:
|
|
|
|
$(MAKE) -C src build-shared
|
|
|
|
|
2006-07-14 07:31:37 +00:00
|
|
|
check: build-static build-shared
|
2006-01-04 23:35:09 +00:00
|
|
|
$(MAKE) -C test
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-04-18 07:29:41 +00:00
|
|
|
clean:
|
|
|
|
$(MAKE) -C src clean
|
|
|
|
$(MAKE) -C test clean
|
2006-04-04 23:15:10 +00:00
|
|
|
|
2006-04-18 07:29:41 +00:00
|
|
|
distclean: clean
|
|
|
|
$(MAKE) -C src distclean
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-04-18 07:29:41 +00:00
|
|
|
ifneq ($(OS),Windows)
|
|
|
|
.PHONY: install install-static
|
|
|
|
install:
|
|
|
|
$(MAKE) -C src install-static
|
|
|
|
$(MAKE) -C src install-shared
|
|
|
|
$(MAKE) -C include install
|
2006-01-11 00:02:57 +00:00
|
|
|
|
2006-04-18 07:29:41 +00:00
|
|
|
install-static:
|
|
|
|
$(MAKE) -C src install-static
|
|
|
|
$(MAKE) -C include install
|
|
|
|
endif
|