1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

This commit represents a clean compile with the new templates under

FreeBSD

The Makefile(s) have all been cleaned up such that there is a single
LDFLAGS vs LD_ADD or LDADD or LDFLAGS or LDFLAGS_BE.  The Makefile(s)
should be alot more straightforward then they were before...and
consistent
This commit is contained in:
Marc G. Fournier
1997-04-04 10:43:16 +00:00
parent e292a9d627
commit c7b40e6058
21 changed files with 228 additions and 261 deletions

View File

@ -7,13 +7,13 @@ include ../../Makefile.global
CFLAGS+= -I$(LIBPQDIR)
LD_ADD+= -L$(LIBPQDIR) -lpq
LDFLAGS+= -L$(LIBPQDIR) -lpq
#
# And where libpq goes, so goes the authentication stuff...
#
ifdef KRBVERS
LD_ADD+= $(KRBLIBS)
LDFLAGS+= $(KRBLIBS)
CFLAGS+= $(KRBFLAGS)
endif
@ -22,7 +22,7 @@ PROGS= testlibpq0 testlibpq1 testlibpq2 testlibpq3 testlibpq4 testlo
all: $(PROGS)
$(PROGS): % : %.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(LD_ADD)
$(CC) $(CFLAGS) -o $@ $@.c $(LDFLAGS)
clean:
rm -f $(PROGS)