Merge branch 'debian/sid' into feature/more-fancy-progress
[ntk/apt.git] / apt-private / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=apt-private
4
5 # Header location
6 HEADER_TARGETDIRS = apt-private
7
8 # Bring in the default rules
9 include ../buildlib/defaults.mak
10
11 # The library name and version (indirectly used from init.h)
12 include ../buildlib/libversion.mak
13
14 # The library name
15 LIBRARY=apt-private
16 MAJOR=0.0
17 MINOR=0
18 SLIBS=$(PTHREADLIB) -lapt-pkg
19 CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
20
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)
24
25 SOURCE+= acqprogress.cc
26 HEADERS+= acqprogress.h private-cacheset.h
27
28 HEADERS := $(addprefix apt-private/,$(HEADERS))
29 include $(LIBRARY_H)