-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 803 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##############################
# The MIT License (MIT) #
# #
# Copyright (c) 2014 gsick #
##############################
##### Build defaults #####
LUA_VERSION = 5.1
TARGET = openam.lua
PREFIX ?= /usr/local
INSTALL ?= install
LUA_INCLUDE_DIR = $(PREFIX)/include
LUA_CMODULE_DIR = $(PREFIX)/lib64/lua/$(LUA_VERSION)
LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION)
LUA_BIN_DIR = $(PREFIX)/bin
EXECPERM = 755
all: ;
doc: README.md
install:
$(INSTALL) -d $(DESTDIR)/$(LUA_MODULE_DIR)/openam
$(INSTALL) lib/openam/$(TARGET) $(DESTDIR)/$(LUA_MODULE_DIR)/openam
# chmod $(EXECPERM) $(DESTDIR)/$(LUA_MODULE_DIR)/openam/$(TARGET)
clean:
rm -rf $(DESTDIR)/$(LUA_MODULE_DIR)/openam