22 lines
645 B
Makefile
22 lines
645 B
Makefile
libdir = $(bindir)
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
lib_LTLIBRARIES = libwinterop.so.la libmsi.so.la libpreload.la
|
|
|
|
libwinterop_so_la_SOURCES = fake-winterop.c makecab.c memory.c \
|
|
memory.h dupstr.c dupstr.h subproc.c subproc.h uchars.c uchars.h
|
|
|
|
libmsi_so_la_SOURCES = makemsi.c md5.c memory.c memory.h version.c \
|
|
dupstr.c dupstr.h subproc.c subproc.h uchars.c uchars.h
|
|
|
|
libpreload_la_SOURCES = preload.c
|
|
libpreload_la_LDFLAGS = -ldl
|
|
|
|
bin_SCRIPTS = wrapper.py makecab.py
|
|
|
|
install-exec-hook:
|
|
cd $(DESTDIR)$(bindir) && \
|
|
{ test -h candle || $(LN_S) wrapper.py candle; }
|
|
cd $(DESTDIR)$(bindir) && \
|
|
{ test -h light || $(LN_S) wrapper.py light; }
|