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 = \
53 wprogressindicator.c \
65 libWUtil_la_SOURCES = \
89 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(datadir)/WINGs\"
92 INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
93 @XFTFLAGS@ @HEADER_SEARCH_PATH@
95 pkgconfigdir = $(libdir)/pkgconfig
96 pkgconfig_DATA = WINGs.pc
98 DISTCLEANFILES = $(pkgconfig_DATA) get-wings-flags get-wutil-flags
101 @echo "Generating $@"
102 @echo 'Name: WINGs' > $@
103 @echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
104 @echo 'Version: $(VERSION)' >> $@
105 @echo 'Requires: wrlib' >> $@
106 @echo 'Libs: $(lib_search_path) -lWINGs' >> $@
107 @echo 'Libs.private: $(XFTLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
108 @echo 'Cflags: $(inc_search_path)' >> $@
110 get-wings-flags: get-wings-flags.in Makefile
111 @echo "Generating $@"
112 @$(SED) -e 's#$${inc_search_path}#$(inc_search_path)#;' \
113 -e 's#$${lib_search_path}#$(lib_search_path)#;' \
114 -e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
115 -e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
116 -e 's#$${INTLIBS}#$(INTLIBS)#;' \
117 -e 's#$${XLIBS}#$(XLIBS)#;' < $(abs_srcdir)/get-wings-flags.in > $@
120 get-wutil-flags: get-wutil-flags.in Makefile
121 @echo "Generating $@"
122 @$(SED) -e 's#$${includedir}#$(includedir)#;' \
123 -e 's#$${libdir}#$(libdir)#;' \
124 -e 's#$${INTLIBS}#$(INTLIBS)#;' < $(abs_srcdir)/get-wutil-flags.in > $@