aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/Makefile.in')
-rw-r--r--binutils/testsuite/binutils-all/Makefile.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/Makefile.in b/binutils/testsuite/binutils-all/Makefile.in
new file mode 100644
index 0000000..0aa1068
--- /dev/null
+++ b/binutils/testsuite/binutils-all/Makefile.in
@@ -0,0 +1,44 @@
+CFLAGS_FOR_TARGET =
+
+CC_FOR_TARGET = ` \
+ if [ -f $${rootme}/../../gcc/xgcc ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ else \
+ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ echo $(CC); \
+ else \
+ t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+ fi; \
+ fi`
+
+CXX = gcc
+CXX_FOR_TARGET = ` \
+ if [ -f $${rootme}/../../gcc/xgcc ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ else \
+ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ echo $(CXX); \
+ else \
+ t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
+ fi; \
+ fi`
+
+#### host, target, and site specific Makefile frags come in here.
+
+srcdir = .
+
+all: bintest
+
+bintest: $(srcdir)/bintest.c
+ $(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) $(CFLAGS) -g -o bintest $(srcdir)/bintest.c $(LDFLAGS)
+
+clean:
+ -rm -f *.o bintest *.diff *~ *.bad core m68k.gld
+
+distclean: clean
+ -rm -f Makefile config.status nmtest.c
+
+Makefile : $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
+ $(SHELL) ./config.status
+
+force: