postgresql/src/port/Makefile

30 lines
750 B
Makefile
Raw Normal View History

#-------------------------------------------------------------------------
#
# 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-08 04:55:08 +02:00
# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.5 2003/08/08 02:55:08 momjian Exp $
#
#-------------------------------------------------------------------------
subdir = src/port
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
ifdef LIBOBJS
all: libpgport.a
endif
libpgport.a: $(LIBOBJS)
$(AR) crs $@ $^
thread.o: thread.c
2003-08-08 04:55:08 +02:00
$(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
clean distclean maintainer-clean:
rm -f libpgport.a $(LIBOBJS)