2002-07-18 06:13:59 +02:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for the port-specific subsystem of the backend
|
|
|
|
#
|
|
|
|
# These files are used in other directories for portability on systems
|
|
|
|
# with broken/missing library files.
|
|
|
|
|
|
|
|
# IDENTIFICATION
|
2003-08-13 05:12:04 +02:00
|
|
|
# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.6 2003/08/13 03:12:04 momjian Exp $
|
2002-07-18 06:13:59 +02:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
subdir = src/port
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
2002-07-27 22:10:05 +02:00
|
|
|
ifdef LIBOBJS
|
|
|
|
all: libpgport.a
|
|
|
|
endif
|
2002-07-18 06:13:59 +02:00
|
|
|
|
2002-07-27 22:10:05 +02:00
|
|
|
libpgport.a: $(LIBOBJS)
|
|
|
|
$(AR) crs $@ $^
|
|
|
|
|
2003-06-14 16:35:42 +02:00
|
|
|
thread.o: thread.c
|
2003-08-13 05:12:04 +02:00
|
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c $<
|
2003-06-14 16:35:42 +02:00
|
|
|
|
2002-07-27 22:10:05 +02:00
|
|
|
clean distclean maintainer-clean:
|
|
|
|
rm -f libpgport.a $(LIBOBJS)
|