removed old libs
[TestXSLT.git] / libiconv / src / Makefile.os2
1 # Makefile for libiconv/src, OS2/EMX specific
2 #
3 #       requires EMX/GCC development environment and
4 #       GNU fileutils and GNU textutils installed
5 #
6
7 #### Start of system configuration section. ####
8
9 # Programs used by "make":
10 CC = gcc
11 CFLAGS = -O2 -Zmtd
12 INCLUDES = -I. -I../include
13
14 # Directories used by "make install":
15 prefix = @prefix@
16 exec_prefix = $(prefix)
17 bindir = $(exec_prefix)/bin
18
19 #### End of system configuration section. ####
20
21 srcdir = .
22
23 .SUFFIXES: .obj .o
24
25 all : iconv.exe
26
27 iconv.exe : iconv.c
28         $(CC) $(INCLUDES) -I../lib $(CFLAGS) iconv.c ../lib/iconv.a
29         copy ..\lib\iconv.dll iconv.dll
30
31 install : all force
32         cp -i iconv.exe $(bindir)/iconv.exe
33
34 uninstall : force
35         rm -f $(bindir)/iconv.exe
36
37 check : all
38
39 mostlyclean : clean
40
41 clean : force
42         rm -f *.obj *.dll *.exe core
43
44 distclean : clean
45         rm -f Makefile
46
47 maintainer-clean : distclean
48
49 force :