summaryrefslogtreecommitdiff
path: root/x11-toolkits/iv/files/patch-ab
blob: 64d9ce8ea2a8304966eb46cfb2507835fd5959ed (plain) (blame)
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
*** makefile.old	Sat Sep 24 06:49:19 1994
--- makefile	Sat Sep 24 05:47:49 1994
***************
*** 0 ****
--- 1,21 ----
+ CPU=FREEBSD
+ 
+ all: src/Makefile
+ 	@$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)'
+ 
+ # simple but brutal. Will not install to multiple destinations simultaneously.
+ install: Makefile
+ 	@rm -rf installed ${DESTDIR}/usr/local/interviews
+ 	@mkdir -p ${DESTDIR}/usr/local/interviews
+ 	@ln -s ${DESTDIR}/usr/local/interviews installed
+ 	@$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@
+ 
+ src/Makefile: Makefile
+ 	@$(MAKE) Makefiles
+ 
+ Makefile:
+ 	imake -T "InterViews/template" -I./src/config \
+ 		-I/usr/X386/lib/X11/config -DTOPDIR=. -DCURDIR=.
+ 
+ .DEFAULT: src/Makefile
+ 	@$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@