Makefile.in (965B)
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 #! gmake 7 8 MOD_DEPTH = ../../.. 9 topsrcdir = @top_srcdir@ 10 srcdir = @srcdir@ 11 VPATH = @srcdir@ 12 13 include $(MOD_DEPTH)/config/autoconf.mk 14 15 include $(topsrcdir)/config/config.mk 16 17 ifdef USE_PTHREADS 18 DIRS = 19 else 20 ifdef USE_BTHREADS 21 DIRS = 22 else 23 DIRS = combined 24 endif 25 endif 26 27 ifdef USE_PTHREADS 28 CSRCS = \ 29 prcmon.c \ 30 prrwlock.c \ 31 prtpd.c \ 32 $(NULL) 33 else 34 ifdef USE_BTHREADS 35 CSRCS = \ 36 prcmon.c \ 37 prrwlock.c \ 38 prtpd.c \ 39 $(NULL) 40 else 41 CSRCS = \ 42 prcmon.c \ 43 prdump.c \ 44 prmon.c \ 45 prsem.c \ 46 prrwlock.c \ 47 prcthr.c \ 48 prtpd.c \ 49 $(NULL) 50 endif 51 endif 52 53 TARGETS = $(OBJS) 54 55 INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private 56 57 DEFINES += -D_NSPR_BUILD_ 58 59 include $(topsrcdir)/config/rules.mk 60 61 export:: $(TARGETS)