WINGs: mark the script 'get-wings-flags' as deprecated
[wmaker-crm.git] / WINGs / Makefile.am
blob79e6752c500718557b2d912c806c1019263c9659
1 ## automake input file for WINGs
3 AUTOMAKE_OPTIONS =
5 SUBDIRS = WINGs . po Documentation Resources
6 DIST_SUBDIRS = $(SUBDIRS) Tests Examples Extras
8 libWINGs_la_LDFLAGS = -version-info @WINGS_VERSION@
9 libWUtil_la_LDFLAGS = -version-info @WUTIL_VERSION@
11 dist_bin_SCRIPTS = get-wings-flags get-wutil-flags
13 lib_LTLIBRARIES = libWUtil.la libWINGs.la
16 LDADD= libWUtil.la libWINGs.la $(top_builddir)/wrlib/libwraster.la @INTLIBS@
17 libWINGs_la_LIBADD = libWUtil.la $(top_builddir)/wrlib/libwraster.la @XLIBS@ @XFTLIBS@ @FCLIBS@ @LIBM@ @PANGOLIBS@
18 libWUtil_la_LIBADD = @LIBBSD@
20 EXTRA_DIST = BUGS make-rgb Examples Extras Tests
23 # wbutton.c 
24 libWINGs_la_SOURCES =   \
25         configuration.c \
26         dragcommon.c \
27         dragdestination.c \
28         dragsource.c \
29         rgb.h \
30         selection.c \
31         wappresource.c \
32         wballoon.c \
33         wbox.c \
34         wbrowser.c \
35         wbutton.c \
36         wcolor.c \
37         wcolorpanel.c \
38         wcolorwell.c \
39         wconfig.h \
40         wevent.c \
41         wfilepanel.c \
42         wframe.c \
43         wfont.c \
44         wfontpanel.c \
45         widgets.c \
46         winputmethod.c \
47         wlabel.c \
48         wlist.c \
49         wmenuitem.c \
50         wmisc.c \
51         wpanel.c \
52         wpixmap.c \
53         wpopupbutton.c \
54         wprogressindicator.c \
55         wruler.c \
56         wscroller.c \
57         wscrollview.c \
58         wslider.c \
59         wsplitview.c \
60         wtabview.c \
61         wtext.c \
62         wtextfield.c \
63         wview.c \
64         wwindow.c
66 libWUtil_la_SOURCES =   \
67         array.c \
68         bagtree.c \
69         data.c \
70         error.c \
71         error.h \
72         findfile.c \
73         handlers.c \
74         hashtable.c \
75         memory.c \
76         menuparser.c \
77         menuparser.h \
78         menuparser_macros.c \
79         misc.c \
80         notification.c \
81         proplist.c \
82         string.c \
83         tree.c \
84         userdefaults.c \
85         userdefaults.h \
86         usleep.c \
87         wapplication.c \
88         wconfig.h \
89         wutil.c
92 AM_CFLAGS =
94 AM_CPPFLAGS = -DRESOURCE_PATH=\"$(datadir)/WINGs\" \
95          -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
96         @XFTFLAGS@ @HEADER_SEARCH_PATH@
98 pkgconfigdir = $(libdir)/pkgconfig
99 pkgconfig_DATA = WINGs.pc WUtil.pc
101 DISTCLEANFILES = $(pkgconfig_DATA)
103 WINGs.pc: Makefile
104         @echo "Generating $@"
105         @echo 'Name: WINGs' > $@
106         @echo 'Description: Small widget set with the NeXTStep(TM) look and feel' >> $@
107         @echo 'Version: $(VERSION)' >> $@
108         @echo 'Requires: wrlib WUtil' >> $@
109         @echo 'Libs: $(lib_search_path) -lWINGs' >> $@
110         @echo 'Libs.private: $(XFTLIBS) $(PANGOLIBS) $(XLIBS) -lm $(INTLIBS)' >> $@
111         @echo 'Cflags: $(inc_search_path)' >> $@
113 WUtil.pc: Makefile
114         @echo "Generating $@"
115         @echo 'Name: WUtil' > $@
116         @echo 'Description: Utility library for WINGs' >> $@
117         @echo 'Version: $(VERSION)' >> $@
118         @echo 'Libs: -L$(libdir) -lWUtil' >> $@
119         @echo 'Libs.private: $(INTLIBS)' >> $@
120         @echo 'Cflags: -I$(includedir)' >> $@