File: Makefile

package info (click to toggle)
tkisem 4.5.12-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 1,372
  • sloc: cpp: 4,844; tcl: 3,047; asm: 1,991; makefile: 335; ansic: 269; sh: 155
file content (43 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download
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
42
43
###############################################################################
# Makefile - makefile for generic portion of tkisem
#
# $Id: Makefile 1.1 Sat, 13 Sep 1997 12:04:11 -0600 maccabe $
###############################################################################

HOME=..
include $(HOME)/build/make.config

all:	isem_rom

clean:	
	rm -f *~

realclean:	
	rm -f *~ isem_rom *.o

# The cleaned-up isem_rom/isem_vec combo requires that
# the trap table get linked at a page boundary, but there
# seems to be no way to do that with just command line
# options in GNU ld.  So we're going with a slightly
# a customized ld script instead.  See discussion in
# isem_ld.txt.
isem_rom:	isem_rom.o isem_vec.o isem_ld.txt
	$(ISEM_LD) $(ISEM_LD_FLAGS) -T isem_ld.txt -o isem_rom isem_rom.o isem_vec.o

depend:
	@echo "Dependencies built in" 

SUFFIXES: .o .s

.s.o:
	$(ISEM_AS) $< -o $@

install:	isem_rom
	$(INSTALL) isem_rom $(LIBDIR)
	$(INSTALL) isem_rom.s $(LIBDIR)
	$(INSTALL) isem_vec.s $(LIBDIR)
	$(INSTALL) isem_com.tcl $(LIBDIR)
	$(INSTALL) isemhelp.txt $(LIBDIR)
	$(INSTALL) tkisem $(BINDIR)
	# $(INSTALL) tclisem $(BINDIR)  #tclisem still not ready for prime time..
	$(INSTALL) gxisem $(BINDIR)