correct some style/performance/warnings from cppcheck
[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
20 PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils sources
21 SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc)
22 HEADERS += $(foreach private, $(PRIVATES), private-$(private).h)
23
24 SOURCE+= acqprogress.cc
25 HEADERS+= acqprogress.h private-cacheset.h
26
27 HEADERS := $(addprefix apt-private/,$(HEADERS))
28 include $(LIBRARY_H)