makefile 557 B

123456789101112131415161718192021222324252627
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=apt-inst
  4. # Header location
  5. SUBDIRS = contrib deb
  6. HEADER_TARGETDIRS = apt-pkg
  7. # Bring in the default rules
  8. include ../buildlib/defaults.mak
  9. # The library name and version (indirectly used from init.h)
  10. include ../buildlib/libversion.mak
  11. # The library name
  12. LIBRARY=apt-inst
  13. MAJOR=2.0
  14. MINOR=0
  15. SLIBS=$(PTHREADLIB) -lapt-pkg
  16. APT_DOMAIN:=libapt-inst$(MAJOR)
  17. LIBRARYDEPENDS=$(LIB)/libapt-pkg.so
  18. SOURCE = $(sort $(wildcard *.cc */*.cc))
  19. HEADERS = $(addprefix apt-pkg/,$(notdir $(sort $(wildcard *.h */*.h))))
  20. include $(LIBRARY_H)