fix compilation probs
[wmaker-crm.git] / WINGs / Makefile.am
blob8f16b1cdaacc2bb4f02dd4d673b8843557a416a0
1 ## automake input file for WINGs
3 AUTOMAKE_OPTIONS = no-dependencies
5 SUBDIRS = Resources
8 LIBLIST= $(top_builddir)/wrlib/libwraster.la\
9          @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ \
10         -lm @LIBPL@
13 #lib_LTLIBRARIES = libWINGs.la
15 lib_LIBRARIES = libWINGs.a
17 #libWINGs_la_LDFLAGS = -version-info 1:1:0
19 include_HEADERS = WINGs.h WUtil.h WINGsP.h
21 noinst_PROGRAMS = wtest wmquery wmfile fontl testmywidget testcolorpanel \
22                         testnot
24 testmywidget_SOURCES = testmywidget.c mywidget.c mywidget.h
26 testmywidget_LDADD = libWINGs.a $(LIBLIST)
28 fontl_SOURCES = fontl.c
30 fontl_LDADD = libWINGs.a $(LIBLIST)
32 wtest_SOURCES = wtest.c
34 wtest_LDADD = libWINGs.a $(LIBLIST)
36 wtest_DEPENDENCIES = libWINGs.a
38 wmfile_SOURCES = wmfile.c 
40 wmfile_LDADD = libWINGs.a $(LIBLIST)
41         
42 testcolorpanel_SOURCES = testcolorpanel.c
44 testcolorpanel_LDADD = libWINGs.a $(LIBLIST)
46 testnot_SOURCES = testnot.c
48 testnot_LDADD = libWINGs.a $(LIBLIST)
51 wmquery_SOURCES = wmquery.c 
53 wmquery_LDADD = libWINGs.a $(LIBLIST)
56 EXTRA_DIST = logo.xpm 
58 # wbutton.c 
59 libWINGs_a_SOURCES =    \
60         WINGs.h \
61         WINGsP.h \
62         configuration.c \
63         llist.h \
64         llist.c \
65         international.c \
66         notification.c \
67         selection.c \
68         userdefaults.c \
69         wapplication.c \
70         wballoon.c \
71         wbrowser.c \
72         wbutton.c \
73         wcolor.c \
74         wcolorpanel.c \
75         wcolorwell.c \
76         wevent.c \
77         wfilepanel.c \
78         wframe.c \
79         wfont.c \
80         wfontpanel.c \
81         widgets.c \
82         wlabel.c \
83         wlist.c \
84         wmisc.c \
85         wpanel.c \
86         wpixmap.c \
87         wpopupbutton.c \
88         wscroller.c \
89         wscrollview.c \
90         wslider.c \
91         wsplitview.c \
92         wtabview.c \
93         wtextfield.c \
94         wwindow.c \
95         wview.c \
96         error.c \
97         findfile.c \
98         hashtable.c \
99         memory.c \
100         usleep.c
103 INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
104         -DRESOURCE_PATH=\"$(datadir)/WINGs\" @HEADER_SEARCH_PATH@ -DDEBUG
107 wcolorpanel.o: wcolorpanel.c
108         $(COMPILE) -c -DRGBTXT="@X_LIBRARY_PATH@/X11/rgb.txt" $<