$(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) \
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
printable = yes
is all you need for the most basic virtual printer.
-
-
+
+++ /dev/null
-#
-# 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)