summaryrefslogtreecommitdiff
path: root/app/xlockmore/Makefile.win32
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:09:41 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:09:41 +0000
commit95c2d1cbda23a41cdf6e63520c7f0b825e63dd5b (patch)
tree06d3ffa4312e568c4157f69fe1bddaddec9bc497 /app/xlockmore/Makefile.win32
parent3928433848e2d6a9356f3d438a14b32a4f87f660 (diff)
Importing xlockmore 5.22
Diffstat (limited to 'app/xlockmore/Makefile.win32')
-rw-r--r--app/xlockmore/Makefile.win3233
1 files changed, 33 insertions, 0 deletions
diff --git a/app/xlockmore/Makefile.win32 b/app/xlockmore/Makefile.win32
new file mode 100644
index 000000000..b744c4bd2
--- /dev/null
+++ b/app/xlockmore/Makefile.win32
@@ -0,0 +1,33 @@
+# build applications
+CC=gcc
+MAKE=make
+
+# compiler flags
+CFLAGS=-DWIN32 -O2 -mno-cygwin -mwindows
+
+# Include & Library directories
+WIN32API=/usr/include/w32api
+INCS=-I$(WIN32API)
+LIBS=-L/usr/lib/w32api -lscrnsave -lcrypt
+PROG=xlock95.scr
+
+# specific rules
+all: $(PROG)
+
+$(PROG): xlock modes win32
+ (cd xlock ; $(MAKE) -f Makefile.win32 )
+ (cd modes ; $(MAKE) -f Makefile.win32 )
+ (cd win32 ; $(MAKE) -f Makefile.win32 )
+ $(CC) $(CFLAGS) -o $@ xlock/*.o modes/*.o win32/*.o $(LIBS)
+
+clean:
+ (cd xlock ; $(MAKE) -f Makefile.win32 clean )
+ (cd modes ; $(MAKE) -f Makefile.win32 clean )
+ (cd win32 ; $(MAKE) -f Makefile.win32 clean )
+ rm -f *.scr core *~ *% *.bak *.rej *.orig *.patch *.pure
+
+install: all
+ cp -p $(PROG) `cygpath -W`
+
+uninstall:
+ rm -f `cygpath -W`/$(PROG)