File: IP_INSTRUCTIONS

package info (click to toggle)
vigor 0.016-24
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,936 kB
  • ctags: 3,945
  • sloc: ansic: 44,558; tcl: 1,544; sh: 1,469; makefile: 761; perl: 269; awk: 24; csh: 13
file content (41 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
1: Add:
	-DRUNNING_IP

   to the Makefile CFLAGS line and rebuild cl_main.o if it's already
   been compiled.

2: Add:

	IPOBJS=	ip_funcs.o ip_main.o ip_read.o ip_screen.o ip_term.o

   after the other object lists in the Makefile.

3: Add
	$(IPOBJS)

   to the end of the NVIALL= line in the Makefile.

4: Add:

	# Vi IP sources.
	ip_funcs.o: $(srcdir)/ip/ip_funcs.c
		$(CC) $(CFLAGS) $?
	ip_main.o: $(srcdir)/ip/ip_main.c
		$(CC) $(CFLAGS) $?
	ip_read.o: $(srcdir)/ip/ip_read.c
		$(CC) $(CFLAGS) $?
	ip_screen.o: $(srcdir)/ip/ip_screen.c
		$(CC) $(CFLAGS) $?
	ip_term.o: $(srcdir)/ip/ip_term.c
		$(CC) $(CFLAGS) $?

   at the end of the Makefile.

5: Remove cl_main.o if it exists, and make nvi.

6: Go to ip_cl and change the entries in the Makefile to reflect
   where the nvi binary was just built.

7: Build ip_cl.

8: Enter ip_cl and you should be running vi over a pipe.