|
|
1.1 ! root 1: # ! 2: # Makefile of QT user interface for OpenBIOS ! 3: # ! 4: # (C) 2004 Stefan Reinauer <[email protected]> ! 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.