Foozle
[dyninst.git] / dynutil / Makefile
1 # pick up INCLUDE_DEST
2 TO_CORE = ..
3
4 include ../make.config
5
6 LOCAL_INCLUDE_DEST = $(INCLUDE_DEST)
7 CP = cp
8 CP_DIR = cp -r
9
10 TO_INC = h
11 PUBLIC_H = Annotatable.h \
12                 dyntypes.h \
13                 util.h \
14                 Serialization.h \
15                 Graph.h \
16                 Edge.h \
17                 Node.h \
18                 dyn_regs.h \
19                 stl_utils.h \
20                 SymReader.h \
21                 DynAST.h \
22                 ProcReader.h \
23            IBSTree.h \
24       entryIDs.h \
25                 VariableLocation.h \
26                 Buffer.h
27
28 #INSTALL_TARGETS = $(pathsubst %, $(INCLUDE_DEST)/%,$(PUBLIC_H))
29 INSTALL_TARGETS = $(addprefix $(LOCAL_INCLUDE_DEST)/, $(PUBLIC_H))
30 world:
31         @echo Nothing to be done for build
32
33 #install: $(patsubst %,$(INCLUDE_DEST)/%,$(PUBLIC_H))
34 install: $(INSTALL_TARGETS)
35 #       echo INSTALL_TARGETS = $(INSTALL_TARGETS);
36
37 $(LOCAL_INCLUDE_DEST)/%.h: $(TO_INC)/%.h
38         $(INSTALL) $^ $@
39
40 clean distclean: