📄 makefile
字号:
#-------------------------------------------------------------------------## Makefile--# Makefile for the port-specific subsystem of the backend## We have two different modes of operation: 1) put stuff specific to Port X# in subdirectory X and have that subdirectory's make file make it all, and # 2) use conditional statements in the present make file to include what's# necessary for a specific port in our own output. (1) came first, but (2)# is superior for many things, like when the same thing needs to be done for# multiple ports and you don't want to duplicate files in multiple # subdirectories. Much of the stuff done via Method 1 today should probably# be converted to Method 2. ## IDENTIFICATION# $Header: /cvsroot/pgsql/src/backend/port/Makefile,v 1.19 2003/05/15 16:35:29 momjian Exp $##-------------------------------------------------------------------------subdir = src/backend/porttop_builddir = ../../..include $(top_builddir)/src/Makefile.globalOBJS+=dynloader.o pg_sema.o pg_shmem.oOBJS+=$(TAS)ifeq ($(PORTNAME), qnx4)OBJS+=qnx4/SUBSYS.oendififeq ($(PORTNAME), beos)OBJS+=beos/SUBSYS.oendififeq ($(PORTNAME), darwin)OBJS+=darwin/SUBSYS.oendififeq ($(PORTNAME), win32)OBJS+=win32/SUBSYS.oendifall: SUBSYS.oSUBSYS.o: $(OBJS) $(LD) $(LDREL) $(LDOUT) $@ $^qnx4/SUBSYS.o: qnx4.dirqnx4.dir: $(MAKE) -C qnx4 allbeos/SUBSYS.o: beos.dirbeos.dir: $(MAKE) -C beos alldarwin/SUBSYS.o: darwin.dirdarwin.dir: $(MAKE) -C darwin allwin32/SUBSYS.o: win32.dirwin32.dir: $(MAKE) -C win32 alltas.o: tas.s $(CC) $(CFLAGS) -c $<# IPC test programipc_test: ipc_test.o pg_sema.o pg_shmem.o $(CC) $(CFLAGS) $(LDFLAGS) $(export_dynamic) $^ $(LIBS) -o $@distclean clean: rm -f SUBSYS.o $(OBJS) ipc_test ipc_test.o $(MAKE) -C beos clean $(MAKE) -C darwin clean $(MAKE) -C qnx4 clean $(MAKE) -C win32 clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -