- Check whether libXft is at least version 2.1.2 else refuse to compile.
[wmaker-crm.git] / WINGs / Makefile.am
blob3ff80d6efb5e5b8f12f50a3cb2a4e99921e44534
1 ## automake input file for WINGs
3 AUTOMAKE_OPTIONS = no-dependencies
5 SUBDIRS = WINGs . po Documentation Resources Examples Extras Tests
9 #libWINGs_la_LDFLAGS = -version-info 1:1:0
11 bin_SCRIPTS = get-wings-flags get-wutil-flags
13 lib_LIBRARIES = libWINGs.a libWUtil.a
16 LDADD= libWINGs.a $(top_builddir)/wrlib/libwraster.la @INTLIBS@
19 EXTRA_DIST = BUGS python/Makefile python/README python/WINGs.i \
20         python/WINGs.py python/setup.py python/test.py
23 # wbutton.c 
24 libWINGs_a_SOURCES =    \
25         array.c \
26         bagtree.c \
27         configuration.c \
28         connection.c \
29         data.c \
30         dragcommon.c \
31         dragdestination.c \
32         dragsource.c \
33         error.c \
34         findfile.c \
35         handlers.c \
36         hashtable.c \
37         host.c \
38         international.c \
39         memory.c \
40         misc.c \
41         notification.c \
42         proplist.c \
43         selection.c \
44         snprintf.c \
45         string.c \
46         tree.c \
47         userdefaults.c \
48         usleep.c \
49         wapplication.c \
50         wappresource.c \
51         wballoon.c \
52         wbox.c \
53         wbrowser.c \
54         wbutton.c \
55         wcolor.c \
56         wcolorpanel.c \
57         wcolorwell.c \
58         wconfig.h \
59         wevent.c \
60         wfilepanel.c \
61         wframe.c \
62         wfont.c \
63         wfontpanel.c \
64         widgets.c \
65         winputmethod.c \
66         wlabel.c \
67         wlist.c \
68         wmenuitem.c \
69         wmisc.c \
70         wpanel.c \
71         wpixmap.c \
72         wpopupbutton.c \
73         wprogressindicator.c \
74         wruler.c \
75         wscroller.c \
76         wscrollview.c \
77         wslider.c \
78         wsplitview.c \
79         wtabview.c \
80         wtext.c \
81         wtextfield.c \
82         wview.c \
83         wwindow.c
86 libWUtil_a_SOURCES =    \
87         array.c \
88         bagtree.c \
89         connection.c \
90         data.c \
91         error.c \
92         findfile.c \
93         handlers.c \
94         hashtable.c \
95         host.c \
96         international.c \
97         memory.c \
98         misc.c \
99         notification.c \
100         proplist.c \
101         snprintf.c \
102         string.c \
103         tree.c \
104         userdefaults.c \
105         usleep.c \
106         wapplication.c \
107         wconfig.h \
108         wutil.c
111 AM_CPPFLAGS = -DLOCALEDIR=\"$(NLSDIR)\"
113 AM_CFLAGS = -fno-strict-aliasing
115 INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
116         -DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@ -DDEBUG
119 wcolorpanel.o: wcolorpanel.c
120         $(COMPILE) -c -DRGBTXT="\"@X_LIBRARY_PATH@/X11/rgb.txt\"" $<
122 DISTCLEANFILES = WINGs.pc
124 install-exec-local:
125         @$(NORMAL_INSTALL)
126         $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
127         @list='WINGs.pc'; for p in $$list; do \
128           if test -f $$p; then \
129             echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
130             $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
131           else :; fi; \
132         done