Files
Arquivotheca.SunOS-4.1.4/lib/libc/compat/sys5/Makefile
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

37 lines
653 B
Makefile

#
# @(#)Makefile 1.1 94/10/31 SMI
#
# Copyright (c) 1987 by Sun Microsystems, Inc.
#
all: xall
include ../../Makefile.arch
include ../../Makefile.master
STDSRC = nice.c rand.c times.c
# these should just be pitched, but in the interest of compatibility...
TRASHSRC = getpw.c
SRCS = $(STDSRC) $(TRASHSRC)
OBJS = $(SRCS:%.c=$(VARIANT)/%.o)
HDRS = epoch.h
.KEEP_STATE:
xall: $$(LIBS)
$(LIBS) : symlink $(HDRS) $$(VARIANT) $$(OBJS)
clean: master.clean
rm -f mkepoch epoch.h a.out
epoch.h: mkepoch
./mkepoch >epoch.h
mkepoch: mkepoch.c
$(CC) -USUNPRO_DEPENDENCIES -O -o mkepoch mkepoch.c
symlink:
rm -rf strings;\
ln -s ../../strings strings