Makefile.am.oldautomake
author Ryan C. Gordon <icculus@icculus.org>
Wed, 03 Oct 2018 22:45:05 -0400
branchstable-1.0
changeset 1648 93b4c3bc6b9d
parent 965 fbea68e8c833
permissions -rw-r--r--
Fixed Win10's GetUserProfileDirectory() bug in stable-1.0 branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
298
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
lib_LTLIBRARIES = libphysfs.la
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
719
7b4677a8de6e Moved to zlib 1.2.3 proper.
Ryan C. Gordon <icculus@icculus.org>
parents: 712
diff changeset
     3
SUBDIRS = platform archivers zlib123 . test extras
298
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
libphysfsincludedir = $(includedir)
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
libphysfsinclude_HEADERS =	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
	physfs.h
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
libphysfs_la_SOURCES =	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
	physfs.c	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
	physfs_internal.h	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
	physfs_byteorder.c
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
if BUILD_ZLIB
719
7b4677a8de6e Moved to zlib 1.2.3 proper.
Ryan C. Gordon <icculus@icculus.org>
parents: 712
diff changeset
    15
ZLIB_LIB = zlib123/libz.la
298
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
else
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
ZLIB_LIB =
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
endif
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
libphysfs_la_LDFLAGS = 		\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
	-release $(LT_RELEASE)	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
libphysfs_la_LIBADD =	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    24
	archivers/libarchivers.la	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    25
	platform/libplatform.la	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    26
	$(ZLIB_LIB)
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    27
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
EXTRA_DIST =	\
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    29
	CREDITS \
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    30
	LICENSE \
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    31
	CHANGELOG \
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    32
	INSTALL \
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    33
	TODO \
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    34
	Doxyfile \
625
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    35
	PBProjects \
722
393b6bcd2ac8 Fixed "make dist".
Ryan C. Gordon <icculus@icculus.org>
parents: 719
diff changeset
    36
	CWProjects.sit \
489
a4a2b6a44a96 Added RPM spec.in version to EXTRA_DIST.
Ryan C. Gordon <icculus@icculus.org>
parents: 409
diff changeset
    37
	physfs.spec.in \
350
ec1e75681b4b Added physfs.spec to distribution.
Ryan C. Gordon <icculus@icculus.org>
parents: 304
diff changeset
    38
	physfs.spec \
298
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    39
	physfs.dsp \
625
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    40
	physfs_static.dsp \
409
3b9db2a124e4 Added platform/os2.c to build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 350
diff changeset
    41
	test_physfs.dsp \
625
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    42
	physfs.vcproj \
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    43
	test_physfs.vcproj \
613
fe8897da3695 Added zlib_license_change.txt to EXTRA_DIST.
Ryan C. Gordon <icculus@icculus.org>
parents: 602
diff changeset
    44
	zlib_license_change.txt \
409
3b9db2a124e4 Added platform/os2.c to build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 350
diff changeset
    45
	makeos2.cmd
298
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    46
c8bc73868cf9 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    47
dist-hook:
625
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    48
	perl -w -pi -e 'chomp; $$_ .= "\r\n";' $(distdir)/*.dsp $(distdir)/*.vcproj
303
Ryan C. Gordon <icculus@icculus.org>
parents: 298
diff changeset
    49
	mkdir $(distdir)/docs
Ryan C. Gordon <icculus@icculus.org>
parents: 298
diff changeset
    50
	echo "Docs are generated with the program "Doxygen" (http://www.doxygen.org/)," >> $(distdir)/docs/README
Ryan C. Gordon <icculus@icculus.org>
parents: 298
diff changeset
    51
	echo " or can be read online at http://icculus.org/physfs/docs/" >> $(distdir)/docs/README
Ryan C. Gordon <icculus@icculus.org>
parents: 298
diff changeset
    52
	echo >> $(distdir)/docs/README
625
60b5f566a258 Last minute changes, fixes, and build system updates for 1.0.
Ryan C. Gordon <icculus@icculus.org>
parents: 613
diff changeset
    53
	rm -rf `find $(distdir) -name "CVS" -type d`
726
69540307b476 Remove .svn dirs from release tarballs.
Ryan C. Gordon <icculus@icculus.org>
parents: 722
diff changeset
    54
	rm -rf `find $(distdir) -name ".svn" -type d`
965
fbea68e8c833 "make dist" removes Mercurial directory.
Ryan C. Gordon <icculus@icculus.org>
parents: 726
diff changeset
    55
	rm -rf $(distdir)/.hg