mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 07:02:30 +01:00
We have a few directories with source codes that we tell configure to prepare, but we do not actually want them built during normal operations (tests and examples only). However, there are some special targets brought by automake which still need to see them, so this patch adds these directories to the list, but only for these rules, we keep them unvisited by the normal build process. The wanted side effect of this is that now "make distcheck" works untill the end as expectable. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
140 lines
3.3 KiB
Makefile
140 lines
3.3 KiB
Makefile
## automake input file for WINGs
|
|
|
|
AUTOMAKE_OPTIONS =
|
|
|
|
SUBDIRS = WINGs . po Documentation Resources
|
|
DIST_SUBDIRS = $(SUBDIRS) Tests Examples Extras
|
|
|
|
libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
|
|
libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
|
|
|
|
bin_SCRIPTS = get-wings-flags get-wutil-flags
|
|
|
|
lib_LTLIBRARIES = libWUtil.la libWINGs.la
|
|
|
|
|
|
LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
|
|
libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFTLIBS@ @FCLIBS@ @LIBM@ @PANGOLIBS@
|
|
libWUtil_la_LIBADD = @LIBBSD@
|
|
|
|
EXTRA_DIST = BUGS make-rgb Examples Extras Tests get-wings-flags.in get-wutil-flags.in
|
|
|
|
|
|
# wbutton.c
|
|
libWINGs_la_SOURCES = \
|
|
configuration.c \
|
|
dragcommon.c \
|
|
dragdestination.c \
|
|
dragsource.c \
|
|
rgb.h \
|
|
selection.c \
|
|
wappresource.c \
|
|
wballoon.c \
|
|
wbox.c \
|
|
wbrowser.c \
|
|
wbutton.c \
|
|
wcolor.c \
|
|
wcolorpanel.c \
|
|
wcolorwell.c \
|
|
wconfig.h \
|
|
wevent.c \
|
|
wfilepanel.c \
|
|
wframe.c \
|
|
wfont.c \
|
|
wfontpanel.c \
|
|
widgets.c \
|
|
winputmethod.c \
|
|
wlabel.c \
|
|
wlist.c \
|
|
wmenuitem.c \
|
|
wmisc.c \
|
|
wpanel.c \
|
|
wpixmap.c \
|
|
wpopupbutton.c \
|
|
wprogressindicator.c \
|
|
wruler.c \
|
|
wscroller.c \
|
|
wscrollview.c \
|
|
wslider.c \
|
|
wsplitview.c \
|
|
wtabview.c \
|
|
wtext.c \
|
|
wtextfield.c \
|
|
wview.c \
|
|
wwindow.c
|
|
|
|
libWUtil_la_SOURCES = \
|
|
array.c \
|
|
bagtree.c \
|
|
data.c \
|
|
error.c \
|
|
error.h \
|
|
findfile.c \
|
|
handlers.c \
|
|
hashtable.c \
|
|
memory.c \
|
|
menuparser.c \
|
|
menuparser.h \
|
|
menuparser_macros.c \
|
|
misc.c \
|
|
notification.c \
|
|
proplist.c \
|
|
string.c \
|
|
tree.c \
|
|
userdefaults.c \
|
|
userdefaults.h \
|
|
usleep.c \
|
|
wapplication.c \
|
|
wconfig.h \
|
|
wutil.c
|
|
|
|
|
|
AM_CFLAGS =
|
|
|
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
|
|
-I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
|
|
@XFTFLAGS@ @HEADER_SEARCH_PATH@
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = WINGs.pc WUtil.pc
|
|
|
|
DISTCLEANFILES = $(pkgconfig_DATA) get-wings-flags get-wutil-flags
|
|
|
|
WINGs.pc: Makefile
|
|
@echo "Generating $@"
|
|
@echo 'Name: WINGs' > $@
|
|
@echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
|
|
@echo 'Version: $(VERSION)' >> $@
|
|
@echo 'Requires: wrlib WUtil' >> $@
|
|
@echo 'Libs: $(lib_search_path) -lWINGs' >> $@
|
|
@echo 'Libs.private: $(XFTLIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
|
|
@echo 'Cflags: $(inc_search_path)' >> $@
|
|
|
|
get-wings-flags: get-wings-flags.in Makefile
|
|
@echo "Generating $@"
|
|
@$(SED) -e 's#$${inc_search_path}#$(inc_search_path)#;' \
|
|
-e 's#$${lib_search_path}#$(lib_search_path)#;' \
|
|
-e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
|
|
-e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
|
|
-e 's#$${PANGOLIBS}#$(PANGOLIBS)#;' \
|
|
-e 's#$${INTLIBS}#$(INTLIBS)#;' \
|
|
-e 's#$${XLIBS}#$(XLIBS)#;' < $(abs_srcdir)/get-wings-flags.in > $@
|
|
@chmod 755 $@
|
|
|
|
WUtil.pc: Makefile
|
|
@echo "Generating $@"
|
|
@echo 'Name: WUtil' > $@
|
|
@echo 'Description: Utility library for WINGs' >> $@
|
|
@echo 'Version: $(VERSION)' >> $@
|
|
@echo 'Libs: -L$(libdir) -lWUtil' >> $@
|
|
@echo 'Libs.private: $(INTLIBS)' >> $@
|
|
@echo 'Cflags: -I$(includedir)' >> $@
|
|
|
|
get-wutil-flags: get-wutil-flags.in Makefile
|
|
@echo "Generating $@"
|
|
@$(SED) -e 's#$${includedir}#$(includedir)#;' \
|
|
-e 's#$${libdir}#$(libdir)#;' \
|
|
-e 's#$${INTLIBS}#$(INTLIBS)#;' < $(abs_srcdir)/get-wutil-flags.in > $@
|
|
@chmod 755 $@
|
|
|