Files
Arquivotheca.Solaris-2.5/cmd/fs.d/cachefs/Makefile.cachefs
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

46 lines
912 B
Makefile
Executable File

#
#ident "@(#)Makefile.cachefs 1.6 95/07/26 SMI"
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
CACHEFSDIR= $(SRC)/cmd/fs.d/$(FSTYPE)/common
#
# This next line is only enabled if you are NOT doing a RELEASE_BUILD. It
# causes changes to header files in $(SRC)/uts/common to cause a rebuild.
#
#$(NOT_RELEASE_BUILD)CPPFLAGS = $(CPPFLAGS.master)
#
# The next line can be uncommented to turn on debugging when not doing a
# RELEASE_BUILD.
#
#$(NOT_RELEASE_BUILD)CFLAGS += -g
#
# Uncomment the next line if you want ZIP extensions.
#
#$(NOT_RELEASE_BUILD)CPPFLAGS += -DZIP
OBJS= $(PROGOBJS)
SRCS= $(OBJS:%.o=%.c)
LIBRARY= libcachefs.a
CFSLIB= $(CACHEFSDIR)/$(LIBRARY)
LDLIBS += $(CFSLIB) -lintl -lnsl
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
$(CFSLIB):
cd $(@D); pwd; $(MAKE) $(TARGET);
@pwd
lint: lint_SRCS
clean:
$(RM) $(PROGOBJS) $(CLEANFILES)
FRC: