summaryrefslogtreecommitdiff
path: root/apt-private/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private/makefile')
-rw-r--r--apt-private/makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/apt-private/makefile b/apt-private/makefile
new file mode 100644
index 000000000..8feb1ce6c
--- /dev/null
+++ b/apt-private/makefile
@@ -0,0 +1,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 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
+
+HEADERS := $(addprefix apt-private/,$(HEADERS))
+include $(LIBRARY_H)