2013-08-11 12:46:56 +04:00
|
|
|
# Copyright (C) 2001-2013 The Bochs Project
|
2001-04-10 05:04:59 +04:00
|
|
|
#
|
|
|
|
# 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
|
2009-02-08 12:05:52 +03:00
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
|
|
|
|
|
2013-08-11 12:46:56 +04:00
|
|
|
top_builddir = ..
|
|
|
|
|
2012-07-14 11:01:43 +04:00
|
|
|
SHELL = @SHELL@
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CXX = @CXX@
|
- add -lwinmm to the link lines anytime you use --enable-sb16=win. Now
instead of winmm being a part of GUI_LINK_OPTS_WIN32 only, it is
placed in @DEVICE_LINE_OPTS@ so that it will be used for sdl, rfb, wx,
etc.
- solve compile problems when building bximage, niclist, and any other
console based program. The compile flags returned by wx-config and
sdl-config did strange things to these console programs, for example
redefining main to SDL_main. Because I wanted to use the
configure-generated CFLAGS to compile the programs, but I wanted to
avoid including GUI specific compile options, I split up the configure's
@CFLAGS@ variable into @CFLAGS@ and @GUI_CFLAGS@, and split
@CXXFLAGS@ into @CXXFLAGS@ and @GUI_CXXFLAGS@. All programs in the
Bochs binary will use both, but the console programs will just use
@CFLAGS@ or @CXXFLAGS@.
- gui/Makefile.in, I no longer use the gui specific CFLAGS variables,
SDL_CFLAGS and WX_CXXFLAGS. These values are included in CFLAGS and
CXXFLAGS now.
- modified: configure.in, configure, all Makefile.in's
2002-10-02 03:37:50 +04:00
|
|
|
CFLAGS = @CFLAGS@ @GUI_CFLAGS@
|
|
|
|
CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
RANLIB = @RANLIB@
|
2013-08-11 12:46:56 +04:00
|
|
|
LIBTOOL=@LIBTOOL@
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
|
|
$(CXX) @DASH@c $(CXXFLAGS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
|
|
|
|
|
|
all: make_cmos_image
|
|
|
|
|
|
|
|
make_cmos_image@EXE@: make_cmos_image.o
|
2013-08-11 12:46:56 +04:00
|
|
|
@LINK_CONSOLE@ make_cmos_image.o
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
@RMCOMMAND@ *.o
|
|
|
|
@RMCOMMAND@ make_cmos_image@EXE@
|
|
|
|
|
|
|
|
dist-clean: clean
|
|
|
|
@RMCOMMAND@ Makefile
|