mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 07:20:33 +00:00
Makefile: rename to PKGCFCGDIR to PKGCFGDIR. patch by Pancake
This commit is contained in:
parent
e3606d90a2
commit
9b4b377433
8
Makefile
8
Makefile
@ -197,7 +197,7 @@ LIBOBJ += $(LIBOBJ_ARM) $(LIBOBJ_ARM64) $(LIBOBJ_MIPS) $(LIBOBJ_PPC) $(LIBOBJ_SP
|
|||||||
LIBOBJ += MCInst.o
|
LIBOBJ += MCInst.o
|
||||||
|
|
||||||
|
|
||||||
PKGCFCGDIR = $(LIBDATADIR)/pkgconfig
|
PKGCFGDIR = $(LIBDATADIR)/pkgconfig
|
||||||
API_MAJOR=$(shell echo `grep -e CS_API_MAJOR include/capstone.h | grep -v = | awk '{print $$3}'` | awk '{print $$1}')
|
API_MAJOR=$(shell echo `grep -e CS_API_MAJOR include/capstone.h | grep -v = | awk '{print $$3}'` | awk '{print $$1}')
|
||||||
VERSION_EXT =
|
VERSION_EXT =
|
||||||
|
|
||||||
@ -298,13 +298,13 @@ endif
|
|||||||
$(INSTALL_DATA) lib$(LIBNAME).$(AR_EXT) $(LIBDIR)
|
$(INSTALL_DATA) lib$(LIBNAME).$(AR_EXT) $(LIBDIR)
|
||||||
mkdir -p $(INCDIR)/$(LIBNAME)
|
mkdir -p $(INCDIR)/$(LIBNAME)
|
||||||
$(INSTALL_DATA) include/*.h $(INCDIR)/$(LIBNAME)
|
$(INSTALL_DATA) include/*.h $(INCDIR)/$(LIBNAME)
|
||||||
mkdir -p $(PKGCFCGDIR)
|
mkdir -p $(PKGCFGDIR)
|
||||||
$(INSTALL_DATA) $(PKGCFGF) $(PKGCFCGDIR)/
|
$(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR)/
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(INCDIR)/$(LIBNAME)
|
rm -rf $(INCDIR)/$(LIBNAME)
|
||||||
rm -f $(LIBDIR)/lib$(LIBNAME).*
|
rm -f $(LIBDIR)/lib$(LIBNAME).*
|
||||||
rm -f $(PKGCFCGDIR)/$(LIBNAME).pc
|
rm -f $(PKGCFGDIR)/$(LIBNAME).pc
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(LIBOBJ) lib$(LIBNAME).*
|
rm -f $(LIBOBJ) lib$(LIBNAME).*
|
||||||
|
Loading…
Reference in New Issue
Block a user