include $(top_srcdir)/common.am SUBDIRS = include i18n util packages lib category association cmd misc \ taskRegistry web man build EXTRA_DIST = README.maint common.am install-exec-hook: @echo "Creating product version link" mkdir -p $(DESTDIR)@FSPRODDIR@ rm -f $(DESTDIR)@FSPRODDIR@/version $(LN_S) $(VERSION) $(DESTDIR)@FSPRODDIR@/version ## The original version link stuff is in misc/Makefile.am, and ## it conditionally does either cxmgr or fsmgr version. rpm: dist @cd build && $(MAKE) $(AM_MAKEFLAGS) rpm ###!smake ### ### Makefile - FailSafe Manager ISM top level ### ### $Revision: 1.2 $ ### ### The standard targets at the top level are: ### ### default: This performs a bootstrap (headers and exports) then ### builds all of the software in place. No rawidb is generated ### and targets are not installed anywhere. No ism image is ### generated. ### ### headers: Install all headers. This should always be run without ### RAWIDB set. ### ### exports: Builds and installs all libraries and data files that are ### required to build the rest of the ism. This should always be ### run without RAWIDB set. ### ### install: Builds and installs the entire ism. 'headers' and 'exports' ### must be run previous to 'install'. With RAWIDB set this will ### generate the rawidb for the ism. Without RAWIDB set, all the ### ism objects will be installed in $ROOT ### ### rawidb: Builds the raw idb file for the ISM. ### ### images: Descends into the build directory and generates the files ### needed for the build of entire system. 'rawidb' must be ### run previous to 'images'. ### ### ism: Descends into the build directory and generates ism images. ### 'rawidb' must be run previous to 'ism'. ### ### clean: Removes .o's. ### ### clobber: Removes all non-source. The effective of 'clobber' can ### be checked by running p_check -w after running 'clobber'. ### ### rmtargets: Removes TARGETS only. ### ###************************************************************************* ## ## ##TOPLEVELMAKE = TRUE ##RHDEPTH = . ##include $(RHDEPTH)/rhdefs ## ##LDIRT = proto images .alpha_number .identfile .identfile.c \ ## .version .version_number $(RHPROTOROOT) ##SUBDIRS = i18n util packages lib category association cmd misc \ ## taskRegistry web man ## ##HEADERS_SUBDIRS= ##EXPORTS_SUBDIRS= ## ##COMMONPREF = fsmgr ##SUBDIR_MAKEPREF = "===" ## ##SRC = `/bin/pwd` ##IDBFILE ="`pwd`/build/IDB" ## ##default install $(COMMONTARGS): $(COMMONPREF)$$@ $(_FORCE) ## $(SUBDIRS_MAKERULE) ## ##headers:$(_FORCE) ## touch $(RHPROTOROOT) ## @echo "See rhdefs for comments describing this file" > $(RHPROTOROOT) ## ##exports:$(_FORCE) ## ##include $(ISMCOMMONRULES) ## ##$(COMMONPREF)default: ## ##$(COMMONPREF)install: ## ##$(COMMONPREF)test: ## ##$(COMMONPREF)wlint: ## ##$(SUBDIRS): $(_FORCE) ## cd $@; $(MAKE) ## ##rawidb: $(_FORCE) ## @RAWIDB=$(IDBFILE); export RAWIDB ; \ ## if [ -f $$RAWIDB ] ; then mv $$RAWIDB $$RAWIDB.prev ; fi ;\ ## echo "RAWIDB=$$RAWIDB SRC=$(SRC) $(MAKE) install" ;\ ## $(MAKE) SRC=$(SRC) install ## ##ism: $(_FORCE) ## cd build; $(MAKE) buildism ## ##images: version $(_FORCE) ## cd build; $(MAKE) buildimages