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 17ifeq ($(OS_TARGET), OS2) 18CSRCS = \ 19 os2misc.c \ 20 os2sem.c \ 21 os2inrval.c \ 22 os2gc.c \ 23 os2thred.c \ 24 os2io.c \ 25 os2cv.c \ 26 os2sock.c \ 27 os2_errors.c \ 28 os2poll.c \ 29 os2rng.c \ 30 $(NULL) 31endif 32 33ASFILES = os2emx.s os2vaclegacy.s 34 35TARGETS = $(OBJS) 36 37INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private 38 39DEFINES += -D_NSPR_BUILD_ 40 41include $(topsrcdir)/config/rules.mk 42 43export:: $(TARGETS) 44 45 46 47 48