summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/Makefile.am
blob: e65a5e7af3f1dc95ea9bd4485337bd6023d30e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AUTOMAKE_OPTIONS = -Wno-portability

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