replaced CPPFLAGS with AM_CPPFLAGS in some Makefile.am's to avoid overwriting the...
[wmaker-crm.git] / WINGs / Makefile.am
blob0fb12dc71b8ed01e6494b8f62097be8abda1b614
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         dragdestination.c \
31         dragsource.c \
32         error.c \
33         findfile.c \
34         handlers.c \
35         hashtable.c \
36         host.c \
37         international.c \
38         memory.c \
39         misc.c \
40         notification.c \
41         proplist.c \
42         selection.c \
43         snprintf.c \
44         string.c \
45         tree.c \
46         userdefaults.c \
47         usleep.c \
48         wapplication.c \
49         wappresource.c \
50         wballoon.c \
51         wbox.c \
52         wbrowser.c \
53         wbutton.c \
54         wcolor.c \
55         wcolorpanel.c \
56         wcolorwell.c \
57         wconfig.h \
58         wevent.c \
59         wfilepanel.c \
60         wframe.c \
61         wfont.c \
62         wfontpanel.c \
63         widgets.c \
64         winputmethod.c \
65         wlabel.c \
66         wlist.c \
67         wmenuitem.c \
68         wmisc.c \
69         wpanel.c \
70         wpixmap.c \
71         wpopupbutton.c \
72         wprogressindicator.c \
73         wruler.c \
74         wscroller.c \
75         wscrollview.c \
76         wslider.c \
77         wsplitview.c \
78         wtabview.c \
79         wtext.c \
80         wtextfield.c \
81         wview.c \
82         wwindow.c
85 libWUtil_a_SOURCES =    \
86         array.c \
87         bagtree.c \
88         connection.c \
89         data.c \
90         error.c \
91         findfile.c \
92         handlers.c \
93         hashtable.c \
94         host.c \
95         international.c \
96         memory.c \
97         misc.c \
98         notification.c \
99         proplist.c \
100         snprintf.c \
101         string.c \
102         tree.c \
103         userdefaults.c \
104         usleep.c \
105         wapplication.c \
106         wconfig.h \
107         wutil.c
110 AM_CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(NLSDIR)\"
112 INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
113         -DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@ -DDEBUG
116 wcolorpanel.o: wcolorpanel.c
117         $(COMPILE) -c -DRGBTXT="\"@X_LIBRARY_PATH@/X11/rgb.txt\"" $<
119 DISTCLEANFILES = WINGs.pc
121 install-exec-local:
122         @$(NORMAL_INSTALL)
123         $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
124         @list='WINGs.pc'; for p in $$list; do \
125           if test -f $$p; then \
126             echo "$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/"; \
127             $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/pkgconfig/; \
128           else :; fi; \
129         done