3 BUILT_SOURCES = wconfig.h
111 wmaker_SOURCES += xdnd.c
114 wmaker_SOURCES += motif.h motif.c
118 wmaker_SOURCES += osdep_bsd.c
121 wmaker_SOURCES += osdep_darwin.c
124 wmaker_SOURCES += osdep_linux.c
127 wmaker_SOURCES += osdep_stub.c
131 wmaker_SOURCES += misc.c \
134 nodist_wmaker_SOURCES = misc.hack_nf.c \
137 CLEANFILES = $(nodist_wmaker_SOURCES)
139 misc.hack_nf.c: misc.c $(top_srcdir)/script/nested-func-to-macro.sh
140 $(AM_V_GEN)$(top_srcdir)/script/nested-func-to-macro.sh \
141 $(srcdir)/misc.c -o $(builddir)/misc.hack_nf.c \
142 -f "append_string" -f "append_modifier"
144 xmodifier.hack_nf.c: xmodifier.c $(top_srcdir)/script/nested-func-to-macro.sh
145 $(AM_V_GEN)$(top_srcdir)/script/nested-func-to-macro.sh \
146 $(srcdir)/xmodifier.c -o $(builddir)/xmodifier.hack_nf.c \
147 -f "modwarn" -f "modbarf" -f "check_modifier" -f "store_modifier"
151 AM_CFLAGS = @PANGO_CFLAGS@
153 AM_CPPFLAGS = $(DFLAGS) \
154 -I$(top_builddir)/wrlib \
155 -I$(top_srcdir)/WINGs -I$(top_builddir)/WINGs \
160 $(top_builddir)/WINGs/libWINGs.la\
161 $(top_builddir)/WINGs/libWUtil.la\
162 $(top_builddir)/wrlib/libwraster.la\
170 ######################################################################
172 # Create a 'silent rule' for our make check the same way automake does
173 AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
174 am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
175 am__v_CHKOPTS_0 = @echo " CHK $@" ;
178 check-local: defaults-callbacks-static defaults-callbacks-dynamic
180 # Check that the callback functions used to load the configuration match
181 # the type of the variable where the value will be stored
182 defaults-callbacks-static:
183 $(AM_V_CHKOPTS)$(top_srcdir)/script/check-wmaker-loaddef-callbacks.sh \
184 --source "$(srcdir)/defaults.c" --structure "staticOptionList" \
185 --field-value-ptr 4 --field-callback 5 \
186 --struct-def "wPreferences=$(srcdir)/WindowMaker.h" \
187 --callback "getBool=char, getEnum=char, getInt=int" \
188 --callback "getModMask=int"
190 defaults-callbacks-dynamic:
191 $(AM_V_CHKOPTS)$(top_srcdir)/script/check-wmaker-loaddef-callbacks.sh \
192 --source "$(srcdir)/defaults.c" --structure "optionList" \
193 --field-value-ptr 4 --field-callback 5 \
194 --struct-def "wPreferences=$(srcdir)/WindowMaker.h" \
195 --struct-def "legacy_minipreview_config=$(srcdir)/defaults.c" \
196 --callback "getBool=char, getEnum=char, getInt=int" \
197 --callback "getPathList=char*, getCoord=WCoord"