Set up a libtoolish Makefile for fake libs.
The previous handwritten .la was a daft way of doing things!
This commit is contained in:
parent
abd0e801c0
commit
fbf19f95a0
2 changed files with 17 additions and 42 deletions
17
Makefile.wixfakelibs
Normal file
17
Makefile.wixfakelibs
Normal file
|
@ -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
|
|
@ -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'
|
||||
|
Loading…
Add table
Reference in a new issue