r13751: Call proto_exists before we create the precompiles headers.
authorLars Müller <lmuelle@samba.org>
Tue, 28 Feb 2006 11:57:37 +0000 (11:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:52 +0000 (11:10 -0500)
(This used to be commit deb35f85b3b96e431902ec5e771821f9e69d7f99)

source3/Makefile.in

index 1643a010ebc2199641030da2a9be8fdee79e0e92..01af0641a522a4b4bb37572550805c1ef3336d11 100644 (file)
@@ -825,7 +825,7 @@ MAKEDIR = || exec false; \
 
 # this adds support for precompiled headers. To use it, install a snapshot
 # of gcc-3.4 and run 'make pch' before you do the main build. 
-pch:
+pch: proto_exists
        rm -f $(srcdir)/include/includes.h.gch
        $(CC) -I. -I$(srcdir) $(FLAGS) @PIE_CFLAGS@ -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch