loader.mk (060679ef9ccfb5a7e86dd36f89fe0a57ffc9b150) | loader.mk (9d45c24cc4078e0c2962ba28e5a726709fef2269) |
---|---|
1# $FreeBSD$ 2 3.PATH: ${LDRSRC} ${BOOTSRC}/libsa 4 5CFLAGS+=-I${LDRSRC} 6 7SRCS+= boot.c commands.c console.c devopen.c interp.c 8SRCS+= interp_backslash.c interp_parse.c ls.c misc.c --- 43 unchanged lines hidden (view full) --- 52# Machine-independant ISA PnP 53.if defined(HAVE_ISABUS) 54SRCS+= isapnp.c 55.endif 56.if defined(HAVE_PNP) 57SRCS+= pnp.c 58.endif 59 | 1# $FreeBSD$ 2 3.PATH: ${LDRSRC} ${BOOTSRC}/libsa 4 5CFLAGS+=-I${LDRSRC} 6 7SRCS+= boot.c commands.c console.c devopen.c interp.c 8SRCS+= interp_backslash.c interp_parse.c ls.c misc.c --- 43 unchanged lines hidden (view full) --- 52# Machine-independant ISA PnP 53.if defined(HAVE_ISABUS) 54SRCS+= isapnp.c 55.endif 56.if defined(HAVE_PNP) 57SRCS+= pnp.c 58.endif 59 |
60# Forth interpreter 61.if ${MK_LOADER_LUA} != "no" | 60.if ${LOADER_INTERP} == "lua" |
62SRCS+= interp_lua.c 63.include "${BOOTSRC}/lua.mk" 64LDR_INTERP= ${LIBLUA} 65LDR_INTERP32= ${LIBLUA32} | 61SRCS+= interp_lua.c 62.include "${BOOTSRC}/lua.mk" 63LDR_INTERP= ${LIBLUA} 64LDR_INTERP32= ${LIBLUA32} |
66.elif ${MK_FORTH} != "no" | 65.elif ${LOADER_INTERP} == "4th" |
67SRCS+= interp_forth.c 68.include "${BOOTSRC}/ficl.mk" 69LDR_INTERP= ${LIBFICL} 70LDR_INTERP32= ${LIBFICL32} | 66SRCS+= interp_forth.c 67.include "${BOOTSRC}/ficl.mk" 68LDR_INTERP= ${LIBFICL} 69LDR_INTERP32= ${LIBFICL32} |
71.else | 70.elif ${LOADER_INTERP} == "simp" |
72SRCS+= interp_simple.c | 71SRCS+= interp_simple.c |
72.else 73.error Unknown interpreter ${LOADER_INTERP} |
|
73.endif 74 75.if defined(BOOT_PROMPT_123) 76CFLAGS+= -DBOOT_PROMPT_123 77.endif 78 79.if defined(LOADER_INSTALL_SUPPORT) 80SRCS+= install.c --- 85 unchanged lines hidden --- | 74.endif 75 76.if defined(BOOT_PROMPT_123) 77CFLAGS+= -DBOOT_PROMPT_123 78.endif 79 80.if defined(LOADER_INSTALL_SUPPORT) 81SRCS+= install.c --- 85 unchanged lines hidden --- |