1# 2# This Source Code Form is subject to the terms of the Mozilla Public 3# License, v. 2.0. If a copy of the MPL was not distributed with this 4# file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 7#! gmake 8 9MOD_DEPTH = ../../../.. 10topsrcdir = @top_srcdir@ 11srcdir = @srcdir@ 12VPATH = @srcdir@ 13 14include $(MOD_DEPTH)/config/autoconf.mk 15 16include $(topsrcdir)/config/config.mk 17 18ifdef USE_PTHREADS 19CSRCS = \ 20 $(NULL) 21else 22CSRCS = \ 23 prucpu.c \ 24 prucv.c \ 25 prulock.c \ 26 pruthr.c \ 27 prustack.c \ 28 $(NULL) 29endif 30 31TARGETS = $(OBJS) 32 33INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private 34 35DEFINES += -D_NSPR_BUILD_ 36 37include $(topsrcdir)/config/rules.mk 38 39export:: $(TARGETS) 40 41