Makefile.am.oldautomake 1.2 KB

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