File: Makefile

package info (click to toggle)
ocfs2-tools 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,232 kB
  • sloc: ansic: 86,865; sh: 5,781; python: 2,380; makefile: 1,305
file content (34 lines) | stat: -rw-r--r-- 609 bytes parent folder | download
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
TOPDIR = ..

include $(TOPDIR)/Preamble.make

sbindir = $(root_sbindir)
SBIN_PROGRAMS = defragfs.ocfs2

DEFINES += -DVERSION=\"$(VERSION)\"


INCLUDES = -I$(TOPDIR)/include -I./include
DEFINES = -DVERSION=\"$(VERSION)\"

CFILES = main.c record.c libdefrag.c
HFILES =	\
	include/libdefrag.h	\
	include/o2defrag.h	\
	include/record.h

OBJS = $(subst .c,.o,$(CFILES))


DIST_FILES = $(CFILES) $(HFILES) defragfs.ocfs2.8.in

DIST_RULES = dist-subdircreate
MANS = defragfs.ocfs2.8

defragfs.ocfs2: $(OBJS)
	$(LINK)

dist-subdircreate:
	$(TOPDIR)/mkinstalldirs $(DIST_DIR)/include

include $(TOPDIR)/Postamble.make