1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-04-09 01:13:33 +02:00
Files
wmaker/wmlib/Makefile.am
Alexey Voinov 3953f53680 WINGs shared library generation
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
2009-09-19 16:06:05 +02:00

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 $@ $<