| 1 | # -*- make -*- |
| 2 | BASE=.. |
| 3 | SUBDIR=apt-inst |
| 4 | |
| 5 | # Header location |
| 6 | SUBDIRS = contrib deb |
| 7 | HEADER_TARGETDIRS = apt-pkg |
| 8 | |
| 9 | # Bring in the default rules |
| 10 | include ../buildlib/defaults.mak |
| 11 | |
| 12 | # The library name and version (indirectly used from init.h) |
| 13 | include ../buildlib/libversion.mak |
| 14 | |
| 15 | # The library name |
| 16 | LIBRARY=apt-inst |
| 17 | MAJOR=2.0 |
| 18 | MINOR=0 |
| 19 | SLIBS=$(PTHREADLIB) -lapt-pkg |
| 20 | APT_DOMAIN:=libapt-inst$(MAJOR) |
| 21 | LIBRARYDEPENDS=$(LIB)/libapt-pkg.so |
| 22 | |
| 23 | SOURCE = $(sort $(wildcard *.cc */*.cc)) |
| 24 | HEADERS = $(addprefix apt-pkg/,$(notdir $(sort $(wildcard *.h */*.h)))) |
| 25 | |
| 26 | include $(LIBRARY_H) |