mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 01:12:30 +01:00
Also, the script is a one-liner, stolen from [1]: ack --print0 -l '[ \t]+$' | xargs -0 -n1 perl -pi -e 's/[ \t]+$//' [1] https://stackoverflow.com/questions/149057/how-to-remove-trailing-whitespace-of-all-files-recursively
34 lines
681 B
Makefile
34 lines
681 B
Makefile
|
|
AUTOMAKE_OPTIONS = no-dependencies
|
|
|
|
libWMaker_la_LDFLAGS = -version-info 1:1:0
|
|
lib_LTLIBRARIES = libWMaker.la
|
|
|
|
include_HEADERS = WMaker.h
|
|
|
|
AM_CPPFLAGS = $(DFLAGS) @XCFLAGS@
|
|
|
|
libWMaker_la_LIBADD = -lX11
|
|
|
|
libWMaker_la_SOURCES = \
|
|
menu.c \
|
|
app.c \
|
|
event.c \
|
|
command.c \
|
|
app.h \
|
|
menu.h
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = wmlib.pc
|
|
|
|
DISTCLEANFILES = $(pkgconfig_DATA)
|
|
|
|
wmlib.pc: Makefile
|
|
@echo "Generating $@"
|
|
@echo 'Name: wmlib' > $@
|
|
@echo 'Description: Window Maker interface definitions' >> $@
|
|
@echo 'Version: $(VERSION)' >> $@
|
|
@echo 'Requires: x11' >> $@
|
|
@echo 'Libs: $(lib_search_path) -lWMaker' >> $@
|
|
@echo 'Cflags: $(inc_search_path)' >> $@
|