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