mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Adjust the rules for auto-generating some source files, so that they work
on both GNU make and FreeBSD's make.
This commit is contained in:
parent
0d7ec5c7d9
commit
2af7e94eab
3 changed files with 42 additions and 31 deletions
|
|
@ -111,12 +111,13 @@ libtype1_la_SOURCES = type1mod.c
|
|||
|
||||
libdixmods_la_SOURCES = $(top_srcdir)/mi/miinitext.c
|
||||
|
||||
libxorgxkb_la_SOURCES = xkbVT.c xkbPrivate.c xkbKillSrv.c
|
||||
XKB_SOURCES = xkbVT.c xkbPrivate.c xkbKillSrv.c
|
||||
libxorgxkb_la_SOURCES = $(XKB_SOURCES)
|
||||
|
||||
libxtrap_la_LDFLAGS = -avoid-version
|
||||
libxtrap_la_LIBADD = $(top_builddir)/XTrap/libxtrapmodule.la
|
||||
libxtrap_la_SOURCES = xf86XTrapModule.c
|
||||
|
||||
xkb%.c:
|
||||
$(XKB_SOURCES):
|
||||
echo "#define XF86DDXACTIONS" > $@
|
||||
echo "#include \"$(top_srcdir)/xkb/ddx$*.c\"" >> $@
|
||||
echo "#include \"$(top_srcdir)/xkb/ddx${@:xkb%=%}\"" >> $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue