summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/Makefile.am
blob: 9732e2ec2b2e145d6ca015022acdc5ea1da92e16 (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

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

Qt.dll: QWidget.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