summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-26 10:49:40 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-26 18:48:39 +0200
commit1f123a8b3988b738b1a4e848562b40dccb120639 (patch)
treeeb1ee15310ea9c840f438b28f691f09eeadcdb18 /source4/heimdal_build
parent57d4e110236a42ba32a8db802cf2f4aab0e8aba8 (diff)
downloadsamba-1f123a8b3988b738b1a4e848562b40dccb120639.tar.gz
samba-1f123a8b3988b738b1a4e848562b40dccb120639.tar.bz2
samba-1f123a8b3988b738b1a4e848562b40dccb120639.zip
heimdal_build: autogenerate heimdal/lib/roken/roken.h
metze (This used to be commit 3ab59dc66fe2d40533a66ff786d0b2373eea1ab8)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/internal.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/heimdal_build/internal.mk b/source4/heimdal_build/internal.mk
index 3578980102..726e670e69 100644
--- a/source4/heimdal_build/internal.mk
+++ b/source4/heimdal_build/internal.mk
@@ -487,6 +487,16 @@ HEIMDAL_ROKEN_OBJ_FILES = \
$(heimdalsrcdir)/lib/roken/xfree.o \
$(heimdalbuildsrcdir)/replace.o
+$(HEIMDAL_ROKEN_OBJ_FILES) $(HEIMDAL_ROKEN_OBJ_FILES:.o=.d):: $(heimdalsrcdir)/lib/roken/roken.h
+$(HEIMDAL_ROKEN_OBJ_FILES:.o=.ho) $(HEIMDAL_ROKEN_OBJ_FILES:.o=.hd):: $(heimdalsrcdir)/lib/roken/roken.h
+
+$(heimdalsrcdir)/lib/roken/roken.h:
+ @echo 'Creating $(heimdalsrcdir)/lib/roken/roken.h'
+ @echo '#include "heimdal_build/roken.h"' > $(heimdalsrcdir)/lib/roken/roken.h
+
+clean::
+ @rm -f $(heimdalsrcdir)/lib/roken/roken.h
+
#######################
# Start SUBSYSTEM HEIMDAL_COM_ERR
[SUBSYSTEM::HEIMDAL_COM_ERR]