1#ident "@(#)1090-os-390-cc.rul 1.5 21/07/19 " 2########################################################################### 3# Written 2021 by J. Schilling 4########################################################################### 5# 6# Platform dependent MACROS for Z/OS 7# 8########################################################################### 9# Copyright (c) J. Schilling 10########################################################################### 11# The contents of this file are subject to the terms of the 12# Common Development and Distribution License, Version 1.0 only 13# (the "License"). You may not use this file except in compliance 14# with the License. 15# 16# See the file CDDL.Schily.txt in this distribution for details. 17# A copy of the CDDL is also available via the Internet at 18# http://www.opensource.org/licenses/cddl1.txt 19# 20# When distributing Covered Code, include this CDDL HEADER in each 21# file and include the License file CDDL.Schily.txt from this distribution. 22########################################################################### 23include $(SRCROOT)/$(RULESDIR)/rules.prg 24########################################################################### 25include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=ibm_os-390%).rul 26 27# 28# In order to make the valloc() prototype visible, we would need to 29# -D__UU -D__TARGET_LIB__=0x20000000 wich does not look like a good idea. 30# 31OSDEFS += -D_XOPEN_SOURCE=600 -DOS390 32 33KDEFINES= -DKERNEL -D_KERNEL 34 35LIB_SOCKET= 36LIB_MATH= -lm 37#LIB_KVM= -lkvm 38 39#RANLIB= $(NOECHO)echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib 40RANLIB= $(NOECHO)echo " ==> RANDOMIZING ARCHIVE \"$@\""; true 41 42LORDER= echo 43TSORT= cat # tsort exists, but there is no lorder 44 45AR= $(NOECHO)echo " ==> ARCHIVING \"$@\""; ar 46ARFLAGS= crs 47