vlp: Move closer to the code tested.
authorKai Blin <kai@samba.org>
Sun, 19 Oct 2008 11:05:19 +0000 (13:05 +0200)
committerKai Blin <kai@samba.org>
Sun, 19 Oct 2008 13:03:22 +0000 (15:03 +0200)
source3/Makefile.in
source3/printing/tests/README.vlp [moved from testsuite/printing/README.vlp with 53% similarity]
source3/printing/tests/vlp.c [moved from testsuite/printing/vlp.c with 100% similarity]
testsuite/printing/Makefile.vlp [deleted file]

index 12d37ce6b03e58e3e1c3f66942f9f9178bacfa6b..bb81dd2f70516b54d9054c35812cd5538a46be14 100644 (file)
@@ -1125,7 +1125,7 @@ NTLM_AUTH_OBJ = ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ) $(POPT_LIB_OBJ) \
                $(LIBNDR_GEN_OBJ0) $(LIBNDR_GEN_OBJ1)
 
 
                $(LIBNDR_GEN_OBJ0) $(LIBNDR_GEN_OBJ1)
 
 
-VLP_OBJ1 = ../testsuite/printing/vlp.o $(RPC_CLIENT_OBJ1) $(RPC_PARSE_OBJ2) $(RPC_CLIENT_OBJ) ../librpc/rpc/binding.o
+VLP_OBJ1 = printing/tests/vlp.o $(RPC_CLIENT_OBJ1) $(RPC_PARSE_OBJ2) $(RPC_CLIENT_OBJ) ../librpc/rpc/binding.o
 
 VLP_OBJ = $(VLP_OBJ1) $(PARAM_OBJ) $(LIBSMB_OBJ) \
          $(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ) $(LIBMSRPC_GEN_OBJ) \
 
 VLP_OBJ = $(VLP_OBJ1) $(PARAM_OBJ) $(LIBSMB_OBJ) \
          $(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ) $(LIBMSRPC_GEN_OBJ) \
similarity index 53%
rename from testsuite/printing/README.vlp
rename to source3/printing/tests/README.vlp
index 48d2c8c0a2b05fa304d0bc3f3f363751e999342e..fc0b91ad69fc231c192fc24ba51a1f26b24bf334 100644 (file)
@@ -6,22 +6,7 @@ virtual full-function printer.
 
 Setup
 
 
 Setup
 
-1) Configure and build Samba.  
-       For this to work, you need to add:
-               -DDEVELOPER
-       to your CFLAGS, and add:
-               --srcdir=<wherever your source is>
-       when running configure.  Generally      
-               ./configure --srcdir=`pwd` <other configure options>
-       should work. 
-
-2) Build and install vlp.
-       # cd testsuite/printing
-       # make -f Makefile.vlp vlp
-       # su
-       # cp vlp /usr/local/samba/bin
-
-3) Set up Samba to use vlp.
+Set up Samba to use vlp.
        In your smb.conf file under [global], add the following option:
                printing = vlp
        and then add any number of print shares, without needing to make them 
        In your smb.conf file under [global], add the following option:
                printing = vlp
        and then add any number of print shares, without needing to make them 
@@ -31,5 +16,4 @@ Setup
                        printable = yes
 
        is all you need for the most basic virtual printer.
                        printable = yes
 
        is all you need for the most basic virtual printer.
-       
-       
+
diff --git a/testsuite/printing/Makefile.vlp b/testsuite/printing/Makefile.vlp
deleted file mode 100644 (file)
index 142082e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Makefile for vlp utility
-#
-
-vlp_default: vlp
-
-include ../../source/Makefile
-
-VLP_OBJ1 = $(LIB_OBJ) $(PARAM_OBJ) $(UBIQX_OBJ) 
-
-VLP_OBJS = $(VLP_OBJ1:%=$(srcdir)/%)
-
-vlp: $(VLP_OBJS) vlp.o
-       $(CC) -o $@ vlp.o $(VLP_OBJS) $(LIBS)