3 RELEASE_DATE := "09-Nov-2005"
8 RELEASE_NAME := efibootmgr
9 RELEASE_STRING := $(RELEASE_NAME)-$(RELEASE_MAJOR).$(RELEASE_MINOR).$(RELEASE_SUBLEVEL)$(RELEASE_EXTRALEVEL)
11 CFLAGS += -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR).$(RELEASE_SUBLEVEL)$(RELEASE_EXTRALEVEL)\" \
12 -Wall -g -D_FILE_OFFSET_BITS=64
18 #--------------------------------------------
19 # Generic Makefile stuff is below. You
20 # should not have to modify any of the stuff
22 #--------------------------------------------
24 #Included makefiles will add their deps for each stage in these vars:
30 #Define the top-level build directory
31 BUILDDIR := $(shell pwd)
33 #Include make rules from each submodule (subdirectory)
34 include $(patsubst %,%/module.mk,$(MODULES))
36 .PHONY: all clean install_list install install_link post_install tarball echotree default
39 clean: clean_list $(CLEANDEPS)
44 install_list: echotree $(INSTALLDEPS)
47 @make install_list | tools/install.pl copy
50 @make install_list | tools/install.pl link
55 -rm $(RELEASE_NAME)*.tar.gz
56 cp -a ../$(RELEASE_NAME) ../$(RELEASE_STRING)
57 find ../$(RELEASE_STRING) -name CVS -type d -depth -exec rm -rf \{\} \;
59 cd ..; tar cvzf $(RELEASE_STRING).tar.gz $(RELEASE_STRING)
60 mv ../$(RELEASE_STRING).tar.gz .
61 rm -rf ../$(RELEASE_STRING)
64 #The rest of the docs...
65 doc_TARGETS += COPYING README INSTALL
68 @# making directory tree
70 @# %defattr(-, user, group)
71 @# %attr(4755,user,group) filename
74 # Here is a list of variables that are assumed Local to each Makefile. You can
75 # safely stomp on these values without affecting the build.