c5b355e4bd
headers are changed
96 lines
2.2 KiB
Makefile
96 lines
2.2 KiB
Makefile
# Copyright (C) 2001 MandrakeSoft S.A.
|
|
#
|
|
# 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
|
|
RFB_CFLAGS =
|
|
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
|
|
GUI_OBJS_TERM = term.o
|
|
GUI_OBJS_RFB = rfb.o
|
|
GUI_OBJS = gui.o control.o siminterface.o @GUI_OBJS@
|
|
|
|
BX_INCDIRS = -I.. -I../iodev -I../@INSTRUMENT_DIR@
|
|
LOCAL_CXXFLAGS =
|
|
|
|
#
|
|
# -------- end configurable options --------------------------
|
|
#
|
|
|
|
BX_GUI_OBJS = $(GUI_OBJS)
|
|
|
|
|
|
BX_INCLUDES = ../iodev/iodev.h control.h siminterface.h
|
|
|
|
.@CPP_SUFFIX@.o: $(BX_INCLUDES)
|
|
$(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
|
|
|
|
$(BX_GUI_OBJS) : $(BX_INCLUDES)
|
|
|
|
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@
|
|
|
|
rfb.o: rfb.cc rfb.h rfbproto.h
|
|
$(CXX) -c $(CXXFLAGS) $(LOCAL_CXXFLAGS) $(BX_INCDIRS) $(RFB_CFLAGS) rfb.@CPP_SUFFIX@
|
|
|
|
x.cc: gui.h
|
|
|
|
beos.cc: gui.h
|
|
|
|
|
|
clean:
|
|
@RMCOMMAND@ *.o
|
|
@RMCOMMAND@ *.a
|
|
|
|
dist-clean: clean
|
|
@RMCOMMAND@ Makefile
|