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
20 #--------------------------------------------
21 # Generic Makefile stuff is below. You
22 # should not have to modify any of the stuff
24 #--------------------------------------------
26 #Included makefiles will add their deps for each stage in these vars:
32 #Define the top-level build directory
33 BUILDDIR := $(shell pwd)
35 #Include make rules from each submodule (subdirectory)
36 include $(patsubst %,%/module.mk,$(MODULES))
38 .PHONY: all clean install_list install install_link post_install tarball echotree default
41 clean: clean_list $(CLEANDEPS)
46 install_list: echotree $(INSTALLDEPS)
49 @make install_list | tools/install.pl copy
52 @make install_list | tools/install.pl link
57 -rm $(RELEASE_NAME)*.tar.gz
58 cp -a ../$(RELEASE_NAME) ../$(RELEASE_STRING)
59 find ../$(RELEASE_STRING) -name CVS -type d -depth -exec rm -rf \{\} \;
61 cd ..; tar cvzf $(RELEASE_STRING).tar.gz $(RELEASE_STRING)
62 mv ../$(RELEASE_STRING).tar.gz .
63 rm -rf ../$(RELEASE_STRING)
66 #The rest of the docs...
67 doc_TARGETS += COPYING README INSTALL
70 @# making directory tree
72 @# %defattr(-, user, group)
73 @# %attr(4755,user,group) filename
76 # Here is a list of variables that are assumed Local to each Makefile. You can
77 # safely stomp on these values without affecting the build.