summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-04 04:45:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:12 -0500
commit3742b978cc1d29ac0e31d9646f6e1584d37a633a (patch)
tree50ab6f51d7b56a8e9f796324ebb8fd499edf808d /source4/main.mk
parent223262c11e94c1e67b8cdec1a264d7f93a9afdc4 (diff)
downloadsamba-3742b978cc1d29ac0e31d9646f6e1584d37a633a.tar.gz
samba-3742b978cc1d29ac0e31d9646f6e1584d37a633a.tar.bz2
samba-3742b978cc1d29ac0e31d9646f6e1584d37a633a.zip
r9049: - add property dependencies to include/proto.h
- make some stuff easier metze (This used to be commit 14b92e8a085f7d1a011b1663bf2a2728a907b0af)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk23
1 files changed, 18 insertions, 5 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 288c4daa71..5214f48047 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -52,7 +52,7 @@ include kdc/config.mk
include lib/replace/config.mk
include scripting/ejs/config.mk
-all: proto bin/asn1_compile bin/compile_et basics binaries
+all: binary_asn1_compile binary_compile_et binaries
binaries: $(BIN_PROGS) $(SBIN_PROGS)
manpages: $(MANPAGES)
everything: all
@@ -141,12 +141,25 @@ smb_interfaces: build/pidl/smb_interfaces.pm
build/pidl/smb_interfaces.pm: build/pidl/smb_interfaces.yp
-yapp -s -m 'smb_interfaces' -o build/pidl/smb_interfaces.pm build/pidl/smb_interfaces.yp
-pch: proto include/includes.h.gch
+include/config.h:
+ @echo "include/config.h not present"
+ @echo "You need to rerun ./autogen.sh and ./configure"
+ @/bin/false
+
+include/proto.h: $(PROTO_PROTO_OBJS:.o=.c)
+ @-rm -f include/includes.h.gch
+ @$(SHELL) script/mkproto.sh "$(PERL)" \
+ -h _PROTO_H_ include/proto.h \
+ $(PROTO_PROTO_OBJS)
+ @touch include/proto.h
-pch_clean:
- -rm -f include/includes.h.gch
+proto: include/proto.h
+pch: proto include/includes.h.gch
-basics: idl proto_exists heimdal/lib/hdb/hdb_asn1.h heimdal/lib/gssapi/spnego_asn1.h heimdal/lib/asn1/krb5_asn1.h heimdal/lib/roken/vis.h heimdal/lib/roken/err.h heimdal/lib/asn1/asn1_err.h heimdal/lib/hdb/hdb_err.h heimdal/lib/krb5/heim_err.h heimdal/lib/krb5/k524_err.h heimdal/lib/krb5/krb5_err.h
+basics: include/config.h \
+ include/proto.h \
+ idl \
+ heimdal_basics
test: $(DEFAULT_TEST_TARGET)