53438e92c6
- set SHELL variable with configure script - add '--tag CXX' argument to libtool calls
72 lines
1.5 KiB
Makefile
72 lines
1.5 KiB
Makefile
# Copyright (C) 2001 The Bochs Project
|
|
#
|
|
# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
SHELL = @SHELL@
|
|
|
|
@SET_MAKE@
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
CXX = @CXX@
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
RANLIB = @RANLIB@
|
|
|
|
|
|
# ===========================================================
|
|
# end of configurable options
|
|
# ===========================================================
|
|
|
|
|
|
BX_OBJS = \
|
|
instrument.o
|
|
|
|
BX_INCLUDES =
|
|
|
|
BX_INCDIRS = -I../.. -I$(srcdir)/../.. -I. -I$(srcdir)/.
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
$(CXX) -c $(CXXFLAGS) $(BX_INCDIRS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
.c.o:
|
|
$(CC) -c $(CFLAGS) $(BX_INCDIRS) @CFP@$< @OFP@$@
|
|
|
|
|
|
|
|
libinstrument.a: $(BX_OBJS)
|
|
@RMCOMMAND@ libinstrument.a
|
|
@MAKELIB@ $(BX_OBJS)
|
|
$(RANLIB) libinstrument.a
|
|
|
|
$(BX_OBJS): $(BX_INCLUDES)
|
|
|
|
|
|
clean:
|
|
@RMCOMMAND@ *.o
|
|
@RMCOMMAND@ *.a
|
|
|
|
dist-clean: clean
|
|
@RMCOMMAND@ Makefile
|