From fbf19f95a0e843384af423449a18a96da1eaec95 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 20 Feb 2017 07:17:46 +0000 Subject: Set up a libtoolish Makefile for fake libs. The previous handwritten .la was a daft way of doing things! --- Makefile.wixfakelibs | 17 +++++++++++++++++ libwinterop.so.la | 42 ------------------------------------------ 2 files changed, 17 insertions(+), 42 deletions(-) create mode 100644 Makefile.wixfakelibs delete mode 100644 libwinterop.so.la diff --git a/Makefile.wixfakelibs b/Makefile.wixfakelibs new file mode 100644 index 0000000..af8b0f5 --- /dev/null +++ b/Makefile.wixfakelibs @@ -0,0 +1,17 @@ +# -*- makefile -*- + +.SUFFIXES: .c .lo .la + +all: libwinterop.so.la + +%.la: + libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib + +%.lo: %.c + libtool --mode=compile gcc -c $^ + +libwinterop.so.la: fake-winterop.lo + +clean: + rm -rf .libs + rm -f *.o *.lo *.la diff --git a/libwinterop.so.la b/libwinterop.so.la deleted file mode 100644 index 74b9ccc..0000000 --- a/libwinterop.so.la +++ /dev/null @@ -1,42 +0,0 @@ -# libsane-u12.la - a libtool library file -# Generated by libtool (GNU libtool) 2.4.2 -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='libwinterop.so' - -# Names of this library. -library_names='libwinterop.so' - -# The name of the static archive. -old_library='libwinterop.a' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='' - -# Libraries that this one depends upon. -dependency_libs='' - -# Names of additional weak libraries provided by this library -weak_library_names='' - -# Version information for libwinterop. -current=1 -age=0 -revision=0 - -# Is this an already installed library? -installed=no - -# Should we warn about portability when linking against -modules? -shouldnotlink=no - -# Files to dlopen/dlpreopen -dlopen='' -dlpreopen='' - -# Directory that this library needs to be installed in: -libdir='/usr/lib/x86_64-linux-gnu' - -- cgit v1.2.3-55-g6feb