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:
@ -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)
|
||||
|
Reference in New Issue
Block a user