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-06-08 11:20:07 +04:00
|
|
|
GUI_OBJS = gui.o control.o siminterface.o @GUI_OBJS@
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
BX_INCDIRS = -I.. -I../iodev -I../@INSTRUMENT_DIR@
|
|
|
|
LOCAL_CXXFLAGS =
|
|
|
|
|
|
|
|
#
|
|
|
|
# -------- end configurable options --------------------------
|
|
|
|
#
|
|
|
|
|
|
|
|
BX_GUI_OBJS = $(GUI_OBJS)
|
|
|
|
|
|
|
|
|
2001-06-11 18:14:30 +04:00
|
|
|
BX_INCLUDES = ../iodev/iodev.h control.h siminterface.h
|
2001-04-10 05:04:59 +04:00
|
|
|
|
2001-06-22 17:20:29 +04:00
|
|
|
.@CPP_SUFFIX@.o:
|
2001-04-10 05:04:59 +04:00
|
|
|
$(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
|
|
|
|
|
2001-06-16 23:29:07 +04:00
|
|
|
$(BX_GUI_OBJS) : $(BX_INCLUDES)
|
|
|
|
|
2001-04-10 05:04:59 +04:00
|
|
|
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
|