r6936: Have RPC compression depend only on NDR_DRSUAPI instead of NDR_RAW which
authorTim Potter <tpot@samba.org>
Mon, 23 May 2005 06:02:00 +0000 (06:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:59 +0000 (13:16 -0500)
pulls it in for everyone.

source/librpc/config.mk

index 45cc360f24ac1fbee8ac4b6c49cb4b0ba39eccd4..c997df7f7274b5dce5b4ee9df967751167cc47b8 100644 (file)
@@ -6,10 +6,9 @@ INIT_OBJ_FILES = \
 ADD_OBJ_FILES = \
                librpc/ndr/ndr_basic.o \
                librpc/ndr/ndr_string.o \
-               librpc/ndr/ndr_compression.o \
                librpc/ndr/ndr_obfuscate.o \
                librpc/ndr/ndr_misc.o
-REQUIRED_SUBSYSTEMS = LIBCLI_UTILS LIBCOMPRESSION LIBTALLOC LIBBASIC
+REQUIRED_SUBSYSTEMS = LIBCLI_UTILS LIBTALLOC LIBBASIC
 # End SUBSYSTEM NDR_RAW
 ################################################
 
@@ -32,6 +31,15 @@ REQUIRED_SUBSYSTEMS = SOCKET
 # End SUBSYSTEM RPC_RAW
 ################################################
 
+################################################
+# Start SUBSYSTEM RPC_COMPRESSION
+[SUBSYSTEM::RPC_COMPRESSION]
+ADD_OBJ_FILES = \
+               librpc/ndr/ndr_compression.o
+REQUIRED_SUBSYSTEMS = LIBCOMPRESSION
+# End SUBSYSTEM RPC_COMPRESSION
+################################################
+
 [SUBSYSTEM::NDR_AUDIOSRV]
 INIT_FUNCTION = dcerpc_audiosrv_init
 INIT_OBJ_FILES = librpc/gen_ndr/ndr_audiosrv.o
@@ -96,7 +104,7 @@ REQUIRED_SUBSYSTEMS = NDR
 INIT_FUNCTION = dcerpc_drsuapi_init
 INIT_OBJ_FILES = librpc/gen_ndr/ndr_drsuapi.o
 NOPROTO = YES
-REQUIRED_SUBSYSTEMS = NDR NDR_DRSUAPI_PRINT
+REQUIRED_SUBSYSTEMS = NDR NDR_DRSUAPI_PRINT RPC_COMPRESSION
 
 [SUBSYSTEM::NDR_DRSUAPI_PRINT]
 INIT_OBJ_FILES = librpc/ndr/ndr_drsuapi.o