diff options
| author | fishsoupisgood <github@madingley.org> | 2019-04-29 01:17:54 +0100 | 
|---|---|---|
| committer | fishsoupisgood <github@madingley.org> | 2019-05-27 03:43:43 +0100 | 
| commit | 3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch) | |
| tree | 65ca85f13617aee1dce474596800950f266a456c /roms/openbios/arch/unix/gui_qt/Makefile | |
| download | qemu-master.tar.gz qemu-master.tar.bz2 qemu-master.zip  | |
Diffstat (limited to 'roms/openbios/arch/unix/gui_qt/Makefile')
| -rw-r--r-- | roms/openbios/arch/unix/gui_qt/Makefile | 42 | 
1 files changed, 42 insertions, 0 deletions
diff --git a/roms/openbios/arch/unix/gui_qt/Makefile b/roms/openbios/arch/unix/gui_qt/Makefile new file mode 100644 index 00000000..20eb1580 --- /dev/null +++ b/roms/openbios/arch/unix/gui_qt/Makefile @@ -0,0 +1,42 @@ +# +# Makefile of QT user interface for OpenBIOS +#  +#  (C) 2004 Stefan Reinauer <stepan@openbios.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# version 2 +#    + +include		../../../config/Makefile.top + +XTARGETS                = qt + +qt-OBJS                 = $(obj-y) +obj-y                   += gui_qt.o + +QMAKE		= qmake +UIDIR	= $(shell pwd ) +TOPDIR		= $(shell cd $(top_srcdir) ; pwd) +ABSOINC		= $(shell cd $(ARCHINCLUDES) 2> /dev/null ; pwd ) + +export UIDIR TOPDIR ABSOINC + +$(ODIR)/makefile.qmake: gui-qt.pro Makefile +	@echo "ODIR: $(ODIR)" +	@test -d $(ODIR) || $(INSTALL) -d $(ODIR) +	@test -d $(ODIR)/qbuild || $(INSTALL) -d $(ODIR)/qbuild +	@install -m 644 gui-qt.pro $(ODIR)/ +	cd $(ODIR) ; $(QMAKE) -o makefile.qmake + +$(ODIR)/libgui_qt.a: $(ODIR)/makefile.qmake $(wildcard *.cpp) +	cd $(ODIR) ; $(MAKE) -f makefile.qmake +	@ln -f $(ODIR)/qbuild/libgui_qt.a $@ + +clean-local: +	@rm -f $(ODIR)/makefile.qmake +	@rm -rf $(QBUILDDIR) + +INCLUDES	= -I$(top_srcdir)/include -DBOOTSTRAP + +include		$(rules)/Rules.make  | 
