mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-09 01:13:33 +02:00
This patch modifies the linking of the WINGs libraries to create a shared library. wmaker used to do this, but it was dropped around wmaker-0.90/0.91. The shared .so library is needed when compiling and running the wdm display manager and any other programs which link to libWINGs. Submitted by: Gilbert Ashley Origin: ALT/Sisyphus Linux
43 lines
837 B
Makefile
43 lines
837 B
Makefile
|
|
AUTOMAKE_OPTIONS = no-dependencies
|
|
|
|
libWMaker_la_LDFLAGS = -version-info 1:1:0
|
|
lib_LTLIBRARIES = libWMaker.la
|
|
|
|
include_HEADERS = WMaker.h
|
|
|
|
INCLUDES = $(DFLAGS) @XCFLAGS@
|
|
|
|
libWMaker_a_AR = $(QUIET_AR) $(AR) $(ARFLAGS)
|
|
|
|
libWMaker_la_SOURCES = \
|
|
menu.c \
|
|
app.c \
|
|
event.c \
|
|
command.c \
|
|
app.h \
|
|
menu.h
|
|
|
|
DISTCLEANFILES = wmlib.pc
|
|
|
|
install-exec-local:
|
|
@$(NORMAL_INSTALL)
|
|
@$(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
|
|
@list='wmlib.pc'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
|
|
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
|
|
else :; fi; \
|
|
done
|
|
|
|
LIBTOOL = $(QUIET) $(SHELL) $(top_srcdir)/libtool $(LIBTOOL_ARG)
|
|
|
|
.c.o:
|
|
$(QUIET)$(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
$(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
$(QUIET)$(LTCOMPILE) -c -o $@ $<
|