~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/openbios/arch/unix/gui_qt/Makefile

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Makefile of QT user interface for OpenBIOS
 
3
 
4
#  (C) 2004 Stefan Reinauer <stepan@openbios.org>
 
5
#
 
6
# This program is free software; you can redistribute it and/or
 
7
# modify it under the terms of the GNU General Public License
 
8
# version 2
 
9
#   
 
10
 
 
11
include         ../../../config/Makefile.top
 
12
 
 
13
XTARGETS                = qt
 
14
 
 
15
qt-OBJS                 = $(obj-y)
 
16
obj-y                   += gui_qt.o
 
17
 
 
18
QMAKE           = qmake
 
19
UIDIR   = $(shell pwd )
 
20
TOPDIR          = $(shell cd $(top_srcdir) ; pwd)
 
21
ABSOINC         = $(shell cd $(ARCHINCLUDES) 2> /dev/null ; pwd )
 
22
 
 
23
export UIDIR TOPDIR ABSOINC
 
24
 
 
25
$(ODIR)/makefile.qmake: gui-qt.pro Makefile
 
26
        @echo "ODIR: $(ODIR)"
 
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
 
31
 
 
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 $@
 
35
 
 
36
clean-local:
 
37
        @rm -f $(ODIR)/makefile.qmake
 
38
        @rm -rf $(QBUILDDIR)
 
39
 
 
40
INCLUDES        = -I$(top_srcdir)/include -DBOOTSTRAP
 
41
 
 
42
include         $(rules)/Rules.make