makefile 726 B

1234567891011121314151617181920212223242526272829
  1. # -*- make -*-
  2. BASE=..
  3. SUBDIR=apt-private
  4. # Header location
  5. HEADER_TARGETDIRS = apt-private
  6. # Bring in the default rules
  7. include ../buildlib/defaults.mak
  8. # The library name and version (indirectly used from init.h)
  9. include ../buildlib/libversion.mak
  10. # The library name
  11. LIBRARY=apt-private
  12. MAJOR=0.0
  13. MINOR=0
  14. SLIBS=$(PTHREADLIB) -lapt-pkg
  15. PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils sources
  16. SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc)
  17. HEADERS += $(foreach private, $(PRIVATES), private-$(private).h)
  18. SOURCE+= acqprogress.cc
  19. HEADERS+= acqprogress.h private-cacheset.h
  20. HEADERS := $(addprefix apt-private/,$(HEADERS))
  21. include $(LIBRARY_H)