windows dep. stuff

This commit is contained in:
spider 1998-05-27 02:14:26 +00:00
parent b5140d2751
commit a998434513
3 changed files with 24 additions and 0 deletions

View File

@ -30,6 +30,8 @@ CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
RANLIB = echo
JAR = /bin/jar
TAR = /bin/tar
#
# For purify
#

View File

@ -23,6 +23,7 @@
# Double-Colon rules for utilizing the binary release model. #
#######################################################################
all:: export private_export libs program install
ifeq ($(AUTOCLEAN),1)
@ -113,6 +114,9 @@ realclean clobber_all::
rm -rf $(wildcard *.OBJ) dist $(ALL_TRASH)
+$(LOOP_OVER_DIRS)
depend::
+$(LOOP_OVER_DIRS)
#ifdef ALL_PLATFORMS
#all_platforms:: $(NFSPWD)
# @d=`$(NFSPWD)`; \
@ -780,6 +784,13 @@ dependclean::
else
depend::
ifdef DODEPEND
@$(MAKE_OBJDIR)
$(GDEPTH)/gconfig/makedep.exe -s -O $(OBJDIR)/make.dp $(INCLUDES) $(OBJS)
endif
-include $(OBJDIR)/make.dp
endif
################################################################################

View File

@ -139,6 +139,8 @@ ifdef PROGRAM
PROGRAM := $(addprefix $(OBJDIR)/, $(PROGRAM)$(PROG_SUFFIX))
endif
MAKEDEPFILE := $(addprefix $(OBJDIR)/, make.dep)
#ifdef RCFILE
# RCFILE := $(addprefix $(OBJDIR)/, $(RCFILE)$(RC_SUFFIX))
# endif
@ -197,6 +199,15 @@ ifndef TARGETS
endif
endif
ifdef CSRCS
DEPENDFILES += $(OBJS)
DODEPEND=1
endif
ifdef CPPSRCS
DEPENDFILES += $(OBJS)
DODEPEND=1
endif
ifndef OBJS
OBJS := $(JRI_STUB_CFILES) $(addsuffix $(OBJ_SUFFIX), $(JMC_GEN)) $(CSRCS:.c=$(OBJ_SUFFIX)) \
$(CPPSRCS:.cpp=$(OBJ_SUFFIX)) $(ASFILES:.s=$(OBJ_SUFFIX))