mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Fix some makefiles that fail to yield good results from 'make -qp'.
This doesn't really matter for ordinary building of Postgres, but it's useful for automated checks, such as my just-committed pgcheckdefines.
This commit is contained in:
@@ -12,6 +12,8 @@ subdir = src/bin/pgevent
|
||||
top_builddir = ../../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
ifeq ($(PORTNAME), win32)
|
||||
|
||||
OBJS=pgevent.o pgmsgevent.o
|
||||
NAME=pgevent.dll
|
||||
|
||||
@@ -21,7 +23,7 @@ install: all install-lib
|
||||
|
||||
pgevent.dll: $(OBJS) pgevent.def
|
||||
dllwrap --def pgevent.def -o $(NAME) $(OBJS)
|
||||
|
||||
|
||||
pgmsgevent.o: pgmsgevent.rc win32ver.rc
|
||||
windres pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
|
||||
|
||||
@@ -38,3 +40,5 @@ clean distclean:
|
||||
|
||||
clean-lib:
|
||||
rm -f $(NAME)
|
||||
|
||||
endif
|
||||
|
Reference in New Issue
Block a user