X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f49d103adc47c5c34f4ca852605ee55710e486b9..08fcf9628806af202e555bd02b3611e4e9a3d757:/apt-private/makefile diff --git a/apt-private/makefile b/apt-private/makefile index 8feb1ce6c..1934db160 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 output cachefile cacheset update upgrade cmndline moo search show main -SOURCE += $(foreach private, $(PRIVATES), private-$(private).cc) -HEADERS += $(foreach private, $(PRIVATES), private-$(private).h) - -SOURCE+= acqprogress.cc -HEADERS+= acqprogress.h private-cacheset.h +SOURCE = $(sort $(wildcard *.cc)) +HEADERS = $(addprefix apt-private/,$(sort $(wildcard *.h))) -HEADERS := $(addprefix apt-private/,$(HEADERS)) include $(LIBRARY_H)