1 ## automake input file for WINGs
5 SUBDIRS = WINGs . po Documentation Resources
7 libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
8 libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
10 bin_SCRIPTS = get-wings-flags get-wutil-flags
12 lib_LTLIBRARIES = libWUtil.la libWINGs.la
15 LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
16 libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFTLIBS@ @FCLIBS@ @LIBM@
17 libWUtil_la_LIBADD = @LIBBSD@
19 EXTRA_DIST = BUGS make-rgb Examples Extras Tests get-wings-flags.in get-wutil-flags.in
23 libWINGs_la_SOURCES = \
62 libWUtil_la_SOURCES = \
83 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(datadir)/WINGs\" -DDEBUG
86 INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
87 @XFTFLAGS@ @HEADER_SEARCH_PATH@
89 pkgconfigdir = $(libdir)/pkgconfig
90 pkgconfig_DATA = WINGs.pc
92 DISTCLEANFILES = $(pkgconfig_DATA) get-wings-flags get-wutil-flags
96 @echo 'Name: WINGs' > $@
97 @echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
98 @echo 'Version: $(VERSION)' >> $@
99 @echo 'Requires: wrlib' >> $@
100 @echo 'Libs: $(lib_search_path) -lWINGs' >> $@
101 @echo 'Libs.private: $(XFTLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
102 @echo 'Cflags: $(inc_search_path)' >> $@
104 get-wings-flags: get-wings-flags.in Makefile
105 @echo "Generating $@"
106 @$(SED) -e 's#$${inc_search_path}#$(inc_search_path)#;' \
107 -e 's#$${lib_search_path}#$(lib_search_path)#;' \
108 -e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
109 -e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
110 -e 's#$${INTLIBS}#$(INTLIBS)#;' \
111 -e 's#$${XLIBS}#$(XLIBS)#;' < $< > $@
114 get-wutil-flags: get-wutil-flags.in Makefile
115 @echo "Generating $@"
116 @$(SED) -e 's#$${includedir}#$(includedir)#;' \
117 -e 's#$${libdir}#$(libdir)#;' \
118 -e 's#$${INTLIBS}#$(INTLIBS)#;' < $< > $@