|
|
1.1 root 1: # GNUmakefile
2:
3: #########################################################################
4: # Makefile for Synchronet User Editor for Unix #
5: # For use with GNU make and GNU C Compiler or Borland Kylix C++ #
6: # @format.tab-size 4, @format.use-tabs true #
7: # #
8: # gcc: gmake #
9: # Borland (still in testing/debuging stage): gmake bcc=1 #
10: # #
11: # Optional build targets: dlls, utils, mono, all (default) #
12: #########################################################################
13:
14: # $Id: GNUmakefile,v 1.9 2004/09/13 23:07:25 deuce Exp $
15:
16: SRC_ROOT = ../..
17: include $(SRC_ROOT)/build/Common.gmake
18:
19: ifeq ($(os),sunos)
20: LDFLAGS += -lnsl
21: endif
22:
23: vpath %.c ..
24:
25: CFLAGS += -I.. $(SMBLIB_CFLAGS) $(UIFC-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) $(XPDEV-MT_CFLAGS)
26: LDFLAGS += $(SMBLIB_LDFLAGS) $(UIFC-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(MT_LDFLAGS)
27:
28: $(UEDIT): $(OBJS)
29: @echo Linking $@
30: ${QUIET}$(CC) $(LDFLAGS) $(OBJS) -o $@ $(SMBLIB_LIBS) $(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.