1 # Makefile for Microsoft Visual C++ 7.0 (or compatible)
2 # Originally by Ulrik Petersen and Charlie Hull
3 # Modified by Mark Hammond.
6 # Will build a Win32 static library (non-debug) libexpand.lib
9 !INCLUDE ..\win32\config.mak
11 OUTDIR
=..\win32\
$(XAPIAN_DEBUG_OR_RELEASE
)\libs
14 ALL
: "$(OUTDIR)\libexpand.lib"
17 $(INTDIR
)\ortermlist.obj \
18 $(INTDIR
)\esetinternal.obj \
19 $(INTDIR
)\expandweight.obj
21 $(INTDIR
)\ortermlist.
cc \
22 $(INTDIR
)\esetinternal.
cc \
23 $(INTDIR
)\expandweight.
cc
26 -@erase
"$(OUTDIR)\libexpand.lib"
27 -@erase
"$(INTDIR)\*.pdb"
33 if not exist
"$(OUTDIR)/$(NULL)" mkdir
"$(OUTDIR)"
35 CPP_PROJ
=$(CPPFLAGS_EXTRA
) \
37 -Fo
"$(INTDIR)\\" -Tp
$(INPUTNAME
)
39 CPP_OBJS
=..\win32\
$(XAPIAN_DEBUG_OR_RELEASE
)
43 "$(OUTDIR)\LIBEXPAND.lib" : "$(OUTDIR)" $(DEF_FILE
) $(OBJS
)
45 $(LIB32_FLAGS
) /out
:"$(OUTDIR)\libexpand.lib" $(DEF_FLAGS
) $(OBJS
)
48 # inference rules, showing how to create one type of file from another with the same root name
49 {.
}.
cc{$(INTDIR
)}.obj
::
54 {.
}.
cc{$(CPP_SBRS
)}.sbr
::
59 # Calculate any header dependencies and automatically insert them into this file
62 $(CPP
) -showIncludes
$(CPP_PROJ
) $(SRCS
) >>deps.d
63 if exist
"..\win32\$(DEPEND)" ..\win32\
$(DEPEND
)
64 # DO NOT DELETE THIS LINE -- xapdep depends on it.