objs.mk (732B)
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 # This makefile appends to the variable OBJS the platform-dependent 7 # object modules that will be part of the nspr20 library. 8 9 CSRCS = \ 10 unix.c \ 11 unix_errors.c \ 12 uxproces.c \ 13 uxrng.c \ 14 uxshm.c \ 15 uxwrap.c \ 16 $(NULL) 17 18 ifneq ($(USE_PTHREADS),1) 19 CSRCS += uxpoll.c 20 endif 21 22 ifeq ($(PTHREADS_USER),1) 23 CSRCS += pthreads_user.c 24 endif 25 26 CSRCS += $(PR_MD_CSRCS) 27 ASFILES += $(PR_MD_ASFILES) 28 29 OBJS += $(addprefix md/unix/$(OBJDIR)/,$(CSRCS:.c=.$(OBJ_SUFFIX))) \ 30 $(addprefix md/unix/$(OBJDIR)/,$(ASFILES:.s=.$(OBJ_SUFFIX)))