open-src/xserver/xserver-common/Makefile
changeset 1467 5cc5ac5a4eb7
parent 1360 096d05346340
equal deleted inserted replaced
1466:7b6a950c9337 1467:5cc5ac5a4eb7
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     3 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
     4 #
     4 #
     5 # Permission is hereby granted, free of charge, to any person obtaining a
     5 # Permission is hereby granted, free of charge, to any person obtaining a
     6 # copy of this software and associated documentation files (the "Software"),
     6 # copy of this software and associated documentation files (the "Software"),
     7 # to deal in the Software without restriction, including without limitation
     7 # to deal in the Software without restriction, including without limitation
     8 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
     8 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    69 DESTDIR=$(PROTODIR)
    69 DESTDIR=$(PROTODIR)
    70 
    70 
    71 check: x11-server.xml
    71 check: x11-server.xml
    72 	/usr/sbin/svccfg validate x11-server.xml
    72 	/usr/sbin/svccfg validate x11-server.xml
    73 
    73 
    74 RBAC_AUTH_HELP=X11States.html
       
    75 RBAC_PROFILE_HELP=RtDesktopConfiguration.html
       
    76 
       
    77 install_common: $(BUILD_TARGETS)
    74 install_common: $(BUILD_TARGETS)
    78 	mkdir -p \
    75 	mkdir -p \
    79 		$(DESTDIR)$(X11_SMF_MANIFEST_DIR) \
    76 		$(DESTDIR)$(X11_SMF_MANIFEST_DIR) \
    80 		$(DESTDIR)$(SMF_METHOD_DIR) \
    77 		$(DESTDIR)$(SMF_METHOD_DIR) \
    81 		$(DESTDIR)$(X11_DIR)/bin \
    78 		$(DESTDIR)$(X11_DIR)/bin \
    82 		$(DESTDIR)$(X11_DIR)/share/man/man1 \
    79 		$(DESTDIR)$(X11_DIR)/share/man/man1 \
    83 		$(DESTDIR)/etc/security/auth_attr.d \
    80 		$(DESTDIR)/etc/security/auth_attr.d \
    84 		$(DESTDIR)/etc/security/prof_attr.d \
    81 		$(DESTDIR)/etc/security/prof_attr.d
    85 		$(DESTDIR)/usr/lib/help/auths/locale/C \
       
    86 		$(DESTDIR)/usr/lib/help/profiles/locale/C
       
    87 	$(INSTALL_SCRIPT) -c -m 0444 x11-server.xml \
    82 	$(INSTALL_SCRIPT) -c -m 0444 x11-server.xml \
    88 		$(DESTDIR)$(X11_SMF_MANIFEST_DIR)/
    83 		$(DESTDIR)$(X11_SMF_MANIFEST_DIR)/
    89 	$(INSTALL_SCRIPT) -c -m 0755 x11-server $(DESTDIR)$(SMF_METHOD_DIR)/
    84 	$(INSTALL_SCRIPT) -c -m 0755 x11-server $(DESTDIR)$(SMF_METHOD_DIR)/
    90 	$(INSTALL_SCRIPT) -c -m 0755 Xserver $(DESTDIR)$(X11_DIR)/bin/
    85 	$(INSTALL_SCRIPT) -c -m 0755 Xserver $(DESTDIR)$(X11_DIR)/bin/
    91 	$(INSTALL_SCRIPT) -c -m 0444 auth_attr \
    86 	$(INSTALL_SCRIPT) -c -m 0444 auth_attr \
    92 		$(DESTDIR)/etc/security/auth_attr.d/$(MODULE_NAME)
    87 		$(DESTDIR)/etc/security/auth_attr.d/$(MODULE_NAME)
    93 	$(INSTALL_SCRIPT) -c -m 0444 prof_attr \
    88 	$(INSTALL_SCRIPT) -c -m 0444 prof_attr \
    94 		$(DESTDIR)/etc/security/prof_attr.d/$(MODULE_NAME)
    89 		$(DESTDIR)/etc/security/prof_attr.d/$(MODULE_NAME)
    95 	$(INSTALL_SCRIPT) -c -m 0444 X11States.html \
       
    96 		$(DESTDIR)/usr/lib/help/auths/locale/C/
       
    97 	$(INSTALL_SCRIPT) -c -m 0444 RtDesktopConfiguration.html \
       
    98 		$(DESTDIR)/usr/lib/help/profiles/locale/C/
       
    99 	$(INSTALL_SCRIPT) -c -m 0444 Xnest.1 $(DESTDIR)$(X11_MAN_DIR)/man1/
    90 	$(INSTALL_SCRIPT) -c -m 0444 Xnest.1 $(DESTDIR)$(X11_MAN_DIR)/man1/