summaryrefslogtreecommitdiffstats
path: root/client/Makefile
blob: c6fc2052c2f1ae7beda7079f00f34baa0393c444 (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
LIBOBJS= nastapi.o thread.o

all-lib:
	@rm -f *.o
	@make "THREADFLAGS=-UTHREADSAFECLIENT" libnast.a
	@rm -f *.o
	@make "THREADFLAGS=-DTHREADSAFECLIENT" libnast_r.a

libnast.a: ${LIBOBJS}
	ar r $@ ${LIBOBJS}
	ranlib $@

libnast_r.a: ${LIBOBJS}
	ar r $@ ${LIBOBJS}
	ranlib $@

#
# Dependencies
#
nastapi.o:	../include/nastd.h ../include/nastipc.h thread.h
thread.o:	thread.h

MKDIR=	../Makefiles
include ${MKDIR}/build