2
# Makefile of QT user interface for OpenBIOS
4
# (C) 2004 Stefan Reinauer <stepan@openbios.org>
6
# This program is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU General Public License
11
include ../../../config/Makefile.top
20
TOPDIR = $(shell cd $(top_srcdir) ; pwd)
21
ABSOINC = $(shell cd $(ARCHINCLUDES) 2> /dev/null ; pwd )
23
export UIDIR TOPDIR ABSOINC
25
$(ODIR)/makefile.qmake: gui-qt.pro Makefile
27
@test -d $(ODIR) || $(INSTALL) -d $(ODIR)
28
@test -d $(ODIR)/qbuild || $(INSTALL) -d $(ODIR)/qbuild
29
@install -m 644 gui-qt.pro $(ODIR)/
30
cd $(ODIR) ; $(QMAKE) -o makefile.qmake
32
$(ODIR)/libgui_qt.a: $(ODIR)/makefile.qmake $(wildcard *.cpp)
33
cd $(ODIR) ; $(MAKE) -f makefile.qmake
34
@ln -f $(ODIR)/qbuild/libgui_qt.a $@
37
@rm -f $(ODIR)/makefile.qmake
40
INCLUDES = -I$(top_srcdir)/include -DBOOTSTRAP
42
include $(rules)/Rules.make