forked from libsdl-org/SDL_net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
53 lines (43 loc) · 1.03 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Makefile.am for the SDL sample image loading library and viewer
lib_LTLIBRARIES = libSDL_net.la
libSDL_netincludedir = $(includedir)/SDL
libSDL_netinclude_HEADERS = \
SDL_net.h
libSDL_net_la_SOURCES = \
SDLnet.c \
SDLnetTCP.c \
SDLnetUDP.c \
SDLnetselect.c \
SDLnetsys.h
EXTRA_DIST = \
CHANGES \
VisualC.zip \
Xcode.tar.gz \
MPWmake.sea.bin \
quit.bmp \
scroll_dn.bmp \
scroll_up.bmp \
SDL_net.spec \
SDL_net.spec.in \
gcc-fat.sh \
autogen.sh
libSDL_net_la_LIBADD = @INETLIB@
libSDL_net_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
if HAVE_GUI_LIB
EXAMPLES = chat chatd
else
EXAMPLES =
endif
noinst_PROGRAMS = $(EXAMPLES)
chat_SOURCES = chat.cpp chat.h
chat_LDADD = libSDL_net.la -lGUI
chatd_SOURCES = chatd.c
chatd_LDADD = libSDL_net.la
# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: distcheck
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
rpm -ta $(PACKAGE)-$(VERSION).tar.gz