1995-04-27 13:50:35 +01:00
|
|
|
PROG= sysinstall
|
|
|
|
NOMAN= yes
|
1996-07-11 19:37:48 +01:00
|
|
|
CLEANFILES+= makedevs.c rtermcap
|
1995-04-27 13:50:35 +01:00
|
|
|
|
1995-05-25 19:49:58 +01:00
|
|
|
.PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum
|
1995-04-27 13:50:35 +01:00
|
|
|
|
1996-05-16 12:47:46 +01:00
|
|
|
SRCS= anonFTP.c apache.c attr.c cdrom.c command.c config.c devices.c \
|
1996-05-24 16:35:36 +01:00
|
|
|
disks.c dispatch.c dist.c dmenu.c doc.c dos.c floppy.c ftp.c \
|
1996-04-28 04:27:26 +01:00
|
|
|
ftp_strat.c globals.c index.c install.c installUpgrade.c \
|
|
|
|
label.c lndir.c main.c makedevs.c media.c menus.c misc.c \
|
|
|
|
msg.c network.c nfs.c options.c package.c samba.c system.c \
|
|
|
|
tape.c tcpip.c termcap.c ufs.c variable.c wizard.c
|
1995-05-27 11:47:44 +01:00
|
|
|
|
1996-03-17 23:08:37 +00:00
|
|
|
CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog
|
1995-05-01 22:56:32 +01:00
|
|
|
|
1996-09-16 00:55:23 +01:00
|
|
|
#CFLAGS+= -DLOAD_CONFIG_FILE=\"install.cfg\"
|
1996-09-08 02:39:25 +01:00
|
|
|
|
1996-07-11 19:37:48 +01:00
|
|
|
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK}
|
|
|
|
LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk
|
1995-04-27 13:50:35 +01:00
|
|
|
|
1995-06-11 20:33:05 +01:00
|
|
|
makedevs.c: Makefile rtermcap
|
1995-05-04 20:48:19 +01:00
|
|
|
rm -f makedevs.tmp
|
1995-05-06 00:47:47 +01:00
|
|
|
echo '#include <sys/types.h>' > makedevs.tmp
|
1995-04-27 13:50:35 +01: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 20:48:19 +01: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 00:47:47 +01:00
|
|
|
./rtermcap cons25l1 | \
|
|
|
|
file2c 'const char termcap_cons25l1[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-05-04 20:48:19 +01:00
|
|
|
./rtermcap cons25l1-m | \
|
|
|
|
file2c 'const char termcap_cons25l1_m[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-04-27 13:50:35 +01: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 12:19:11 +01:00
|
|
|
testftp: ftp.c
|
|
|
|
cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c
|
|
|
|
|
1995-04-27 13:50:35 +01:00
|
|
|
.include <bsd.prog.mk>
|