open-src/app/xfs/Makefile
changeset 970 272328fe1b4a
parent 963 7a4fced80e83
child 980 c30d0dbf2c96
equal deleted inserted replaced
969:f3e9f1ddd6a8 970:272328fe1b4a
    40 	smf-manpage.patch \
    40 	smf-manpage.patch \
    41 	config-warning.patch
    41 	config-warning.patch
    42 
    42 
    43 # Man pages to apply Sun footer to & attributes to list
    43 # Man pages to apply Sun footer to & attributes to list
    44 SUNTOUCHED_MANPAGES=*.man
    44 SUNTOUCHED_MANPAGES=*.man
    45 SUN_PACKAGE=SUNWxwfs
       
    46 MODULE_STABILITY=Committed
    45 MODULE_STABILITY=Committed
       
    46 
       
    47 # pkg(5) name we deliver the files in (override default)
       
    48 MODULE_PKGNAME=x11/xfs
       
    49 MODULE_PKGNAME_SET=yes
       
    50 
       
    51 # ARC cases that covered this module
       
    52 # PSARC/2004/752 X Consolidation conversion to SMF
       
    53 MODULE_ARC_CASES = PSARC/2004/752
       
    54 # LSARC/2008/009 X11R7 font server and utilities
       
    55 MODULE_ARC_CASES += LSARC/2008/009
    47 
    56 
    48 # Additional command line options to GNU autoconf configure script
    57 # Additional command line options to GNU autoconf configure script
    49 MODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
    58 MODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
    50 	--enable-syslog --enable-inetd --disable-devel-docs \
    59 	--enable-syslog --enable-inetd --disable-devel-docs \
    51 	--with-default-font-path='catalogue:/etc/X11/fontpath.d' \
    60 	--with-default-font-path='catalogue:/etc/X11/fontpath.d' \
    53 
    62 
    54 # Need to link with libfontenc in server private directory
    63 # Need to link with libfontenc in server private directory
    55 MODULE_LDFLAGS=$(X11_SERVERLIBS_LDFLAGS)
    64 MODULE_LDFLAGS=$(X11_SERVERLIBS_LDFLAGS)
    56 
    65 
    57 MODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
    66 MODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
       
    67 
       
    68 # Compatibility links from /usr/X11/bin to /usr/bin
       
    69 MODULE_X11_BINCOMPAT_LINKS = xfs
    58 
    70 
    59 include ../Makefile.inc
    71 include ../Makefile.inc
    60 
    72 
    61 # Make sure SMF manifest is valid before installing it
    73 # Make sure SMF manifest is valid before installing it
    62 check_smf: xfs.xml
    74 check_smf: xfs.xml
    71 install_fsadmin:
    83 install_fsadmin:
    72 	mkdir -p $(PROTODIR)$(X11_DIR)/sbin \
    84 	mkdir -p $(PROTODIR)$(X11_DIR)/sbin \
    73 		$(PROTODIR)$(X11_MAN_DIR)/man1
    85 		$(PROTODIR)$(X11_MAN_DIR)/man1
    74 	$(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin/fsadmin
    86 	$(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin/fsadmin
    75 	$(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1/
    87 	$(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1/
       
    88 
       
    89 # Special compatibility link from /usr/X11/bin/fsadmin to /usr/sbin/fsadmin
       
    90 install: $(X11_BINCOMPAT_DIR)/fsadmin
       
    91 
       
    92 $(X11_BINCOMPAT_DIR)/fsadmin: $(X11_BINCOMPAT_DIR)
       
    93 	@rm -f $@
       
    94 	ln -s ../../sbin/fsadmin $@