Files
harbour-core/harbour/contrib/hbzlib/makefile.vc
Enrico Maria Giordano e73934158e 2007-06-02 12:30 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it)
* harbour/contrib/hbzlib
     * replaced with the one borrowed from xharbour, source modifications by Przemek

  * harbour/contrib/hbzlib/makefile
  * harbour/contrib/hbzlib/makefile.bc
  * harbour/contrib/hbzlib/makefile.vc
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/include/zipfilemapping.h
  * harbour/contrib/hbzlib/include/zipautobuffer.h
  * harbour/contrib/hbzlib/include/hbzip2.h
    * changed to make contrib/hbzlib working with harbour

  + harbour/contrib/hbzlib/hbcomprs.c
  + harbour/contrib/hbzlib/include/hbcomprs.h
    + added to make contrib/hbzlib working with harbour

  + harbour/contrib/hbzlib/doc
  + harbour/contrib/hbzlib/doc/zipnew.txt
    + added documentation borrowed from xharbour/doc/en

  - harbour/contrib/hbzlib/BccW32.cfg
    - removed unuseful file
2007-06-02 13:32:07 +00:00

75 lines
1.6 KiB
Plaintext

#
# $Id$
#
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
OUTDIR=..\..\lib\vc
INTDIR=obj\vc
ALL : "$(OUTDIR)\hbzip.lib"
CLEAN :
-@if exist "$(INTDIR)\*.obj" del "$(INTDIR)\*.obj" >nul
-@if exist "$(INTDIR)\*.c" del "$(INTDIR)\*.c" >nul
-@if exist "$(OUTDIR)\hbzip.lib" del "$(OUTDIR)\hbzip.lib" >nul
"$(OUTDIR)" :
@if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
"$(INTDIR)" :
@if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
CPP=cl.exe
CPP_PROJ=-Ogt2yb1p -FD -GA -GB -Gs -TP -W3 /nologo /GX /ML /I "..\..\include" /Iinclude\
/DWIN32 /D_WIN32 /DNDEBUG /D_MBCS /D_LIB\
/Fp"$(INTDIR)\hbzip.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\
/FD /c $(CFLAGS)
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
LIB32=link.exe -lib
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\hbzip.lib"
LIB32_OBJS= \
"$(INTDIR)\stdafx.obj" \
"$(INTDIR)\zip.obj" \
"$(INTDIR)\hbcomprs.obj" \
"$(INTDIR)\ziparchive.obj" \
"$(INTDIR)\zipautobuffer.obj" \
"$(INTDIR)\zipcentraldir.obj" \
"$(INTDIR)\zipcomp.obj" \
"$(INTDIR)\zipcompatibility.obj" \
"$(INTDIR)\zipexception.obj" \
"$(INTDIR)\zipfile.obj" \
"$(INTDIR)\zipfileheader.obj" \
"$(INTDIR)\zipmemfile.obj" \
"$(INTDIR)\zipnew.obj" \
"$(INTDIR)\zippathcomponent.obj" \
"$(INTDIR)\zipplatform.obj" \
"$(INTDIR)\zipplatformcomm.obj" \
"$(INTDIR)\zipstorage.obj" \
"$(INTDIR)\ZipString.obj"
"$(OUTDIR)\hbzip.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
$(LIB32) @<<
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
<<