1# *************************************************************************** 2# MOD_RULES1.msvc (!INCLUDE ed by "makefile-dllmod.msvc") 3# -------------------------------------------------------------------------- 4# (c) Copyright Roger Bowler, 2005-2007 5# -------------------------------------------------------------------------- 6# $Id$ 7# 8# Prerequisite hercules build rules... (precompiled header, etc...) 9# 10# 11# CHANGE HISTORY 12# $Log$ 13# DD/MM/YY Description 14# 26/12/06 Fish: created by extraction from existing makefile-dllmod.msvc 15# 16# *************************************************************************** 17 18$(O)hercver.res: hercver.rc 19 $(rc) $(rcflags) $(rcvars) -fo $(O)hercver.res hercver.rc 20 21$(O)build_pch.pch: build_pch.c 22 $(cc) $(cdebug) $(cflags) /Fp"$(OBJDIR)\\build_pch.pch" /Yc"hstdinc.h" $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" $** 23 24!IFNDEF NOCRYPTO 25{crypto}.c{$(OBJDIR)}.obj:: 26 $(cc) $(cdebug) $(cflags) /Icrypto /I. /Fp"$(OBJDIR)\\build_pch.pch" /Yu"hstdinc.h" $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" $< 27 28!ENDIF 29 30{decNumber}.c{$(OBJDIR)}.obj:: 31 $(cc) $(cdebug) $(cflags) /IdecNumber /I. $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" $< 32 33$(O)dfp.obj: dfp.c 34 $(cc) $(cdebug) $(cflags) /IdecNumber /I. /Fp"$(OBJDIR)\\build_pch.pch" /Yu"hstdinc.h" $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" dfp.c 35 36$(O)pfpo.obj: pfpo.c 37 $(cc) $(cdebug) $(cflags) /IdecNumber /I. /Fp"$(OBJDIR)\\build_pch.pch" /Yu"hstdinc.h" $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" pfpo.c 38 39$(O)decNumber.res: decNumber\decNumber.rc 40 $(rc) $(rcflags) $(rcvars) -i decNumber -fo $(O)decNumber.res decNumber\decNumber.rc 41 42{softfloat}.c{$(OBJDIR)}.obj:: 43 $(cc) $(cdebug) $(cflags) /Isoftfloat /I. $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" $< 44 45$(O)ieee.obj: ieee.c 46 $(cc) $(cdebug) $(cflags) /Isoftfloat /I. /Fp"$(OBJDIR)\\build_pch.pch" /Yu"hstdinc.h" $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" ieee.c 47 48$(O)softfloat.res: softfloat\softfloat.rc 49 $(rc) $(rcflags) $(rcvars) -i softfloat -fo $(O)softfloat.res softfloat\softfloat.rc 50 51# 52# No precompiled headers for these ones.. Sorry! 53# 54$(O)getopt.obj: getopt.c 55 $(cc) $(cdebug) $(cflags) $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" getopt.c 56 57$(O)herclin.obj: herclin.c 58 $(cc) $(cdebug) $(cflags) $(cvarsdll) /Fo"$(OBJDIR)\\" /Fd"$(OBJDIR)\\" herclin.c 59 60# NOTE: to be safe, since this member contains build rules, we need to 61# make sure there's always a blank line following the last build rule 62# in the member so that nmake doesn't complain or otherwise treat the 63# statements immediately following the original !INCLUDE statement as 64# part of the build rule actions. Thus the purpose of the comments you 65# are now reading as the very last few lines in every build rule member. 66