X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/cfacba5230f2e6bb88a1949505843ac22ed342d5..6763aaec8ddded31057733f53c63f15e6b949bd9:/apt-private/makefile?ds=sidebyside diff --git a/apt-private/makefile b/apt-private/makefile index b3d764097..9a3fbdb29 100644 --- a/apt-private/makefile +++ b/apt-private/makefile @@ -8,21 +8,14 @@ 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 +CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden -PRIVATES=list install download output cachefile cacheset update upgrade cmndline moo search show main utils -SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc) -HEADERS += $(foreach private, $(PRIVATES), private-$(private).h) - -SOURCE+= acqprogress.cc -HEADERS+= acqprogress.h private-cacheset.h +SOURCE = $(wildcard *.cc) +HEADERS = $(addprefix apt-private/,$(wildcard *.h)) -HEADERS := $(addprefix apt-private/,$(HEADERS)) include $(LIBRARY_H)