forked from markfasheh/ocfs2-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Preamble.make
50 lines (38 loc) · 823 Bytes
/
Preamble.make
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ifeq ($(TOPDIR)/Config.make,$(wildcard $(TOPDIR)/Config.make))
include $(TOPDIR)/Config.make
else
.PHONY: dummy-notconfigured
dummy-notconfigured:
@echo "Please run the configure script first"
endif
LIBRARIES =
UNINST_LIBRARIES =
BIN_PROGRAMS =
SBIN_PROGRAMS =
UNINST_PROGRAMS =
MODULES =
HEADERS =
MANS =
HEADERS_SUBDIR =
INSTALL_RULES =
CLEAN_FILES =
CLEAN_RULES =
DIST_FILES =
DIST_RULES =
INCLUDES =
DEFINES =
CFLAGS += -pipe
# protect with configure?
CDEPFLAGS = -MD -MP -MF $(@D)/.$(basename $(@F)).d
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
VERSION_FILES =
VERSION_PREFIX =
VERSION_SRC =
DIST_TOPDIR = $(TOPDIR)/$(PACKAGE)-$(DIST_VERSION)
DIST_CURDIR = .
DIST_DIR = $(DIST_TOPDIR)/$(DIST_CURDIR)
GZIP_OPTS = --best
.PHONY: all strip install
all: all-rules
strip: strip-rules
install: install-rules