Blame src/Makefile.am

Packit Service 50ad14
AM_CPPFLAGS = \
Packit Service 50ad14
	-I$(srcdir)/libkeymap -I$(builddir)/libkeymap \
Packit Service 50ad14
	-I$(srcdir)/libkeymap/keymap -I$(builddir)/libkeymap/keymap \
Packit Service 50ad14
	-DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" \
Packit Service 50ad14
	-D_FORTIFY_SOURCE=2 \
Packit Service 50ad14
	-funit-at-a-time
Packit Service 50ad14
Packit Service 50ad14
SUBDIRS = vlock libkeymap
Packit Service 50ad14
Packit Service 50ad14
OLDPROGS = mapscrn loadunimap
Packit Service 50ad14
PROGS = \
Packit Service 50ad14
	dumpkeys loadkeys showkey setfont showconsolefont \
Packit Service 50ad14
	setleds setmetamode kbd_mode psfxtable fgconsole \
Packit Service 50ad14
	kbdrate chvt deallocvt openvt kbdinfo setvtrgb
Packit Service 50ad14
Packit Service 50ad14
if KEYCODES_PROGS
Packit Service 50ad14
PROGS += getkeycodes setkeycodes
Packit Service 50ad14
endif
Packit Service 50ad14
Packit Service 50ad14
if RESIZECONS_PROGS
Packit Service 50ad14
PROGS += resizecons
Packit Service 50ad14
endif
Packit Service 50ad14
Packit Service 50ad14
if OPTIONAL_PROGS
Packit Service 50ad14
PROGS += \
Packit Service 50ad14
	setlogcons setvesablank getunimap clrunimap outpsfheader setpalette \
Packit Service 50ad14
	screendump spawn_console spawn_login
Packit Service 50ad14
endif
Packit Service 50ad14
Packit Service 50ad14
dist_bin_SCRIPTS = unicode_start unicode_stop
Packit Service 50ad14
bin_PROGRAMS = $(OLDPROGS) $(PROGS)
Packit Service 50ad14
Packit Service 50ad14
EXTRA_DIST = \
Packit Service 50ad14
	wctomb.c \
Packit Service 50ad14
	totextmode.c README.cad README.init README.openvt \
Packit Service 50ad14
	cad
Packit Service 50ad14
Packit Service 50ad14
Packit Service 50ad14
libcommon_a_SOURCES = \
Packit Service 50ad14
	getfd.c getfd.h \
Packit Service 50ad14
	xmalloc.c xmalloc.h \
Packit Service 50ad14
	kbd_error.c kbd_error.h
Packit Service 50ad14
Packit Service 50ad14
libfont_a_SOURCES   = \
Packit Service 50ad14
	psf.h psffontop.c psffontop.h \
Packit Service 50ad14
	utf8.c utf8.h \
Packit Service 50ad14
	kdmapop.c kdmapop.h \
Packit Service 50ad14
	loadunimap.c loadunimap.h \
Packit Service 50ad14
	kdfontop.c kdfontop.h
Packit Service 50ad14
Packit Service 50ad14
ALL_S   = nls.h paths.h version.h kbd.h
Packit Service 50ad14
Packit Service 50ad14
chvt_SOURCES            = $(ALL_S) chvt.c
Packit Service 50ad14
clrunimap_SOURCES       = $(ALL_S) clrunimap.c
Packit Service 50ad14
deallocvt_SOURCES       = $(ALL_S) deallocvt.c
Packit Service 50ad14
fgconsole_SOURCES       = $(ALL_S) fgconsole.c
Packit Service 50ad14
getkeycodes_SOURCES     = $(ALL_S) getkeycodes.c
Packit Service 50ad14
getunimap_SOURCES       = $(ALL_S) getunimap.c
Packit Service 50ad14
kbd_mode_SOURCES        = $(ALL_S) kbd_mode.c
Packit Service 50ad14
loadunimap_SOURCES      = $(ALL_S) loadunimap.c
Packit Service 50ad14
mapscrn_SOURCES         = $(ALL_S) mapscrn.c
Packit Service 50ad14
openvt_SOURCES          = $(ALL_S) openvt.c
Packit Service 50ad14
psfxtable_SOURCES       = $(ALL_S) psfxtable.c
Packit Service 50ad14
resizecons_SOURCES      = $(ALL_S) resizecons.c
Packit Service 50ad14
screendump_SOURCES      = $(ALL_S) screendump.c
Packit Service 50ad14
setfont_SOURCES         = $(ALL_S) setfont.c mapscrn.c
Packit Service 50ad14
setkeycodes_SOURCES     = $(ALL_S) setkeycodes.c
Packit Service 50ad14
setvtrgb_SOURCES        = $(ALL_S) setvtrgb.c
Packit Service 50ad14
setlogcons_SOURCES      = $(ALL_S) setlogcons.c
Packit Service 50ad14
setpalette_SOURCES      = $(ALL_S) setpalette.c
Packit Service 50ad14
setvesablank_SOURCES    = $(ALL_S) setvesablank.c
Packit Service 50ad14
showconsolefont_SOURCES = $(ALL_S) showconsolefont.c
Packit Service 50ad14
showkey_SOURCES         = $(ALL_S) showkey.c
Packit Service 50ad14
kbdinfo_SOURCES         = $(ALL_S) kbdinfo.c
Packit Service 50ad14
Packit Service 50ad14
dumpkeys_SOURCES        = $(ALL_S) dumpkeys.c
Packit Service 50ad14
loadkeys_SOURCES        = $(ALL_S) loadkeys.c
Packit Service 50ad14
Packit Service 50ad14
mapscrn_CFLAGS = -DMAIN
Packit Service 50ad14
loadunimap_CFLAGS = -DMAIN
Packit Service 50ad14
Packit Service 50ad14
noinst_LIBRARIES = libcommon.a libfont.a
Packit Service 50ad14
LDADD = libcommon.a libfont.a libkeymap/libkeymap.la @INTLLIBS@
Packit Service 50ad14
Packit Service 50ad14
install-exec-hook:
Packit Service 50ad14
	for i in psfaddtable psfgettable psfstriptable; do \
Packit Service 50ad14
		rm -f $(DESTDIR)$(bindir)/$$i; \
Packit Service 50ad14
		ln -s psfxtable $(DESTDIR)$(bindir)/$$i || exit $$?; \
Packit Service 50ad14
	done