equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
81 |
81 |
82 all: $(TraceGeneratedFiles) |
82 all: $(TraceGeneratedFiles) |
83 |
83 |
84 GENERATE_CODE= \ |
84 GENERATE_CODE= \ |
85 $(QUIETLY) echo $(LOG_INFO) Generating $@; \ |
85 $(QUIETLY) echo $(LOG_INFO) Generating $@; \ |
86 $(XSLT) -IN $(word 1,$^) -XSL $(word 2,$^) -OUT $@; \ |
86 $(XSLT) -IN $(word 1,$^) -XSL $(word 2,$^) -OUT $@ |
87 test -f $@ |
|
88 |
87 |
89 $(TraceOutDir)/traceEventIds.hpp: $(TraceSrcDir)/trace.xml $(TraceSrcDir)/traceEventIds.xsl $(XML_DEPS) |
88 $(TraceOutDir)/traceEventIds.hpp: $(TraceSrcDir)/trace.xml $(TraceSrcDir)/traceEventIds.xsl $(XML_DEPS) |
90 $(GENERATE_CODE) |
89 $(GENERATE_CODE) |
91 |
90 |
92 $(TraceOutDir)/traceTypes.hpp: $(TraceSrcDir)/trace.xml $(TraceSrcDir)/traceTypes.xsl $(XML_DEPS) |
91 $(TraceOutDir)/traceTypes.hpp: $(TraceSrcDir)/trace.xml $(TraceSrcDir)/traceTypes.xsl $(XML_DEPS) |