]> git.saurik.com Git - apt.git/blame - apt-inst/makefile
Sort the list of sources to be built and linked
[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
a72d66d1
MV
12# The library name and version (indirectly used from init.h)
13include ../buildlib/libversion.mak
14
b2e465d6
AL
15# The library name
16LIBRARY=apt-inst
17a2487f 17MAJOR=2.0
b2e465d6 18MINOR=0
87b192a0 19SLIBS=$(PTHREADLIB) -lapt-pkg
05eb7df0 20APT_DOMAIN:=libapt-inst$(MAJOR)
564fcbf9 21LIBRARYDEPENDS=$(LIB)/libapt-pkg.so
b2e465d6 22
831ea74c
MR
23SOURCE = $(sort $(wildcard *.cc */*.cc))
24HEADERS = $(addprefix apt-pkg/,$(notdir $(sort $(wildcard *.h */*.h))))
b2e465d6 25
b2e465d6 26include $(LIBRARY_H)