From: ceriel Date: Wed, 9 Oct 1991 19:02:55 +0000 (+0000) Subject: do not do lintlib installation on 'make install', also make sure X-Git-Tag: release-5-5~752 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=18897487a9a842b172bb075396eaaa7e8f17746d;p=ack.git do not do lintlib installation on 'make install', also make sure that every proto.make has a lintlib entry --- diff --git a/modules/src/alloc/proto.make b/modules/src/alloc/proto.make index 282dc629f..da3b06d74 100644 --- a/modules/src/alloc/proto.make +++ b/modules/src/alloc/proto.make @@ -33,7 +33,7 @@ $(LIBALLOC): $(OBJECTS) $(AR) r $(LIBALLOC) $(OBJECTS) $(RANLIB) $(LIBALLOC) -install: all lintlib +install: all cp $(LIBALLOC) $(MOD_DIR)/lib/$(LIBALLOC) $(RANLIB) $(MOD_DIR)/lib/$(LIBALLOC) cp $(SRC_DIR)/alloc.3 $(MOD_DIR)/man/alloc.3 diff --git a/modules/src/assert/proto.make b/modules/src/assert/proto.make index cdfb24fc3..13c5255db 100644 --- a/modules/src/assert/proto.make +++ b/modules/src/assert/proto.make @@ -13,7 +13,7 @@ libassert.$(LIBSUF): BadAssert.$(SUF) $(AR) r libassert.$(LIBSUF) BadAssert.$(SUF) $(RANLIB) libassert.$(LIBSUF) -install: all lintlib +install: all cp libassert.$(LIBSUF) $(MOD_DIR)/lib/libassert.$(LIBSUF) $(RANLIB) $(MOD_DIR)/lib/libassert.$(LIBSUF) cp $(SRC_DIR)/assert.3 $(MOD_DIR)/man/assert.3 diff --git a/modules/src/em_code/proto.make b/modules/src/em_code/proto.make index 2de4d341d..3d09f3325 100644 --- a/modules/src/em_code/proto.make +++ b/modules/src/em_code/proto.make @@ -63,7 +63,7 @@ OBS = failed.$(SUF) insert.$(SUF) internerr.$(SUF) getid.$(SUF) all: em_codeEK.h libeme.$(LIBSUF) libemk.$(LIBSUF) em_code.3 -install: all lintlib +install: all cp libeme.$(LIBSUF) $(MOD_DIR)/lib/libeme.$(LIBSUF) $(RANLIB) $(MOD_DIR)/lib/libeme.$(LIBSUF) cp libemk.$(LIBSUF) $(MOD_DIR)/lib/libemk.$(LIBSUF) diff --git a/modules/src/em_mes/proto.make b/modules/src/em_mes/proto.make index 6a86a7e03..d5a5af135 100644 --- a/modules/src/em_mes/proto.make +++ b/modules/src/em_mes/proto.make @@ -44,7 +44,7 @@ libem_mesCE.$(LIBSUF): $(RANLIB) libem_mesCE.$(LIBSUF) rm -f *.$(SUF) -install: all lintlib +install: all cp libem_mes.$(LIBSUF) $(MOD_DIR)/lib/libem_mes.$(LIBSUF) cp libem_mesCE.$(LIBSUF) $(MOD_DIR)/lib/libem_mesCE.$(LIBSUF) cp libem_mesO.$(LIBSUF) $(MOD_DIR)/lib/libem_mesO.$(LIBSUF) diff --git a/modules/src/em_opt/proto.make b/modules/src/em_opt/proto.make index 23ac2ed29..a73f53ab4 100644 --- a/modules/src/em_opt/proto.make +++ b/modules/src/em_opt/proto.make @@ -59,7 +59,7 @@ GENFILES = Lpars.h Lpars.c parserdummy parser.c syntax.c \ all: em_nopt $(LIBOPT) $(LIBCEOPT) -install: all lintlib +install: all cp $(LIBOPT) $(MOD_DIR)/lib/$(LIBOPT) $(RANLIB) $(MOD_DIR)/lib/$(LIBOPT) cp $(LIBCEOPT) $(MOD_DIR)/lib/$(LIBCEOPT) diff --git a/modules/src/flt_arith/proto.make b/modules/src/flt_arith/proto.make index 99fb56f13..a93732c98 100644 --- a/modules/src/flt_arith/proto.make +++ b/modules/src/flt_arith/proto.make @@ -42,7 +42,7 @@ $(LIBFLT): $(OBJ) $(AR) r $(LIBFLT) $(OBJ) $(RANLIB) $(LIBFLT) -install: all lintlib +install: all cp $(LIBFLT) $(MOD_DIR)/lib/$(LIBFLT) $(RANLIB) $(MOD_DIR)/lib/$(LIBFLT) cp $(SRC_DIR)/flt_arith.h $(MOD_DIR)/h/flt_arith.h diff --git a/modules/src/idf/proto.make b/modules/src/idf/proto.make index 6c5cf4c2e..0e10ebddb 100644 --- a/modules/src/idf/proto.make +++ b/modules/src/idf/proto.make @@ -24,3 +24,4 @@ opr: make pr | opr clean: +lintlib: diff --git a/modules/src/input/proto.make b/modules/src/input/proto.make index 8bdb43f61..611e7c80f 100644 --- a/modules/src/input/proto.make +++ b/modules/src/input/proto.make @@ -17,7 +17,7 @@ libinput.$(LIBSUF): $(OBJECTS) $(AR) r libinput.$(LIBSUF) $(OBJECTS) $(RANLIB) libinput.$(LIBSUF) -install: all lintlib +install: all cp libinput.$(LIBSUF) $(MOD_DIR)/lib/libinput.$(LIBSUF) $(RANLIB) $(MOD_DIR)/lib/libinput.$(LIBSUF) cp $(SRC_DIR)/input.3 $(MOD_DIR)/man/input.3 diff --git a/modules/src/malloc/proto.make b/modules/src/malloc/proto.make index a923dd9eb..7f235d2dc 100644 --- a/modules/src/malloc/proto.make +++ b/modules/src/malloc/proto.make @@ -48,3 +48,5 @@ getsize: $(SRC_DIR)/getsize.c malloc.$(SUF): malloc.c $(CC) -c $(CFLAGS) malloc.c # to avoid options that the SUN make adds. + +lintlib: diff --git a/modules/src/object/proto.make b/modules/src/object/proto.make index e44d61567..148aa2256 100644 --- a/modules/src/object/proto.make +++ b/modules/src/object/proto.make @@ -21,7 +21,7 @@ OFILES = rd.$(SUF) rd_arhdr.$(SUF) rd_int2.$(SUF) rd_long.$(SUF) \ all: libobject.$(LIBSUF) -install: all lintlib +install: all cp libobject.$(LIBSUF) $(MOD_DIR)/lib/libobject.$(LIBSUF) $(RANLIB) $(MOD_DIR)/lib/libobject.$(LIBSUF) cp $(SRC_DIR)/object.3 $(MOD_DIR)/man/object.3 diff --git a/modules/src/print/proto.make b/modules/src/print/proto.make index d3a1da10f..9fabe7b36 100644 --- a/modules/src/print/proto.make +++ b/modules/src/print/proto.make @@ -20,7 +20,7 @@ $(LIBPRINT): $(OBJ) $(AR) r $(LIBPRINT) $(OBJ) $(RANLIB) $(LIBPRINT) -install: all lintlib +install: all cp $(LIBPRINT) $(MOD_DIR)/lib/$(LIBPRINT) $(RANLIB) $(MOD_DIR)/lib/$(LIBPRINT) cp $(SRC_DIR)/print.3 $(MOD_DIR)/man/print.3 diff --git a/modules/src/read_em/proto.make b/modules/src/read_em/proto.make index fc36cd31e..f5483a423 100644 --- a/modules/src/read_em/proto.make +++ b/modules/src/read_em/proto.make @@ -34,7 +34,7 @@ K_OFILES = read_emk.$(SUF) makecalls.$(SUF) EM_vars.$(SUF) all: $(TARGETS) -install: all lintlib +install: all cp $(SRC_DIR)/em_comp.h $(MOD_DIR)/h/em_comp.h cp $(SRC_DIR)/read_em.3 $(MOD_DIR)/man/read_em.3 cp libread_emk.$(LIBSUF) $(MOD_DIR)/lib/libread_emk.$(LIBSUF) diff --git a/modules/src/string/proto.make b/modules/src/string/proto.make index 0303520f2..fb843f957 100644 --- a/modules/src/string/proto.make +++ b/modules/src/string/proto.make @@ -29,7 +29,7 @@ $(LIBSTRING): $(OBJ) $(AR) r $(LIBSTRING) $(OBJ) $(RANLIB) $(LIBSTRING) -install: all lintlib +install: all cp $(LIBSTRING) $(MOD_DIR)/lib/$(LIBSTRING) $(RANLIB) $(MOD_DIR)/lib/$(LIBSTRING) cp $(SRC_DIR)/string.3 $(MOD_DIR)/man/string.3 diff --git a/modules/src/system/proto.make b/modules/src/system/proto.make index b58a6cccc..4cf6cd4c5 100644 --- a/modules/src/system/proto.make +++ b/modules/src/system/proto.make @@ -28,7 +28,7 @@ $(LIBSYS): $(OBJ) $(AR) r $(LIBSYS) $(OBJ) $(RANLIB) $(LIBSYS) -install: all lintlib +install: all cp $(LIBSYS) $(MOD_DIR)/lib/$(LIBSYS) $(RANLIB) $(MOD_DIR)/lib/$(LIBSYS) cp $(SRC_DIR)/system.3 $(MOD_DIR)/man/system.3