aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-02-20 07:17:46 +0000
committerSimon Tatham <anakin@pobox.com>2017-02-20 07:17:46 +0000
commitfbf19f95a0e843384af423449a18a96da1eaec95 (patch)
tree0bbfce204ae5e605e42598b6befc6ca984f55a95
parentabd0e801c055418418120a81de893345c20b5d54 (diff)
downloadwix-on-linux-fbf19f95a0e843384af423449a18a96da1eaec95.tar.gz
wix-on-linux-fbf19f95a0e843384af423449a18a96da1eaec95.tar.bz2
wix-on-linux-fbf19f95a0e843384af423449a18a96da1eaec95.zip
Set up a libtoolish Makefile for fake libs.
The previous handwritten .la was a daft way of doing things!
-rw-r--r--Makefile.wixfakelibs17
-rw-r--r--libwinterop.so.la42
2 files changed, 17 insertions, 42 deletions
diff --git a/Makefile.wixfakelibs b/Makefile.wixfakelibs
new file mode 100644
index 0000000..af8b0f5
--- /dev/null
+++ b/Makefile.wixfakelibs
@@ -0,0 +1,17 @@
1# -*- makefile -*-
2
3.SUFFIXES: .c .lo .la
4
5all: libwinterop.so.la
6
7%.la:
8 libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib
9
10%.lo: %.c
11 libtool --mode=compile gcc -c $^
12
13libwinterop.so.la: fake-winterop.lo
14
15clean:
16 rm -rf .libs
17 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 @@
1# libsane-u12.la - a libtool library file
2# Generated by libtool (GNU libtool) 2.4.2
3#
4# Please DO NOT delete this file!
5# It is necessary for linking the library.
6
7# The name that we can dlopen(3).
8dlname='libwinterop.so'
9
10# Names of this library.
11library_names='libwinterop.so'
12
13# The name of the static archive.
14old_library='libwinterop.a'
15
16# Linker flags that can not go in dependency_libs.
17inherited_linker_flags=''
18
19# Libraries that this one depends upon.
20dependency_libs=''
21
22# Names of additional weak libraries provided by this library
23weak_library_names=''
24
25# Version information for libwinterop.
26current=1
27age=0
28revision=0
29
30# Is this an already installed library?
31installed=no
32
33# Should we warn about portability when linking against -modules?
34shouldnotlink=no
35
36# Files to dlopen/dlpreopen
37dlopen=''
38dlpreopen=''
39
40# Directory that this library needs to be installed in:
41libdir='/usr/lib/x86_64-linux-gnu'
42