| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | LLVMLIB := $(shell llvm-config --libdir) |
| 4 | LLVMINC := $(shell llvm-config --includedir) |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- LIBS="-L$(LLVMLIB) -lclang" INC="-I$(LLVMINC)" |
| 13 | |
| 14 | override_dh_auto_build: |
| 15 | dh_auto_build |
| 16 | chrpath -d $(CURDIR)/blib/arch/auto/Clang/Clang.so |