summaryrefslogtreecommitdiff
path: root/linux-atm/linux-atm-2.4.1/qgen-cross
diff options
context:
space:
mode:
Diffstat (limited to 'linux-atm/linux-atm-2.4.1/qgen-cross')
-rw-r--r--linux-atm/linux-atm-2.4.1/qgen-cross28
1 files changed, 28 insertions, 0 deletions
diff --git a/linux-atm/linux-atm-2.4.1/qgen-cross b/linux-atm/linux-atm-2.4.1/qgen-cross
index e69de29bb2..f81ab8e843 100644
--- a/linux-atm/linux-atm-2.4.1/qgen-cross
+++ b/linux-atm/linux-atm-2.4.1/qgen-cross
@@ -0,0 +1,28 @@
+fix qgen makefile so we can build q.out.o and q.dump.o seperatly to the tools that need to be compiled for build architecture
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-atm-2.4.1/src/qgen/Makefile.am~qgen-cross
++++ linux-atm-2.4.1/src/qgen/Makefile.am
+@@ -1,4 +1,5 @@
+ noinst_PROGRAMS = qgen q.dump # q40.out.o
++noinst_LIBRARIES = libqdump.a
+ check_PROGRAMS = q.test
+
+ qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
+@@ -7,10 +8,9 @@
+
+ q_dump_SOURCES = common.c
+ q_dump_LDADD = qd.dump.standalone.o
+-# FIXME: paulsch: We don't really depend on qd.dump.o or q.out.o here, but this
+-# trick will get it built with only a minor glitch in the dependency checking
+-# for q.dump.
+-q_dump_DEPENDENCIES = $(q_dump_LDADD) qd.dump.o q.out.o
++q_dump_DEPENDENCIES = $(q_dump_LDADD)
++libqdump_a_SOURCES =
++libqdump_a_DEPENDENCIES = qd.dump.o q.out.o
+ EXTRA_q_dump_SOURCES = op.h uni.h qlib.c qlib.h
+
+ q_test_SOURCES = qtest.c uni.h