summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/decstation/Makefile.am
blob: ad289976f53516908c23a171eb9dc994d6c35e2b (plain)
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
44
45
## Process this file with automake to generate Makefile.in

AUTOMAKE_OPTIONS = cygnus

INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)

noinst_LIBRARIES = lib.a

COPYOFILES = \
	read.o \
	open.o \
	_exit.o \
	write.o \
	lseek.o \
	close.o \
	sbrk.o \
	cerror.o \
	fork.o \
	isatty.o \
	ioctl.o \
	getpid.o \
	time.o \
	kill.o \
	wait.o \
	execve.o \
	gettimeofday.o \
	link.o \
	unlink.o \
	fstat.o \
	times.o  \
	getrusage.o  

lib_a_SOURCES = _main.c
lib_a_LIBADD = $(COPYOFILES)

$(COPYOFILES):
	ar x /lib/libc.a $(COPYOFILES) 

all: crt0.o

crt0.o:
	cp /lib/crt0.o crt0.o

ACLOCAL_AMFLAGS = -I ../../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host