|
4 | 4 | # Makefile for pgeasy library |
5 | 5 | # |
6 | 6 | # IDENTIFICATION |
7 | | -# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile.in,v 1.1 1999/10/11 18:03:00 momjian Exp $ |
| 7 | +# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile.in,v 1.2 1999/10/11 18:16:06 momjian Exp $ |
8 | 8 | # |
9 | 9 | #------------------------------------------------------------------------- |
10 | 10 |
|
@@ -53,37 +53,3 @@ depend dep: |
53 | 53 | ifeq (depend,$(wildcard depend)) |
54 | 54 | include depend |
55 | 55 | endif |
56 | | - |
57 | | - |
58 | | - |
59 | | -PGEASY = pgeasy.o halt.o |
60 | | -TARGET = libpgeasy.a pginsert pgwordcount pgnulltest |
61 | | -CFLAGS = -g -Wall -I. -I../../src/interfaces/libpq -I/usr/local/pgsql/include |
62 | | -LDFLAGS = -L/usr/local/pgsql/lib -lpq |
63 | | - |
64 | | -all :$(TARGET) |
65 | | - |
66 | | -libpgeasy.a:pgeasy.o halt.o |
67 | | -ar r libpgeasy.a pgeasy.o halt.o |
68 | | - |
69 | | -pgeasy.o:pgeasy.c |
70 | | -gcc -c$(CFLAGS) pgeasy.c |
71 | | - |
72 | | -halt.o:halt.c |
73 | | -gcc -c$(CFLAGS) halt.c |
74 | | - |
75 | | -pginsert:$(PGEASY) pginsert.c |
76 | | -gcc -o$@$(CFLAGS)$@.c$(PGEASY)$(LDFLAGS) |
77 | | - |
78 | | -pgwordcount:$(PGEASY) pgwordcount.c |
79 | | -gcc -o$@$(CFLAGS)$@.c$(PGEASY)$(LDFLAGS) |
80 | | - |
81 | | -pgnulltest:$(PGEASY) pgnulltest.c |
82 | | -gcc -o$@$(CFLAGS)$@.c$(PGEASY)$(LDFLAGS) |
83 | | - |
84 | | -clean: |
85 | | -rm -f*.o$(TARGET) log core |
86 | | - |
87 | | -install: |
88 | | -install -s -o bin -g bin$(TARGET) /usr/local/pgsql/bin |
89 | | - |