2001-04-10 06:20:02 +04:00
|
|
|
# Copyright (C) 2001 MandrakeSoft S.A.
|
2001-04-10 05:04:59 +04:00
|
|
|
#
|
|
|
|
# MandrakeSoft S.A.
|
|
|
|
# 43, rue d'Aboukir
|
|
|
|
# 75002 Paris - France
|
|
|
|
# http://www.linux-mandrake.com/
|
|
|
|
# http://www.mandrakesoft.com/
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library 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
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
# Makefile for the gui component of bochs
|
|
|
|
|
|
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
CXX = @CXX@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
X_CFLAGS = @X_CFLAGS@
|
|
|
|
BEOS_CFLAGS = -Wno-multichar
|
2001-05-24 05:07:09 +04:00
|
|
|
RFB_CFLAGS =
|
2001-04-10 05:04:59 +04:00
|
|
|
RANLIB = @RANLIB@
|
|
|
|
|
|
|
|
GUI_OBJS_X11 = x.o
|
|
|
|
GUI_OBJS_BEOS = beos.o
|
|
|
|
GUI_OBJS_WIN32 = win32.o
|
|
|
|
GUI_OBJS_MACOS = macintosh.o
|
|
|
|
GUI_OBJS_NOGUI = nogui.o
|
2001-05-08 23:07:26 +04:00
|
|
|
GUI_OBJS_TERM = term.o
|
2001-05-24 05:07:09 +04:00
|
|
|
GUI_OBJS_RFB = rfb.o
|
2001-04-10 05:04:59 +04:00
|
|
|
GUI_OBJS = gui.o @GUI_OBJS@
|
|
|
|
|
|
|
|
BX_INCDIRS = -I.. -I../iodev -I../@INSTRUMENT_DIR@
|
|
|
|
LOCAL_CXXFLAGS =
|
|
|
|
|
|
|
|
#
|
|
|
|
# -------- end configurable options --------------------------
|
|
|
|
#
|
|
|
|
|
|
|
|
BX_GUI_OBJS = $(GUI_OBJS)
|
|
|
|
|
|
|
|
|
|
|
|
BX_INCLUDES = iodev.h
|
|
|
|
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
|
|
$(CXX) @DASH@c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libgui.a: $(BX_GUI_OBJS)
|
|
|
|
@RMCOMMAND@ libgui.a
|
|
|
|
@MAKELIB@ $(BX_GUI_OBJS)
|
|
|
|
$(RANLIB) libgui.a
|
|
|
|
|
|
|
|
beos.o: beos.@CPP_SUFFIX@
|
|
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(BEOS_CFLAGS) beos.@CPP_SUFFIX@
|
|
|
|
|
|
|
|
x.o: x.@CPP_SUFFIX@
|
|
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(X_CFLAGS) x.@CPP_SUFFIX@
|
|
|
|
|
2001-05-24 05:07:09 +04:00
|
|
|
rfb.o: rfb.cc rfb.h rfbproto.h
|
|
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(RFB_CFLAGS) rfb.@CPP_SUFFIX@
|
|
|
|
|
2001-04-10 05:04:59 +04:00
|
|
|
x.cc: gui.h
|
|
|
|
|
|
|
|
beos.cc: gui.h
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@RMCOMMAND@ *.o
|
|
|
|
@RMCOMMAND@ *.a
|
|
|
|
|
|
|
|
dist-clean: clean
|
|
|
|
@RMCOMMAND@ Makefile
|