michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # This makefile appends to the variable OBJS the platform-dependent michael@0: # object modules that will be part of the nspr20 library. michael@0: michael@0: CSRCS = \ michael@0: unix.c \ michael@0: unix_errors.c \ michael@0: uxproces.c \ michael@0: uxrng.c \ michael@0: uxshm.c \ michael@0: uxwrap.c \ michael@0: $(NULL) michael@0: michael@0: ifneq ($(USE_PTHREADS),1) michael@0: CSRCS += uxpoll.c michael@0: endif michael@0: michael@0: ifeq ($(PTHREADS_USER),1) michael@0: CSRCS += pthreads_user.c michael@0: endif michael@0: michael@0: CSRCS += $(PR_MD_CSRCS) michael@0: ASFILES += $(PR_MD_ASFILES) michael@0: michael@0: OBJS += $(addprefix md/unix/$(OBJDIR)/,$(CSRCS:.c=.$(OBJ_SUFFIX))) \ michael@0: $(addprefix md/unix/$(OBJDIR)/,$(ASFILES:.s=.$(OBJ_SUFFIX))) michael@0: