diff --git a/modules/src/object/proto.make b/modules/src/object/proto.make index 87ff55046..587f11063 100644 --- a/modules/src/object/proto.make +++ b/modules/src/object/proto.make @@ -2,7 +2,7 @@ SRC_DIR = $(SRC_HOME)/modules/src/object MOD_DIR = $(TARGET_HOME)/modules -INCLUDES = -I$(TARGET_HOME)/h -I$(SRC_DIR) +INCLUDES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/config -I$(SRC_DIR) CFLAGS = $(INCLUDES) $(COPTIONS) CFILES = $(SRC_DIR)/rd_arhdr.c $(SRC_DIR)/wr_arhdr.c \ diff --git a/modules/src/print/proto.make b/modules/src/print/proto.make index 887d7f504..d3a1da10f 100644 --- a/modules/src/print/proto.make +++ b/modules/src/print/proto.make @@ -5,7 +5,7 @@ SRC_DIR = $(SRC_HOME)/modules/src/print MOD_DIR = $(TARGET_HOME)/modules LIBPRINT = libprint.$(LIBSUF) -INCLUDES = -I$(SRC_DIR) -I$(MOD_LIB)/h +INCLUDES = -I$(SRC_DIR) -I$(MOD_DIR)/h CFLAGS = $(COPTIONS) $(INCLUDES) @@ -21,13 +21,13 @@ $(LIBPRINT): $(OBJ) $(RANLIB) $(LIBPRINT) install: all lintlib - cp $(LIBPRINT) $(MOD_LIB)/lib/$(LIBPRINT) - $(RANLIB) $(MOD_LIB)/lib/$(LIBPRINT) - cp $(SRC_DIR)/print.3 $(MOD_LIB)/man/print.3 + cp $(LIBPRINT) $(MOD_DIR)/lib/$(LIBPRINT) + $(RANLIB) $(MOD_DIR)/lib/$(LIBPRINT) + cp $(SRC_DIR)/print.3 $(MOD_DIR)/man/print.3 cmp: all - -cmp $(LIBPRINT) $(MOD_LIB)/lib/$(LIBPRINT) - -cmp $(SRC_DIR)/print.3 $(MOD_LIB)/man/print.3 + -cmp $(LIBPRINT) $(MOD_DIR)/lib/$(LIBPRINT) + -cmp $(SRC_DIR)/print.3 $(MOD_DIR)/man/print.3 pr: @pr $(SRC_DIR)/proto.make $(SRC) @@ -39,7 +39,7 @@ clean: rm -f *.$(SUF) $(LIBPRINT) lintlib: - $(MK_LINT_LIB) print $(MOD_LIB)/lib $(INCLUDES) $(SRC) + $(MK_LINT_LIB) print $(MOD_DIR)/lib $(INCLUDES) $(SRC) doprnt.$(SUF): $(SRC_DIR)/param.h $(SRC_DIR)/doprnt.c $(CC) -c $(CFLAGS) $(SRC_DIR)/doprnt.c