diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-09 06:22:35 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-09 06:22:35 +0000 |
commit | d31084e9d1118b25fd16580d9d8c2924b5740dff (patch) | |
tree | 3179e66307d54df9c7b966543550e601eb55e668 /src/mk/port/postgres.mk.sparc | |
download | postgresql-PG95-1_01.tar.gz postgresql-PG95-1_01.zip |
Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01
Diffstat (limited to 'src/mk/port/postgres.mk.sparc')
-rw-r--r-- | src/mk/port/postgres.mk.sparc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mk/port/postgres.mk.sparc b/src/mk/port/postgres.mk.sparc new file mode 100644 index 00000000000..2b9cd788a04 --- /dev/null +++ b/src/mk/port/postgres.mk.sparc @@ -0,0 +1,38 @@ +#------------------------------------------------------------------------- +# +# postgres.mk.sparc-- +# SUN SPARC/SunOS 4.x specific rules and variables +# +# Copyright (c) 1994-5, Regents of the University of California +# +# $Id: postgres.mk.sparc,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $ +# +#------------------------------------------------------------------------- +ifndef MK_PORT +MK_PORT= sparc + +# cc won't work! +CC= gcc + +# the ar on SunOs is dumb, can't use the s option +AROPT= cq + +INSTALL= /usr/bin/install +RANLIB= /usr/bin/ranlib + +# +# for postgres.user.mk +# +ifeq ($(CC), cc) +CFLAGS_SL= -PIC +else +CFLAGS_SL= -fPIC +endif + +SLSUFF= .so + +%.so: %.o + $(LD) -dc -dp -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F) + + +endif |