mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
6ffeb34bef
Build shared modules properly Use separate dir for socket/pid
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
--- src/lang-common/Makefile.tmpl.orig Thu Aug 19 07:33:10 1999
|
|
+++ src/lang-common/Makefile.tmpl Sun Jan 28 10:41:37 2001
|
|
@@ -19,11 +19,18 @@
|
|
!object mod_msql.o mod_msql.c
|
|
|
|
!library_unix liblite.a symtab.c,types.c,code-gen.c,code-sim.c,extern.c,fcrypt.c,lib.c parser.o
|
|
+!slibrary_unix 1 liblite.so symtab.c,types.c,code-gen.c,code-sim.c,extern.c,fcrypt.c,lib.c parser.o
|
|
!dll_os2 lite symtab.c,types.c,code-sim.c,extern.c,fcrypt.c,lib.c,code-gen.c,parser.c ../regexp/libregexp.a
|
|
|
|
+!slibrary_unix 0 mod_std.so mod_std.c
|
|
+!slibrary_unix 0 mod_msql.so mod_msql.c
|
|
+
|
|
!libinstall liblite.a $(INST_DIR)/lib/liblite.a 744 $(ROOT)
|
|
-!install mod_std.o $(INST_DIR)/lib/mod_std.o 744 $(ROOT)
|
|
-!install mod_msql.o $(INST_DIR)/lib/mod_msql.o 744 $(ROOT)
|
|
+!slibinstall 1 liblite.so $(INST_DIR)/lib 744 $(ROOT)
|
|
+!install mod_std.o $(INST_DIR)/lib/msql/mod_std.o 744 $(ROOT)
|
|
+!install mod_msql.o $(INST_DIR)/lib/msql/mod_msql.o 744 $(ROOT)
|
|
+!install mod_std.so $(INST_DIR)/libexec/msql/mod_std.so 744 $(ROOT)
|
|
+!install mod_msql.so $(INST_DIR)/libexec/msql/mod_msql.so 744 $(ROOT)
|
|
!install mod_std.h $(INST_DIR)/include/mod_std.h 744 $(ROOT)
|
|
!install mod_msql.h $(INST_DIR)/include/mod_msql.h 744 $(ROOT)
|
|
!install lite.h $(INST_DIR)/include/lite.h 744 $(ROOT)
|