]> granicus.if.org Git - postgresql/blob - src/port/Makefile
653f5b3b833b0be4ba1c55f27281be527e3274a8
[postgresql] / src / port / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for the port-specific subsystem of the backend
5 #
6 # These files are used in other directories for portability on systems
7 # with broken/missing library files.
8
9 # IDENTIFICATION
10 #    $Header: /cvsroot/pgsql/src/port/Makefile,v 1.5 2003/08/08 02:55:08 momjian Exp $
11 #
12 #-------------------------------------------------------------------------
13
14 subdir = src/port
15 top_builddir = ../..
16 include $(top_builddir)/src/Makefile.global
17
18 ifdef LIBOBJS
19 all: libpgport.a
20 endif
21
22 libpgport.a: $(LIBOBJS)
23         $(AR) crs $@ $^
24
25 thread.o: thread.c
26         $(CC) $(CFLAGS) $(CPPFLAGS) $(THREAD_CFLAGS) -c thread.c
27
28 clean distclean maintainer-clean:
29         rm -f libpgport.a $(LIBOBJS)