Add check for precompiled headers
[ira/wip.git] / source / Makefile.in
index 82354713f2d27dba1b6a13a8e4851e9dc30ac60f..bf97e9f6b478bbe3365fbcea672e92e62a4e8142 100644 (file)
@@ -193,10 +193,11 @@ LIBCLIUTIL_OBJ = libcli/util/asn1.o \
             libcli/util/doserr.o libcli/util/errormap.o \
             libcli/util/pwd_cache.o libcli/util/clierror.o libcli/util/cliutil.o
 
-LIBRAW_NDR_OBJ = libcli/ndr/ndr.o libcli/ndr/ndr_basic.o libcli/ndr/ndr_sec.o \
-               libcli/ndr/ndr_echo.o
+LIBRAW_NDR_OBJ = librpc/ndr/ndr.o librpc/ndr/ndr_basic.o librpc/ndr/ndr_sec.o \
+               librpc/ndr/ndr_echo.o librpc/ndr/ndr_misc.o librpc/ndr/ndr_lsa.o
 
-LIBRAW_RPC_OBJ = libcli/rpc/dcerpc.o libcli/rpc/rpc_echo.o
+LIBRAW_RPC_OBJ = librpc/rpc/dcerpc.o librpc/rpc/rpc_echo.o librpc/rpc/rpc_lsa.o \
+               librpc/rpc/dcerpc_smb.o
 
 LIBRAW_OBJ = libcli/raw/rawfile.o libcli/raw/smb_signing.o  \
             libcli/raw/clisocket.o libcli/raw/clitransport.o \
@@ -207,7 +208,7 @@ LIBRAW_OBJ = libcli/raw/rawfile.o libcli/raw/smb_signing.o  \
             libcli/raw/rawtrans.o libcli/raw/clioplock.o \
             libcli/raw/rawnegotiate.o libcli/raw/rawfsinfo.o \
             libcli/raw/rawfileinfo.o libcli/raw/rawnotify.o \
-            libcli/raw/rawioctl.o libcli/raw/rawacl.o libcli/raw/rawdcerpc.o \
+            libcli/raw/rawioctl.o libcli/raw/rawacl.o \
             $(LIBRAW_NDR_OBJ) $(LIBRAW_RPC_OBJ) $(LIBSAMBA_OBJ) $(LIBCLIUTIL_OBJ) \
             $(RPC_PARSE_OBJ1) $(LIBNTLMSSP_OBJ) $(LIBNMB_OBJ) $(KRBCLIENT_OBJ)
 
@@ -533,7 +534,7 @@ SMBTORTURE_RPC_OBJ = torture/rpc/lsa.o torture/rpc/echo.o
 SMBTORTURE_OBJ1 = torture/torture.o torture/torture_util.o torture/nbio.o torture/scanner.o \
                torture/utable.o torture/denytest.o torture/mangle_test.o \
                torture/aliases.o libcli/raw/clirewrite.o $(SMBTORTURE_RAW_OBJ) \
-               $(SMBTORTURE_RPC_OBJ) rpc_parse/parse_lsa.o
+               $(SMBTORTURE_RPC_OBJ)
 
 SMBTORTURE_OBJ = $(SMBTORTURE_OBJ1) \
        $(LIBSMB_OBJ) $(LIBDFS_OBJ) $(PARAM_OBJ) $(LIB_OBJ)
@@ -729,9 +730,14 @@ MAKEDIR = || exec false; \
 
 # 'make pch' is extremely useful for fast compiles if you have gcc-3.4
 pch:
+       rm -f $(srcdir)/include/includes.h.gch
        $(CC) -I. -I$(srcdir) $(FLAGS) -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
 
 
+idl:
+       script/build_idl.sh
+
+
 # These dependencies are only approximately correct: we want to make
 # sure Samba's paths are updated if ./configure is re-run.  Really it
 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
@@ -1266,6 +1272,7 @@ headers:
        $(MAKE) utils/net_proto.h; \
        $(MAKE) include/tdbsam2_parse_info.h; \
 @STFS_ENABLED@ $(MAKE) ntvfs/tank/vfs_tank_proto.h
+@PCH_AVAILABLE@        $(MAKE) pch
 
 proto: headers