Files
Arquivotheca.Solaris-2.5/lib/libpthread/sparc/Makefile
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

42 lines
769 B
Makefile
Executable File

#
#ident " @(#)Makefile 1.4 94/11/28 SMI"
#
# Copyright (c) 1994 by Sun Microsystems, Inc.
#
LIBRARY= libpthread.a
VERS= .1
include ../../Makefile.lib
COMOBJS= pthread.o sys.o thr.o
OBJECTS= $(COMOBJS)
SRCS= $(COMOBJS:%.o=../common/%.c)
# -F option normally consumed by the cc driver, so use the -W option of
# the cc driver to make sure this makes it to ld.
CFLAGS += -K pic
DYNFLAGS += -W l,-Flibthread.so.1
ROOTLINTLIB= $(LINTLIB:%=$(ROOTLIBDIR)/%)
CLEANFILES += $(LINTOUT)
CLOBBERFILES += $(DYNLIB) $(LINTLIB)
pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
.KEEP_STATE:
all: $(DYNLIB) $(LINTLIB)
install: all $(ROOTDYNLIB) $(ROOTLINKS) $(ROOTLINTLIB)
lint: $(LINTLIB)
#include library targets
include ../../Makefile.targ