############################################################# # # MicroWindows gui environment http://MicroWindows.org/ # ############################################################# # Copyright (C) 2001, 2002 by Erik Andersen # Copyright (C) 2002 by Tim Riker # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA MICROWIN_DIR:=$(BUILD_DIR)/microwin MICROWIN_SOURCE:=microwin-sjm-20020417.tar.bz2 microwin-tree: @if [ ! -d $(MICROWIN_DIR) ] ; then \ while [ ! -f $(DL_DIR)/$(MICROWIN_SOURCE) ] ; do \ wget -P $(DL_DIR) http://tuxscreen.net/download/microwin-touchscreen/$(MICROWIN_SOURCE); \ done; \ bzcat $(DL_DIR)/$(MICROWIN_SOURCE) | tar -C $(BUILD_DIR) -xvf -; \ fi (cd $(MICROWIN_DIR)/src; make VERBOSE=Y ARMTOOLSPREFIX=$(TARGET_CROSS) all) if [ ! -d $(TARGET_DIR)/usr/local/bin ]; then \ mkdir -p $(TARGET_DIR)/usr/local/bin; \ fi $(STRIP) $(MICROWIN_DIR)/src/bin/nano-X $(STRIP) $(MICROWIN_DIR)/src/bin/nanowm $(STRIP) $(MICROWIN_DIR)/src/bin/nxterm cp $(MICROWIN_DIR)/src/nxstart.sh $(TARGET_DIR)/usr/bin/startx cp $(MICROWIN_DIR)/src/bin/nano-X $(TARGET_DIR)/usr/local/bin cp $(MICROWIN_DIR)/src/bin/nanowm $(TARGET_DIR)/usr/local/bin cp $(MICROWIN_DIR)/src/bin/nxterm $(TARGET_DIR)/usr/local/bin cp $(MICROWIN_DIR)/src/lib/libnano-X.so $(TARGET_DIR)/lib cp $(MICROWIN_DIR)/src/lib/libmwfonts.so $(TARGET_DIR)/lib cp $(MICROWIN_DIR)/src/lib/libmwengine.so $(TARGET_DIR)/lib cp $(MICROWIN_DIR)/src/lib/libmwobjects.so $(TARGET_DIR)/lib microwindows: microwin-tree microwindows-clean: -make -C $(MICROWIN_DIR)/src clean