X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Finclude%2FMakefile.in;h=f4c30613a808d602101cdb15020f981957cb3189;hb=31e09b642b8a7972c9103cef57fbd01227fbe3cb;hp=52cde817b07fdc0c67a8b4dc8f93eb8a99463ec8;hpb=72cf40557bdf2e62a452a851d2ba115149b57ba3;p=fw%2Fsdcc diff --git a/device/include/Makefile.in b/device/include/Makefile.in index 52cde817..f4c30613 100644 --- a/device/include/Makefile.in +++ b/device/include/Makefile.in @@ -19,7 +19,6 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ datadir = @datadir@ -sdcc_datadir = @sdcc_datadir@ includedir = @includedir@ mandir = @mandir@ man1dir = $(mandir)/man1 @@ -27,6 +26,10 @@ man2dir = $(mandir)/man2 infodir = @infodir@ srcdir = @srcdir@ +include_dir_suffix = @include_dir_suffix@ + +sdcc_includedir = $(datadir)/$(include_dir_suffix) + CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) @@ -37,13 +40,13 @@ all: # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(CP) -r asm *.h $(sdcc_datadir)/include/ + $(CP) -r asm *.h $(sdcc_includedir) # Deleting all the installed files # -------------------------------- uninstall: - rm -rf $(sdcc_datadir)/include + rm -rf $(sdcc_includedir) # Performing self-test @@ -59,7 +62,7 @@ installcheck: # Creating installation directories # --------------------------------- installdirs: - [ -d $(sdcc_datadir)/include ] || mkdir -p $(sdcc_datadir)/include + [ -d $(sdcc_includedir) ] || mkdir -p $(sdcc_includedir) # Creating dependencies