2
0

Makefile.w95 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.w95,v 1.2 1994/11/28
  2. 06:13:31 sam Exp $
  3. #
  4. # Tag Image File Format Library
  5. #
  6. # Copyright (c) 1988, 1989, 1990, 1991, 1992 Sam Leffler
  7. # Copyright (c) 1991, 1992 Silicon Graphics, Inc.
  8. #
  9. # Permission to use, copy, modify, distribute, and sell this software and
  10. # its documentation for any purpose is hereby granted without fee, provided
  11. # that (i) the above copyright notices and this permission notice appear in
  12. # all copies of the software and related documentation, and (ii) the names of
  13. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  14. # publicity relating to the software without the specific, prior written
  15. # permission of Sam Leffler and Silicon Graphics.
  16. #
  17. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  18. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  19. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  20. #
  21. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  22. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  23. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  25. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  26. # OF THIS SOFTWARE.
  27. #
  28. # This Makefile is for use with microsoft nmake version 1.50 and
  29. # Microsoft 32-bit C/C++ Compiler 9.00
  30. #
  31. DESTDIR=.
  32. #
  33. IPATH= -I.
  34. CONF_LIBRARY=$(NULL)
  35. COPTS= -Oxa -DBSDTYPES -Zd
  36. CFLAGS= $(COPTS) $(CONF_LIBRARY)
  37. #
  38. INCS= tiff.h tiffio.h
  39. SRCS= tif_aux.c \
  40. tif_close.c \
  41. tif_codec.c \
  42. tif_compress.c \
  43. tif_dir.c \
  44. tif_dirinfo.c \
  45. tif_dirread.c \
  46. tif_dirwrite.c \
  47. tif_dumpmode.c \
  48. tif_error.c \
  49. tif_getimage.c \
  50. tif_jpeg.c \
  51. tif_flush.c \
  52. tif_lzw.c \
  53. tif_next.c \
  54. tif_open.c \
  55. tif_packbits.c \
  56. tif_predict \
  57. tif_print.c \
  58. tif_read.c \
  59. tif_swab.c \
  60. tif_strip.c \
  61. tif_thunder.c \
  62. tif_tile.c \
  63. tif_version.c \
  64. tif_warning.c \
  65. tif_write.c \
  66. tif_win32.c
  67. OBJS= tif_aux.obj \
  68. tif_close.obj \
  69. tif_codec.obj \
  70. tif_compress.obj \
  71. tif_dir.obj \
  72. tif_dirinfo.obj \
  73. tif_dirread.obj \
  74. tif_dirwrite.obj \
  75. tif_dumpmode.obj \
  76. tif_error.obj \
  77. tif_getimage.obj \
  78. tif_jpeg.obj \
  79. tif_flush.obj \
  80. tif_lzw.obj \
  81. tif_next.obj \
  82. tif_open.obj \
  83. tif_packbits.obj \
  84. tif_predict.obj \
  85. tif_print.obj \
  86. tif_read.obj \
  87. tif_swab.obj \
  88. tif_strip.obj \
  89. tif_thunder.obj \
  90. tif_tile.obj \
  91. tif_version.obj \
  92. tif_warning.obj \
  93. tif_write.obj \
  94. tif_win32.obj
  95. ALL= libtiff.lib
  96. all: $(ALL)
  97. %.obj : %.c
  98. $(CC) $(CFLAGS) -c $*.c
  99. #.INCLUDE .IGNORE : depend
  100. libtiff.lib: $(OBJS)
  101. - del libtiff.lib
  102. lib /OUT:libtiff.lib $(OBJS)
  103. #To include fax3 support, you need to modify mkg3states.c so it could run
  104. #under windows 95 or NT. This application make the file g3state.h.
  105. #after that, you have to add to the build script : tif_fax3.c and tif_fax3.obj
  106. #and define CCITT_SUPPORT in the file tifconf.h
  107. #$(OBJS): tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
  108. #tif_fax3.obj: tif_fax3.c g3states.h t4.h tif_fax3.h
  109. #g3states.h: mkg3states.c t4.h
  110. # $(CC) $(CFLAGS) mkg3states.c
  111. # mkg3states -c > g3states.h
  112. clean:
  113. del *.obj
  114. del mkg3stat
  115. del g3states.h
  116. tags: $(SRCS)
  117. $(CTAGS) $(SRCS)