6 HEADER_TARGETDIRS = apt-private
8 # Bring in the default rules
9 include ../buildlib/defaults.mak
11 # The library name and version (indirectly used from init.h)
12 include ../buildlib/libversion.mak
18 SLIBS=$(PTHREADLIB) -lapt-pkg
19 CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
21 PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils sources
22 SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc)
23 HEADERS += $(foreach private, $(PRIVATES), private-$(private).h)
25 SOURCE+= acqprogress.cc
26 HEADERS+= acqprogress.h private-cacheset.h
28 HEADERS := $(addprefix apt-private/,$(HEADERS))