[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [Development] / failsafe / FailSafe-mgr / misc

File: [Development] / failsafe / FailSafe-mgr / misc / Makefile.am (download)

Revision 1.2, Fri Jul 7 21:08:51 2000 UTC (17 years, 3 months ago) by rusty
Branch: MAIN
Changes since 1.1: +17 -2 lines

This now does most of the stuff it used to do on IRIX:
installs product version link and productAttrs, and
now it also creates an os-specific productAttrs file.

include $(top_srcdir)/common.am

fsProductAttrs_DATA = 1000.$(PRODUCT_PREFIX) 1000.os

#  this is pretty lame.
1000.os:
	echo "os:`uname`" > $@

##  The original version link stuff created a different version number
##  depending on whether this was cx or fs.
install-exec-hook:
	@echo "Creating product version link"
	$(mkinstalldirs) $(DESTDIR)@FSPRODDIR@
	rm -f $(DESTDIR)@FSPRODDIR@/version
	$(LN_S) $(VERSION) $(DESTDIR)@FSPRODDIR@/version

EXTRA_DIST = 1000.fs 1000.cx fsmgr.chest cxmgr.chest

###!smake
##
##RHDEPTH = ..
##include $(RHDEPTH)/rhdefs
##
##TARGETS = sgifsmgr.privnames
##
##default: $(TARGETS)
##
##include $(RHRULES)
##
###
### sgifsmgr.privnames maps executable names in /usr/sysadm/privbin to
### human-readable names for display in privmgr(1M).
###
##sgifsmgr.privnames: ../i18n/uxsgisafs.h
##	rm -f $@
##	$(MKPRIVNAMES) ../i18n/uxsgisafs.h $@
##
##install : default version
##	$(INSTALL) -F /usr/lib/X11/app-chests -idb DESKTOP -m 444 cxmgr.chest
##	$(INSTALL) -F /var/sysadm/products/com.sgi.fsmgr/productAttrs -idb CXSERVER -m 444 1000.cx
##	$(INSTALL) -F /var/sysadm/products/com.sgi.fsmgr/productAttrs -idb FSSERVER -m 444 1000.fs
##	$(INSTALL) -F $(RHPRIVNAMESDIR) -idb CXSERVER -m 444 -src sgifsmgr.privnames sgicxmgr.privnames
##	$(INSTALL) -F /usr/lib/X11/app-chests -idb FSDESKTOP -m 444 fsmgr.chest
##	$(INSTALL) -F $(RHPRIVNAMESDIR) -idb FSSERVER -m 444 sgifsmgr.privnames
##
###if $(PRODUCT_PREFIX) == "fs"
##version:
##	$(INSTALL) -F /var/sysadm/products/com.sgi.fsmgr -idb FSSERVER -lns 2.5 version
###else
##version:
##	$(INSTALL) -F /var/sysadm/products/com.sgi.fsmgr -idb CXSERVER -lns 1.2 version
###endif