summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/Makefile.inc')
-rw-r--r--src/gallium/state_trackers/d3d1x/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/d3d1x/Makefile.inc b/src/gallium/state_trackers/d3d1x/Makefile.inc
new file mode 100644
index 00000000000..1b9423b9d63
--- /dev/null
+++ b/src/gallium/state_trackers/d3d1x/Makefile.inc
@@ -0,0 +1,19 @@
+TOP=../../../../..
+include $(TOP)/configs/current
+
+IDL=$(wildcard *.idl include/*.idl)
+IDL_H=$(IDL:.idl=.h)
+LD=$(CXX)
+
+include ../../../Makefile.template
+
+idl: $(IDL_H)
+
+%.h: %.idl
+ widl -I../gd3dapi -I../d3dapi -I../w32api -U /dev/null -H $@ $^
+
+%.svg: %.dot
+ dot -Tsvg -o $@ $<
+
+%.pdf: %.dot
+ dot -Tpdf -o $@ $<