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 8MOD_DEPTH = ../../.. 9topsrcdir = @top_srcdir@ 10srcdir = @srcdir@ 11VPATH = @srcdir@ 12 13include $(MOD_DEPTH)/config/autoconf.mk 14 15include $(topsrcdir)/config/config.mk 16 17CSRCS = \ 18 prfdcach.c \ 19 prmwait.c \ 20 priometh.c \ 21 pripv6.c \ 22 prmapopt.c \ 23 prlayer.c \ 24 prlog.c \ 25 prmmap.c \ 26 prpolevt.c \ 27 prprf.c \ 28 prscanf.c \ 29 prstdio.c \ 30 $(NULL) 31 32ifndef USE_PTHREADS 33 CSRCS += \ 34 prdir.c \ 35 prfile.c \ 36 prio.c \ 37 prsocket.c \ 38 $(NULL) 39endif 40 41TARGETS = $(OBJS) 42 43INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private 44 45DEFINES += -D_NSPR_BUILD_ 46 47include $(topsrcdir)/config/rules.mk 48 49export:: $(TARGETS) 50 51