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 = \
92 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\" -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
93 -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
94 @XFTFLAGS@ @HEADER_SEARCH_PATH@
96 pkgconfigdir = $(libdir)/pkgconfig
97 pkgconfig_DATA = WINGs.pc WUtil.pc
99 DISTCLEANFILES = $(pkgconfig_DATA) get-wings-flags get-wutil-flags
102 @echo "Generating $@"
103 @echo 'Name: WINGs' > $@
104 @echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
105 @echo 'Version: $(VERSION)' >> $@
106 @echo 'Requires: wrlib WUtil' >> $@
107 @echo 'Libs: $(lib_search_path) -lWINGs' >> $@
108 @echo 'Libs.private: $(XFTLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
109 @echo 'Cflags: $(inc_search_path)' >> $@
111 get-wings-flags: get-wings-flags.in Makefile
112 @echo "Generating $@"
113 @$(SED) -e 's#$${inc_search_path}#$(inc_search_path)#;' \
114 -e 's#$${lib_search_path}#$(lib_search_path)#;' \
115 -e 's#$${GFXLIBS}#$(GFXLIBS)#;' \
116 -e 's#$${XFTLIBS}#$(XFTLIBS)#;' \
117 -e 's#$${INTLIBS}#$(INTLIBS)#;' \
118 -e 's#$${XLIBS}#$(XLIBS)#;' < $(abs_srcdir)/get-wings-flags.in > $@
122 @echo "Generating $@"
123 @echo 'Name: WUtil' > $@
124 @echo 'Description: Utility library for WINGs' >> $@
125 @echo 'Version: $(VERSION)' >> $@
126 @echo 'Libs: -L$(libdir) -lWUtil' >> $@
127 @echo 'Libs.private: $(INTLIBS)' >> $@
128 @echo 'Cflags: -I$(includedir)' >> $@
130 get-wutil-flags: get-wutil-flags.in Makefile
131 @echo "Generating $@"
132 @$(SED) -e 's#$${includedir}#$(includedir)#;' \
133 -e 's#$${libdir}#$(libdir)#;' \
134 -e 's#$${INTLIBS}#$(INTLIBS)#;' < $(abs_srcdir)/get-wutil-flags.in > $@