Replace gnu-makeism with portable rules

This commit is contained in:
Alan Coopersmith 2005-08-18 17:14:11 +00:00
parent ea5c49cb17
commit a0366ddb8c

View File

@ -61,9 +61,17 @@ XORG_LIBS = \
# it to install callbacks for those actions. # it to install callbacks for those actions.
# #
xkb%.c: xkbVT.c:
echo "#define XF86DDXACTIONS" > $@ echo "#define XF86DDXACTIONS" > $@
echo "#include \"$(top_srcdir)/xkb/ddx$*.c\"" >> $@ echo "#include \"$(top_srcdir)/xkb/ddxVT.c\"" >> $@
xkbKillSrv.c:
echo "#define XF86DDXACTIONS" > $@
echo "#include \"$(top_srcdir)/xkb/ddxKillSrv.c\"" >> $@
xkbPrivate.c:
echo "#define XF86DDXACTIONS" > $@
echo "#include \"$(top_srcdir)/xkb/ddxPrivate.c\"" >> $@
Xorg_LDADD = $(XORG_LIBS) \ Xorg_LDADD = $(XORG_LIBS) \
@XSERVER_LIBS@ \ @XSERVER_LIBS@ \