Makefile.am.oldautomake 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. lib_LTLIBRARIES = libphysfs.la
  2. SUBDIRS = platform archivers zlib123 . test extras
  3. libphysfsincludedir = $(includedir)
  4. libphysfsinclude_HEADERS = \
  5. physfs.h
  6. libphysfs_la_SOURCES = \
  7. physfs.c \
  8. physfs_internal.h \
  9. physfs_byteorder.c
  10. if BUILD_ZLIB
  11. ZLIB_LIB = zlib123/libz.la
  12. else
  13. ZLIB_LIB =
  14. endif
  15. libphysfs_la_LDFLAGS = \
  16. -release $(LT_RELEASE) \
  17. -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
  18. libphysfs_la_LIBADD = \
  19. archivers/libarchivers.la \
  20. platform/libplatform.la \
  21. $(ZLIB_LIB)
  22. EXTRA_DIST = \
  23. CREDITS \
  24. LICENSE \
  25. CHANGELOG \
  26. INSTALL \
  27. TODO \
  28. Doxyfile \
  29. PBProjects \
  30. CWProjects.sit \
  31. physfsMPW.make \
  32. physfs.spec.in \
  33. physfs.spec \
  34. physfs.dsp \
  35. physfs_static.dsp \
  36. test_physfs.dsp \
  37. physfs.vcproj \
  38. test_physfs.vcproj \
  39. zlib_license_change.txt \
  40. makeos2.cmd
  41. dist-hook:
  42. perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
  43. mkdir $(distdir)/docs
  44. echo "Docs are generated with the program "Doxygen" (http://www.doxygen.org/)," >> $(distdir)/docs/README
  45. echo " or can be read online at http://icculus.org/physfs/docs/" >> $(distdir)/docs/README
  46. echo >> $(distdir)/docs/README
  47. rm -rf `find $(distdir) -name "CVS" -type d`
  48. rm -rf `find $(distdir) -name ".svn" -type d`