| 1 |
# src/bin/pg_test_timing/Makefile |
| 2 |
|
| 3 |
PGFILEDESC = "pg_test_timing - test timing overhead" |
| 4 |
PGAPPICON = win32 |
| 5 |
|
| 6 |
subdir = src/bin/pg_test_timing |
| 7 |
top_builddir = ../../.. |
| 8 |
include $(top_builddir)/src/Makefile.global |
| 9 |
|
| 10 |
OBJS = \ |
| 11 |
$(WIN32RES) \ |
| 12 |
pg_test_timing.o |
| 13 |
|
| 14 |
all: pg_test_timing |
| 15 |
|
| 16 |
pg_test_timing: $(OBJS) | submake-libpgport |
| 17 |
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) |
| 18 |
|
| 19 |
install: all installdirs |
| 20 |
$(INSTALL_PROGRAM) pg_test_timing$(X) '$(DESTDIR)$(bindir)/pg_test_timing$(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_timing$(X)' |
| 33 |
|
| 34 |
clean distclean: |
| 35 |
rm -f pg_test_timing$(X) $(OBJS) |
| 36 |
rm -rf tmp_check |