components/krb5/Makefile
changeset 7504 49f3285e13a3
parent 6987 e80772ec96e1
child 7527 352b7a456c30
equal deleted inserted replaced
7503:28ccedbcd04c 7504:49f3285e13a3
    98 CONFIGURE_OPTIONS += --with-crypto-impl=openssl
    98 CONFIGURE_OPTIONS += --with-crypto-impl=openssl
    99 CONFIGURE_OPTIONS += --with-ldap
    99 CONFIGURE_OPTIONS += --with-ldap
   100 CONFIGURE_OPTIONS += --with-prng-alg=os
   100 CONFIGURE_OPTIONS += --with-prng-alg=os
   101 CONFIGURE_OPTIONS += --with-tcl=$(USRDIR)
   101 CONFIGURE_OPTIONS += --with-tcl=$(USRDIR)
   102 CONFIGURE_OPTIONS += --without-system-verto
   102 CONFIGURE_OPTIONS += --without-system-verto
       
   103 # Documented as with-audit-plugin, but it's really enable-audit-plugin
       
   104 CONFIGURE_OPTIONS += --enable-audit-plugin=solaris
   103 
   105 
   104 COMPONENT_PRE_CONFIGURE_ACTION = \
   106 COMPONENT_PRE_CONFIGURE_ACTION = \
   105 	cd $(SOURCE_DIR)/src/ && $(SOURCE_DIR)/src/util/reconf
   107 	cd $(SOURCE_DIR)/src/ && $(SOURCE_DIR)/src/util/reconf
   106 
   108 
   107 PROTOULD = $(PROTOUSRLIBDIR)
   109 PROTOULD = $(PROTOUSRLIBDIR)
   112 # but since the test implementation will return failure to the uland build,
   114 # but since the test implementation will return failure to the uland build,
   113 # this is good enough.  The following disables master results processing.
   115 # this is good enough.  The following disables master results processing.
   114 COMPONENT_TEST_CREATE_TRANSFORMS=
   116 COMPONENT_TEST_CREATE_TRANSFORMS=
   115 COMPONENT_TEST_PERFORM_TRANSFORM=
   117 COMPONENT_TEST_PERFORM_TRANSFORM=
   116 COMPONENT_TEST_COMPARE=
   118 COMPONENT_TEST_COMPARE=
       
   119 
       
   120 # Audit plugin directory for Solaris
       
   121 AUDIT_DIR = $(SOURCE_DIR)/src/plugins/audit/solaris
   117 
   122 
   118 # We don't ship Solaris specific files as patches to ease maintenance.
   123 # We don't ship Solaris specific files as patches to ease maintenance.
   119 # We rather copy the files to the right directories.
   124 # We rather copy the files to the right directories.
   120 COMPONENT_PREP_ACTION= \
   125 COMPONENT_PREP_ACTION= \
   121 	$(CP) Solaris/getuid.c $(SOURCE_DIR)/src/lib/krb5/os/; \
   126 	$(CP) Solaris/getuid.c $(SOURCE_DIR)/src/lib/krb5/os/; \
   130 	$(CP) Solaris/prof_solaris.c $(SOURCE_DIR)/src/lib/krb5/; \
   135 	$(CP) Solaris/prof_solaris.c $(SOURCE_DIR)/src/lib/krb5/; \
   131 	$(CP) Solaris/private/krb5/prof_solaris.h $(SOURCE_DIR)/src/lib/krb5/; \
   136 	$(CP) Solaris/private/krb5/prof_solaris.h $(SOURCE_DIR)/src/lib/krb5/; \
   132 	$(CP) Solaris/rc_mem.c $(SOURCE_DIR)/src/lib/krb5/rcache; \
   137 	$(CP) Solaris/rc_mem.c $(SOURCE_DIR)/src/lib/krb5/rcache; \
   133 	$(CP) Solaris/rc_mem.h $(SOURCE_DIR)/src/lib/krb5/rcache; \
   138 	$(CP) Solaris/rc_mem.h $(SOURCE_DIR)/src/lib/krb5/rcache; \
   134 	$(CP) Solaris/safechown.c $(SOURCE_DIR)/src/lib/krb5/os; \
   139 	$(CP) Solaris/safechown.c $(SOURCE_DIR)/src/lib/krb5/os; \
   135 	$(CP) Solaris/util_ordering.c $(SOURCE_DIR)/src/lib/gssapi/generic
   140 	$(CP) Solaris/util_ordering.c $(SOURCE_DIR)/src/lib/gssapi/generic; \
       
   141 	$(MKDIR) -p $(AUDIT_DIR); $(CP) Solaris/audit/* $(AUDIT_DIR); \
       
   142 	$(CP) Solaris/audit/kadmind_audit.* $(SOURCE_DIR)/src/kadmin/server;
   136 
   143 
   137 # We move xdr_alloc.c and supporting dyn code from libgssrpc directly
   144 # We move xdr_alloc.c and supporting dyn code from libgssrpc directly
   138 # into libkadm5srv_mit. kadmind is the only consumer anyway.
   145 # into libkadm5srv_mit. kadmind is the only consumer anyway.
   139 SRCLIB=$(SOURCE_DIR)/src/lib
   146 SRCLIB=$(SOURCE_DIR)/src/lib
   140 COMPONENT_PREP_ACTION += ;\
   147 COMPONENT_PREP_ACTION += \
   141 	$(CP) $(SRCLIB)/rpc/xdr_alloc.c $(SRCLIB)/kadm5/srv/; \
   148 	$(CP) $(SRCLIB)/rpc/xdr_alloc.c $(SRCLIB)/kadm5/srv/; \
   142 	$(CP) $(SRCLIB)/rpc/dyn.c $(SRCLIB)/kadm5/srv/; \
   149 	$(CP) $(SRCLIB)/rpc/dyn.c $(SRCLIB)/kadm5/srv/; \
   143 	$(CP) $(SRCLIB)/rpc/dyn.h $(SRCLIB)/kadm5/srv/; \
   150 	$(CP) $(SRCLIB)/rpc/dyn.h $(SRCLIB)/kadm5/srv/; \
   144 	$(CP) $(SRCLIB)/rpc/dynP.h $(SRCLIB)/kadm5/srv/; \
   151 	$(CP) $(SRCLIB)/rpc/dynP.h $(SRCLIB)/kadm5/srv/; \
   145 	$(CP) $(SRCLIB)/rpc/dyntest.c $(SRCLIB)/kadm5/srv/; \
   152 	$(CP) $(SRCLIB)/rpc/dyntest.c $(SRCLIB)/kadm5/srv/; \