summaryrefslogtreecommitdiff
path: root/source4/utils/net/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net/config.mk')
-rw-r--r--source4/utils/net/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/utils/net/config.mk b/source4/utils/net/config.mk
index e6fa9617a2..13c3631b54 100644
--- a/source4/utils/net/config.mk
+++ b/source4/utils/net/config.mk
@@ -4,7 +4,6 @@
# Start BINARY net
[BINARY::net]
INSTALLDIR = BINDIR
-PRIVATE_PROTO_HEADER = net_proto.h
PRIVATE_DEPENDENCIES = \
LIBSAMBA-HOSTCONFIG \
LIBSAMBA-UTIL \
@@ -23,3 +22,5 @@ net_OBJ_FILES = $(addprefix $(utilssrcdir)/net/, \
net_vampire.o \
net_user.o)
+
+$(call proto_header_template,$(utilssrcdir)/net/net_proto.h,$(net_OBJ_FILES:.o=.c))