summaryrefslogtreecommitdiff
path: root/apt-private/makefile
blob: 9b074f1897027b2a8285ab8b990d58d370cecdff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- make -*-
BASE=..
SUBDIR=apt-private

# Header location
HEADER_TARGETDIRS = apt-private

# Bring in the default rules
include ../buildlib/defaults.mak

# The library name and version (indirectly used from init.h)
include ../buildlib/libversion.mak

# The library name
LIBRARY=apt-private
MAJOR=0.0
MINOR=0
SLIBS=$(PTHREADLIB) -lapt-pkg

PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main progress
SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc)
HEADERS += $(foreach private, $(PRIVATES), private-$(private).h)

SOURCE+= acqprogress.cc
HEADERS+= acqprogress.h private-cacheset.h

HEADERS := $(addprefix apt-private/,$(HEADERS))
include $(LIBRARY_H)