1995-04-27 14:50:35 +02:00
|
|
|
PROG= sysinstall
|
|
|
|
NOMAN= yes
|
|
|
|
CLEANFILES= makedevs.c rtermcap
|
|
|
|
|
1995-05-25 20:49:58 +02:00
|
|
|
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
|
1995-04-27 14:50:35 +02:00
|
|
|
|
1995-06-11 21:33:05 +02:00
|
|
|
SRCS= attr.c cdrom.c command.c config.c decode.c devices.c disks.c dist.c \
|
1995-09-18 18:53:06 +02:00
|
|
|
dmenu.c dos.c floppy.c ftp.c ftp_strat.c globals.c install.c label.c \
|
1995-05-27 12:47:44 +02:00
|
|
|
main.c makedevs.c media.c menus.c misc.c msg.c network.c nfs.c system.c tape.c \
|
|
|
|
tcpip.c termcap.c ufs.c variable.c wizard.c
|
|
|
|
|
1995-05-01 23:56:32 +02:00
|
|
|
|
1995-06-11 21:33:05 +02:00
|
|
|
CFLAGS+= -Wall -I${.CURDIR}/../libdisk \
|
1995-05-16 13:37:27 +02:00
|
|
|
-I${.CURDIR}/../../gnu/lib/libdialog
|
1995-05-01 23:56:32 +02:00
|
|
|
|
1995-05-29 03:43:20 +02:00
|
|
|
LDADD= -ldialog -lncurses -lmytinfo -lutil
|
1995-05-06 01:47:47 +02:00
|
|
|
.if exists(${.CURDIR}/../libdisk/obj)
|
|
|
|
LDADD+= -L${.CURDIR}/../libdisk/obj -ldisk
|
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../libdisk -ldisk
|
|
|
|
.endif
|
1995-04-27 14:50:35 +02:00
|
|
|
|
1995-05-29 03:43:20 +02:00
|
|
|
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL}
|
1995-04-27 14:50:35 +02:00
|
|
|
|
1995-06-11 21:33:05 +02:00
|
|
|
makedevs.c: Makefile rtermcap
|
1995-05-04 21:48:19 +02:00
|
|
|
rm -f makedevs.tmp
|
1995-05-06 01:47:47 +02:00
|
|
|
echo '#include <sys/types.h>' > makedevs.tmp
|
1995-04-27 14:50:35 +02:00
|
|
|
./rtermcap cons25 | \
|
|
|
|
file2c 'const char termcap_cons25[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
|
|
|
./rtermcap cons25-m | \
|
|
|
|
file2c 'const char termcap_cons25_m[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-05-04 21:48:19 +02:00
|
|
|
./rtermcap cons25r | \
|
|
|
|
file2c 'const char termcap_cons25r[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
|
|
|
./rtermcap cons25r-m | \
|
|
|
|
file2c 'const char termcap_cons25r_m[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-05-06 01:47:47 +02:00
|
|
|
./rtermcap cons25l1 | \
|
|
|
|
file2c 'const char termcap_cons25l1[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-05-04 21:48:19 +02:00
|
|
|
./rtermcap cons25l1-m | \
|
|
|
|
file2c 'const char termcap_cons25l1_m[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-04-27 14:50:35 +02:00
|
|
|
./rtermcap vt100 | \
|
|
|
|
file2c 'const char termcap_vt100[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
|
|
|
mv makedevs.tmp makedevs.c
|
|
|
|
|
|
|
|
rtermcap: ${.CURDIR}/rtermcap.c
|
|
|
|
${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap
|
|
|
|
|
1995-05-24 13:19:11 +02:00
|
|
|
testftp: ftp.c
|
|
|
|
cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c
|
|
|
|
|
1995-04-27 14:50:35 +02:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|