]> git.saurik.com Git - apt.git/blame - apt-private/makefile
enable fvisibility=hidden for our private library
[apt.git] / apt-private / makefile
CommitLineData
b9179170
MV
1# -*- make -*-
2BASE=..
3SUBDIR=apt-private
4
5# Header location
6HEADER_TARGETDIRS = apt-private
7
8# Bring in the default rules
9include ../buildlib/defaults.mak
10
11# The library name and version (indirectly used from init.h)
12include ../buildlib/libversion.mak
13
14# The library name
15LIBRARY=apt-private
16MAJOR=0.0
17MINOR=0
18SLIBS=$(PTHREADLIB) -lapt-pkg
63ff4208 19CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
b9179170 20
9e6b13f3 21PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils sources
b9179170
MV
22SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc)
23HEADERS += $(foreach private, $(PRIVATES), private-$(private).h)
24
25SOURCE+= acqprogress.cc
26HEADERS+= acqprogress.h private-cacheset.h
27
28HEADERS := $(addprefix apt-private/,$(HEADERS))
29include $(LIBRARY_H)