]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Build qlo10k1 with local ld10k1
authorTakashi Iwai <tiwai@suse.de>
Wed, 1 Jun 2005 16:10:51 +0000 (16:10 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Jun 2005 16:10:51 +0000 (16:10 +0000)
Build qlo10k1 with local ld10k1.

qlo10k1/Makefile.am
qlo10k1/config.h.in
qlo10k1/configure.in
qlo10k1/include/Makefile.am [new file with mode: 0644]
qlo10k1/src/Makefile.am

index 9e35092bb3c861c9914f7e2f631febeace8af44e..79b89c34265a704333227d8ed934d9d68c4c297c 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = src
+SUBDIRS = src include
 
 EXTRA_DIST = COPYING configure.in README NEWS AUTHORS TODO INSTALL ChangeLog
 
index 215c9bda489f234cf5030f3d86a59893850ecbee..9c8fbb19fcf9c11a76a7f90e1165e4c966095a16 100644 (file)
@@ -6,9 +6,6 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
-/* Define to 1 if you have the `lo10k1' library (-llo10k1). */
-#undef HAVE_LIBLO10K1
-
 /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H
 
index 36261fd4f40a5c6c07ee444a8ad1200b06aefa77..579a94f04347d836b10176572842cff2f9ebd2d2 100644 (file)
@@ -8,7 +8,16 @@ AC_PROG_LIBTOOL
 
 AC_C_BIGENDIAN
 gw_CHECK_QT
-AM_PATH_LD10K1(0.1.8)
+
+dnl AM_PATH_LD10K1(0.1.8)
+
+dnl Build with the local ld10k1
+rm -f include/lo10k1
+ln -s ../../ld10k1/include include/lo10k1
+LD10K1_CFLAGS="-I../include"
+LD10K1_LIBS="-L../../ld10k1/src -llo10k1"
+AC_SUBST(LD10K1_CFLAGS)
+AC_SUBST(LD10K1_LIBS)
 
 AC_OUTPUT(Makefile
-       src/Makefile)
\ No newline at end of file
+       src/Makefile include/Makefile)
\ No newline at end of file
diff --git a/qlo10k1/include/Makefile.am b/qlo10k1/include/Makefile.am
new file mode 100644 (file)
index 0000000..e69de29
index 9f83f2fd43da4d91e4de24c0082617492b52bdcd..1ba2f5e223677afcbc7e2f20990a1a03ae394f83 100644 (file)
@@ -4,12 +4,10 @@
 # of the other Makefile.am variables
 bin_PROGRAMS = qlo10k1
 
-AM_CPPFLAGS = $(LD10K1_CFLAGS)
-AM_CXXFLAGS= $(QT_CXXFLAGS)
-AM_LDFLAGS = $(LD10K1_LDFLAGS)
+AM_CXXFLAGS= @QT_CXXFLAGS@ @LD10K1_CFLAGS@
 
 # the libraries to link against.
-qlo10k1_LDADD = $(LDADD) $(QT_LDADD)
+qlo10k1_LDADD = $(LDADD) @QT_LDADD@ @LD10K1_LIBS@
 
 EXTRA_DIST = dlgs/connectionwizardbase.ui dlgs/filecontroldialogbase.ui dlgs/filecontrolsdialogbase.ui \
        dlgs/loadpatchdialogbase.ui dlgs/mainwndbase.ui dlgs/patchdialogbase.ui dlgs/preferencesbase.ui \