
Apart from dependency on native-code DLLs, the one other quirk of running WiX under mono is that it doesn't seem to quite get the right answers when combining $PWD with a Unix absolute path to one of its own supporting files - it doesn't interpret the leading slash on the latter as meaning $PWD should be ignored, so it tries to look for /home/my/build/dir/home/my/wix/install/dir/some.file. Previously I was bodging around that by having my build dir contain a symlink 'home' pointing at /home; this is marginally less intrusive.
21 lines
359 B
Makefile
21 lines
359 B
Makefile
# -*- makefile -*-
|
|
|
|
.SUFFIXES: .c .lo .la
|
|
|
|
all: libwinterop.so.la libmsi.so.la libpreload.la
|
|
|
|
%.la:
|
|
libtool --mode=link gcc -o $@ $^ -rpath /usr/local/lib
|
|
|
|
%.lo: %.c
|
|
libtool --mode=compile gcc -c $^
|
|
|
|
libwinterop.so.la: fake-winterop.lo fake-lib.lo
|
|
|
|
libmsi.so.la: fake-msi.lo fake-lib.lo
|
|
|
|
libpreload.la: preload.lo
|
|
|
|
clean:
|
|
rm -rf .libs
|
|
rm -f *.o *.lo *.la
|