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"
153 AM_CPPFLAGS = $(DFLAGS) \
154 -I$(top_srcdir)/wrlib \
155 -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@
159 $(top_builddir)/WINGs/libWINGs.la\
160 $(top_builddir)/WINGs/libWUtil.la\
161 $(top_builddir)/wrlib/libwraster.la\
169 ######################################################################
171 # Create a 'silent rule' for our make check the same way automake does
172 AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
173 am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
174 am__v_CHKOPTS_0 = @echo " CHK $@" ;
177 check-local: defaults-callbacks-static defaults-callbacks-dynamic
179 # Check that the callback functions used to load the configuration match
180 # the type of the variable where the value will be stored
181 defaults-callbacks-static:
182 $(AM_V_CHKOPTS)$(top_srcdir)/script/check-wmaker-loaddef-callbacks.sh \
183 --source "$(srcdir)/defaults.c" --structure "staticOptionList" \
184 --field-value-ptr 4 --field-callback 5 \
185 --struct-def "wPreferences=$(srcdir)/WindowMaker.h" \
186 --callback "getBool=char, getEnum=char, getInt=int" \
187 --callback "getModMask=int"
189 defaults-callbacks-dynamic:
190 $(AM_V_CHKOPTS)$(top_srcdir)/script/check-wmaker-loaddef-callbacks.sh \
191 --source "$(srcdir)/defaults.c" --structure "optionList" \
192 --field-value-ptr 4 --field-callback 5 \
193 --struct-def "wPreferences=$(srcdir)/WindowMaker.h" \
194 --struct-def "legacy_minipreview_config=$(srcdir)/defaults.c" \
195 --callback "getBool=char, getEnum=char, getInt=int" \
196 --callback "getPathList=char*, getCoord=WCoord"