summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-27 20:29:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:51 -0500
commit10c183d9ae941f0ef143b2d50aebfcaf550c72b3 (patch)
tree604e40ec0aa035de6df204a50e5e55d7a3ff3706 /source4/main.mk
parentd49f11df218699014af32d19eef8dcc0a70ff38f (diff)
downloadsamba-10c183d9ae941f0ef143b2d50aebfcaf550c72b3.tar.gz
samba-10c183d9ae941f0ef143b2d50aebfcaf550c72b3.tar.bz2
samba-10c183d9ae941f0ef143b2d50aebfcaf550c72b3.zip
r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM] and [LIBRARY] sections in .mk files. Public functions can be marked by adding _PUBLIC_ between their return type and function name. This should eventually make include/proto.h and include/structs.h obsolete. (This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/main.mk b/source4/main.mk
index b6fba87cc5..2bafa588d6 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -198,18 +198,21 @@ include/config.h:
@/bin/false
include/proto.h: $(PROTO_OBJS:.o=.c)
- @-rm -f include/includes.h.gch
@echo "Creating include/proto.h"
@$(PERL) script/mkproto.pl --public-define=_PROTO_H_ \
--public=include/proto.h --private=include/proto.h \
$(PROTO_OBJS)
proto: include/proto.h
+
pch: include/config.h \
include/proto.h \
idl \
include/includes.h.gch
+clean_pch:
+ -rm -f include/includes.h.gch
+
basics: include/config.h \
include/proto.h \
idl \