diff options
author | Simon Tatham <anakin@pobox.com> | 2017-02-20 07:17:46 +0000 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2017-02-20 07:17:46 +0000 |
commit | fbf19f95a0e843384af423449a18a96da1eaec95 (patch) | |
tree | 0bbfce204ae5e605e42598b6befc6ca984f55a95 | |
parent | abd0e801c055418418120a81de893345c20b5d54 (diff) | |
download | wix-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.wixfakelibs | 17 | ||||
-rw-r--r-- | libwinterop.so.la | 42 |
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 | |||
5 | all: 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 | |||
13 | libwinterop.so.la: fake-winterop.lo | ||
14 | |||
15 | clean: | ||
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). | ||
8 | dlname='libwinterop.so' | ||
9 | |||
10 | # Names of this library. | ||
11 | library_names='libwinterop.so' | ||
12 | |||
13 | # The name of the static archive. | ||
14 | old_library='libwinterop.a' | ||
15 | |||
16 | # Linker flags that can not go in dependency_libs. | ||
17 | inherited_linker_flags='' | ||
18 | |||
19 | # Libraries that this one depends upon. | ||
20 | dependency_libs='' | ||
21 | |||
22 | # Names of additional weak libraries provided by this library | ||
23 | weak_library_names='' | ||
24 | |||
25 | # Version information for libwinterop. | ||
26 | current=1 | ||
27 | age=0 | ||
28 | revision=0 | ||
29 | |||
30 | # Is this an already installed library? | ||
31 | installed=no | ||
32 | |||
33 | # Should we warn about portability when linking against -modules? | ||
34 | shouldnotlink=no | ||
35 | |||
36 | # Files to dlopen/dlpreopen | ||
37 | dlopen='' | ||
38 | dlpreopen='' | ||
39 | |||
40 | # Directory that this library needs to be installed in: | ||
41 | libdir='/usr/lib/x86_64-linux-gnu' | ||
42 | |||