Debian Codegraph @

src/bin/pg_test_fsync/Makefile

raw
1 # src/bin/pg_test_fsync/Makefile
2
3 PGFILEDESC = "pg_test_fsync - test various disk sync methods"
4 PGAPPICON = win32
5
6 subdir = src/bin/pg_test_fsync
7 top_builddir = ../../..
8 include $(top_builddir)/src/Makefile.global
9
10 OBJS = \
11 $(WIN32RES) \
12 pg_test_fsync.o
13
14 all: pg_test_fsync
15
16 pg_test_fsync: $(OBJS) | submake-libpgport
17 $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
18
19 install: all installdirs
20 $(INSTALL_PROGRAM) pg_test_fsync$(X) '$(DESTDIR)$(bindir)/pg_test_fsync$(X)'
21
22 installdirs:
23 $(MKDIR_P) '$(DESTDIR)$(bindir)'
24
25 check:
26 $(prove_check)
27
28 installcheck:
29 $(prove_installcheck)
30
31 uninstall:
32 rm -f '$(DESTDIR)$(bindir)/pg_test_fsync$(X)'
33
34 clean distclean:
35 rm -f pg_test_fsync$(X) $(OBJS)
36 rm -rf tmp_check