makefile 978 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=libdsync
  4. # Header location
  5. SUBDIRS = contrib
  6. HEADER_TARGETDIRS = dsync
  7. # Bring in the default rules
  8. include ../buildlib/defaults.mak
  9. # The library name
  10. LIBRARY=dsync
  11. MAJOR=0.0
  12. MINOR=0
  13. SLIBS=$(PTHREADLIB)
  14. # Source code for the contributed non-core things
  15. SOURCE = contrib/error.cc contrib/fileutl.cc contrib/strutl.cc \
  16. contrib/configuration.cc contrib/cmndline.cc \
  17. contrib/md5.cc contrib/md4.cc contrib/mmap.cc contrib/bitmap.cc \
  18. contrib/slidingwindow.cc
  19. # Source code for the main library
  20. SOURCE+= filefilter.cc genfilelist.cc filelist.cc filelistdb.cc compare.cc \
  21. rsync-algo.cc
  22. # Public header files
  23. HEADERS = error.h configuration.h cmndline.h md5.h md4.h fileutl.h mmap.h \
  24. filefilter.h genfilelist.h filelist.h filelistdb.h compare.h \
  25. strutl.h bitmap.h slidingwindow.h rsync-algo.h
  26. HEADERS := $(addprefix dsync/,$(HEADERS))
  27. # Private header files
  28. HEADERS+= system.h
  29. include $(LIBRARY_H)