summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-23 12:29:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:40 -0500
commit52728b7d416f7837fc3460a9e131355094649b15 (patch)
tree186bb015efcda9ce5e602c76fb26f1e8747e5a10 /source4/main.mk
parent4bbb73894c7e30a33cda97480e42aadb6fa56c92 (diff)
downloadsamba-52728b7d416f7837fc3460a9e131355094649b15.tar.gz
samba-52728b7d416f7837fc3460a9e131355094649b15.tar.bz2
samba-52728b7d416f7837fc3460a9e131355094649b15.zip
r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function is public. Public prototypes can now be written to a seperate header, although this functionality is not used yet. (This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 61ea36eaa3..118d544665 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -197,10 +197,10 @@ include/config.h:
include/proto.h: $(PROTO_PROTO_OBJ_LIST:.o=.c)
@-rm -f include/includes.h.gch
- @$(SHELL) script/mkproto.sh "$(PERL)" \
- -h _PROTO_H_ include/proto.h \
- $(PROTO_PROTO_OBJ_LIST)
- @touch include/proto.h
+ @echo "Creating include/proto.h"
+ @$(PERL) script/mkproto.pl --public-define=_PROTO_H_ \
+ --public=include/proto.h --private=include/proto.h \
+ $(PROTO_PROTO_OBJ_LIST)
proto: include/proto.h
pch: include/config.h \