📄 makelocal.mk
字号:
# Makelocal.mk# sys/dist/setld.d/c.d Makefile## "@(#)Makelocal.mk 4.1 (ULTRIX) 7/2/90"## 000 03-mar-1989 ccb# New.## 001 01-may-1989 ccb# add PermString.o to libsetld.a## 002 19-jun-1989 ccb# clean up module interdependencies to enhance the ability# to build correctly during development## 003 24-jul-1989 ccb# add lint target for "make lint", creates and installs# llib-lsetld.ln for use linting the utility suiteinclude $(GMAKEVARS)LINT= lintLINTFLAGS= -abhDESTLIB= $(DESTROOT)/usr/libDESTLINT= $(DESTLIB)/lintHDRDIR= ../../h.dSRCFILES= ../Assign.c ../Code.c ../Ctrl.c ../Date.c ../Deps.c ../Flags.c \ ../Name.c ../Path.c ../PermString.c ../Prod.c ../String.c \ ../emalloc.c ../getsum.c ../inv.c ../list.c ../mi.c ../verify.cOBJFILES= Assign.o Code.o Ctrl.o Date.o Deps.o Flags.o \ Name.o Path.o PermString.o \ Prod.o String.o emalloc.o getsum.o inv.o list.o mi.o verify.oLINTLIB= llib-lsetld.lnDESTLIST= $(DESTLIB) $(DESTLINT)CINCLUDES= -I. -I.. -I$(SRCROOT)/usr/include -I$(HDRDIR)ARFILE= libsetld.aOBJS= $(OBJFILES)all: $(ARFILE)lint: $(LINTLIB)install: $(ARFILE) $(LINTLIB) # install ARFILE $(ECHO) "$(INSTALL) -c -m 644 $$i $(DESTLIB)/$$i" $(INSTALL) -c -m 644 $(ARFILE) $(DESTLIB)/$(ARFILE) $(INSTALL) -c -m 644 $(LINTLIB) $(DESTLINT)/$(LINTLIB)$(LINTLIB): $(HDRDIR)/setld.h $(HDRDIR)/list.h $(SRCFILES) $(ECHO) "$(LINT) $(LINTFLAGS) -Csetld $(CINCLUDES) $(SRCFILES)" $(LINT) $(LINTFLAGS) -Csetld $(CINCLUDES) $(SRCFILES)# Individual module dependencies. These are written so that modules in# the library are rebuilt if any of the routines called from within# them are rebuilt. This is done to force a relink of the correct programs# in ../c.d/Makelocal.mk. The programs there have dependency rules which# are written based on direct call knowledge only. The rules here allow# information about who calls who in the library to be hidden from the# application programs but still cause the application makefiles to do# the right thing.## The module dependencies were derived by manually inspecting the source# for header file dependencies and by using cflow(1) to determine calling# relationships.Assign.o: Assign.c $(HDRDIR)/setld.hCode.o: Code.c $(HDRDIR)/setld.hCtrl.o: Ctrl.c $(HDRDIR)/list.h $(HDRDIR)/setld.h Assign.c Deps.c \ Flags.c list.c Name.c Path.c String.cDate.o: Date.c $(HDRDIR)/setld.hDeps.o: Deps.c $(HDRDIR)/list.h $(HDRDIR)/setld.h list.c Name.c \ String.cFlags.o: Flags.c $(HDRDIR)/setld.hName.o: Name.c $(HDRDIR)/setld.hPath.o: Path.c $(HDRDIR)/setld.hPermString.o: PermString.cProd.o: Prod.c $(HDRDIR)/list.h $(HDRDIR)/setld.h Ctrl.c Code.c \ Name.c Prod.c list.cString.o: String.c $(HDRDIR)/setld.hemalloc.o: emalloc.cgetsum.o: getsum.cinv.o: inv.c $(HDRDIR)/list.h $(HDRDIR)/setld.h Code.c list.clist.o: list.c $(HDRDIR)/list.hmi.o: mi.c $(HDRDIR)/setld.hverify.o: verify.c $(HDRDIR)/setld.h getsum.c inv.cinclude $(GMAKERULES)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -