summaryrefslogtreecommitdiff
path: root/xc/test/xsuite/port/Makefile
blob: b24a0bdda62c72af4ba312c4bab451956a81543c (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
# $XConsortium$


CFILES = getcwd.c putenv.c strspn.c strtok.c waitpid.c signals.c \
	toupper.c strchr.c strftime.c getopt.c vsprintf.c strpbrk.c \
	memcmp.c

OFILES = getcwd.o putenv.o strspn.o strtok.o waitpid.o signals.o \
	toupper.o strchr.o strftime.o getopt.o vsprintf.o strpbrk.o \
	memcmp.o

all: libport.a

libport.a:$P $(OFILES)
	$(AR) $@ `$(LORDER) $(OFILES) | $(TSORT)`
	$(RANLIB) $@

clean:
	$(RM) $(OFILES) libport.a

install: all
	echo "portlib is used from this directory at present"

LINT:
	$(LINT) $(LINTFLAGS) $(CFILES) $(LINTTCM) $(LINTLIBS)