]> git.decadent.org.uk Git - dak.git/blob - tools/dsync-0.0/buildlib/makefile.in
Remove install_date from not_null_constraints
[dak.git] / tools / dsync-0.0 / buildlib / makefile.in
1 # -*- make -*-
2
3 # This is the build directory make file, it sets the build directory
4 # and runs the src makefile.
5 ifndef NOISY
6 .SILENT:
7 endif
8 include environment.mak
9
10 SRCDIR=@top_srcdir@
11 DIRS:=./docs ./bin ./obj ./include 
12 SUBDIRS:= $(DIRS)  ./include/dsync ./obj/libdsync ./obj/test ./obj/cmdline
13 BUILD:=$(shell pwd)
14 export BUILD
15
16 # Chain to the parent make to do the actual building
17 .PHONY: headers library clean veryclean all binary program doc static \
18         veryclean/local
19 all headers library clean veryclean binary program doc static:
20         $(MAKE) -C $(SRCDIR) -f Makefile $@
21
22 # Purge everything.
23 .PHONY: maintainer-clean dist-clean pristine sanity distclean
24 maintainer-clean dist-clean pristine sanity distclean:
25         -rm -rf $(DIRS)
26         -rm -f config.cache config.log config.status environment.mak makefile
27         
28 # This makes any missing directories
29 .PHONY: dirs
30 MISSING_DIRS:=  $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
31 dirs:
32 ifneq ($(words $(MISSING_DIRS)),0)
33         @mkdir  $(MISSING_DIRS)
34 else
35         @echo > /dev/null
36 endif   
37 ifeq ($(HAVE_C9X),yes)
38         -@rm include/inttypes.h > /dev/null 2>&1
39 else
40         @cp $(SRCDIR)/buildlib/inttypes.h.in include/inttypes.h
41 endif