summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/Makefile.am
blob: 9fffe16d26ac0fc9dec9cf7c04e2520cad828495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: Qt.dll

TTQWidget.cs:
	$(CLI) ../generator/generator.exe -f ../api/qt.xml -d .

Qt.dll: TQWidget.cs $(wildcard *.cs) $(wildcard static/*.cs)
	cp static/*.cs .
	csant -D$(CSC_NAME)=$(CSC) -C $(CSC_NAME)

clean:
	-rm Qt.dll

distclean: clean
	-rm *.cs

install:
	if ! test -d $(DESTDIR)$(libdir); then $(INSTALL) -d -m 0755 $(DESTDIR)$(libdir); fi
	$(INSTALL) -m 0644 Qt.dll $(DESTDIR)$(libdir)

uninstall:
	rm -rf $(libdir)/Qt.dll

.PHONY: all clean distclean install uninstall