]> git.saurik.com Git - apt.git/blame - apt-inst/makefile
print an error if a new state file can't be created in apt-mark,
[apt.git] / apt-inst / makefile
CommitLineData
b2e465d6
AL
1# -*- make -*-
2BASE=..
3SUBDIR=apt-inst
4
5# Header location
6SUBDIRS = contrib deb
7HEADER_TARGETDIRS = apt-pkg
8
9# Bring in the default rules
10include ../buildlib/defaults.mak
11
12# The library name
13LIBRARY=apt-inst
10c9f030 14MAJOR=1.2
b2e465d6 15MINOR=0
87b192a0 16SLIBS=$(PTHREADLIB) -lapt-pkg
05eb7df0 17APT_DOMAIN:=libapt-inst$(MAJOR)
b2e465d6
AL
18
19# Source code for the contributed non-core things
20SOURCE = contrib/extracttar.cc contrib/arfile.cc
21
22# Source code for the main library
23SOURCE+= filelist.cc database.cc dirstream.cc extract.cc \
24 deb/dpkgdb.cc deb/debfile.cc
25
26# Public header files
27HEADERS = extracttar.h arfile.h filelist.h database.h extract.h \
28 dpkgdb.h dirstream.h debfile.h
29
30HEADERS := $(addprefix apt-pkg/,$(HEADERS))
31include $(LIBRARY_H)