]> granicus.if.org Git - postgresql/blob - src/bin/pg_encoding/Makefile
I really hope that I haven't missed anything in this one...
[postgresql] / src / bin / pg_encoding / Makefile
1 #-------------------------------------------------------------------------
2 #
3 #    Makefile for bin/pg_encoding
4 #
5 # Copyright (c) 1998, PostgreSQL development group
6 #
7 #
8 # IDENTIFICATION
9 #    $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.1 1998/07/24 03:32:10 scrappy Exp $
10 #
11 #-------------------------------------------------------------------------
12
13 SRCDIR= ../..
14 include ../../Makefile.global
15
16 OBJS= pg_encoding.o
17
18 CFLAGS+= -DMB=$(MB) -I$(SRCDIR)/include
19
20 all: pg_encoding
21
22 pg_encoding: $(OBJS) $(LIBPQDIR)/libpq.a
23         $(CC) -o pg_encoding $(OBJS) -L$(LIBPQDIR) -lpq $(LDFLAGS)
24
25 install: pg_encoding
26         $(INSTALL) $(INSTL_EXE_OPTS) pg_encoding $(BINDIR)/pg_encoding
27
28 depend dep:
29         $(CC) -MM $(CFLAGS) *.c >depend
30
31 clean: 
32         rm -f pg_encoding pg_encoding.o
33
34 ifeq (depend,$(wildcard depend))
35 include depend
36 endif