diff options
author | Tim Potter <tpot@samba.org> | 2000-06-23 06:21:08 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-06-23 06:21:08 +0000 |
commit | c4f74ddb8344c7daf052484bb3e4bbce9b57db23 (patch) | |
tree | 26e462c624e44d4db418dcc1a1ec706d53827f9a /testsuite/smbd/Makefile.sec_ctx | |
parent | 0c4d1e7e855743f36d0d3486aa0b9ede32012eb0 (diff) | |
download | samba-c4f74ddb8344c7daf052484bb3e4bbce9b57db23.tar.gz samba-c4f74ddb8344c7daf052484bb3e4bbce9b57db23.tar.bz2 samba-c4f74ddb8344c7daf052484bb3e4bbce9b57db23.zip |
Tests for new security context stuff.
(This used to be commit 85a68bc449a071d21e03ad4f54c1e784831a9bb5)
Diffstat (limited to 'testsuite/smbd/Makefile.sec_ctx')
-rw-r--r-- | testsuite/smbd/Makefile.sec_ctx | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/testsuite/smbd/Makefile.sec_ctx b/testsuite/smbd/Makefile.sec_ctx new file mode 100644 index 0000000000..c45ab5bb5e --- /dev/null +++ b/testsuite/smbd/Makefile.sec_ctx @@ -0,0 +1,57 @@ +# +# Makefile for sec_ctx tests +# + +include ../../source/Makefile + +# Objects common to all tests + +SEC_CTX_OBJ1 = $(RPC_CLIENT_OBJ) $(LIB_OBJ) $(RPC_PARSE_OBJ) $(PARAM_OBJ) \ + $(LIBSMB_OBJ) $(PASSDB_OBJ) $(UBIQX_OBJ) smbd/password.o smbd/uid.o \ + smbd/chgpasswd.o smbd/sec_ctx.o + +SEC_CTX_OBJS = $(SEC_CTX_OBJ1:%=$(srcdir)/%) sec_ctx_utils.o + +# Targets for tests + +SEC_CTX_NONROOT_OBJS = $(SEC_CTX_OBJS) sec_ctx_nonroot.o + +sec_ctx_nonroot: $(SEC_CTX_NONROOT_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_NONROOT_OBJS) $(LIBS) + +SEC_CTX_STACK_OBJS = $(SEC_CTX_OBJS) sec_ctx_stack.o + +sec_ctx_stack: $(SEC_CTX_STACK_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_STACK_OBJS) $(LIBS) + +SEC_CTX_FLOW_OBJS = $(SEC_CTX_OBJS) sec_ctx_flow.o + +sec_ctx_flow: $(SEC_CTX_FLOW_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_FLOW_OBJS) $(LIBS) + +SEC_CTX_TORTURE_OBJS = $(SEC_CTX_OBJS) sec_ctx_torture.o + +sec_ctx_torture: $(SEC_CTX_TORTURE_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_TORTURE_OBJS) $(LIBS) + +SEC_CTX_CURRENT_USER_OBJS = $(SEC_CTX_OBJS) sec_ctx_current_user.o + +sec_ctx_current_user: $(SEC_CTX_CURRENT_USER_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_CURRENT_USER_OBJS) $(LIBS) + +SEC_CTX_GROUPS_OBJS = $(SEC_CTX_OBJS) sec_ctx_groups.o + +sec_ctx_groups: $(SEC_CTX_GROUPS_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_GROUPS_OBJS) $(LIBS) + +SEC_CTX_ROOT_OBJS = $(SEC_CTX_OBJS) sec_ctx_root.o + +sec_ctx_root: $(SEC_CTX_ROOT_OBJS) + @echo Linking $@ + @$(CC) $(FLAGS) -o $@ $(SEC_CTX_ROOT_OBJS) $(LIBS) |