|
|
1.1 root 1: # GNUmakefile
2:
3: #########################################################################
4: # Makefile for SBBSINST #
5: # For use with GNU make and GNU C Compiler #
6: # @format.tab-size 4, @format.use-tabs true #
7: # #
8: # Linux: gmake #
9: # FreeBSD: gmake os=FreeBSD #
10: # #
11: # Optional build targets: dlls, utils, mono, all (default) #
12: #########################################################################
13:
14: # $Id: GNUmakefile,v 1.18 2006/01/11 02:16:26 deuce Exp $
15:
16: SRC_ROOT = ../..
17: include $(SRC_ROOT)/build/Common.gmake
18:
19: CFLAGS += -I../
20:
21: ifdef STATIC
22: LDFLAGS += -static
23: endif
24:
25: ifeq ($(os),sunos)
26: LDFLAGS += -lnsl
27: endif
28:
29: CFLAGS += $(UIFC-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) $(XPDEV-MT_CFLAGS) $(SMBLIB_CFLAGS)
30: LDFLAGS += $(UIFC-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(SMBLIB_LDFLAGS)
31:
32: $(SBBSINST): $(OBJS)
33: $(QUIET)echo Linking $@
34: $(QUIET)$(CC) -o $@ $(MT_LDFLAGS) $(OBJS) $(LDFLAGS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.