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

TQWidget.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